| DMOBRIEN 381 posts
 msg #161908
 - Ignore DMOBRIEN
 | 7/27/2025 12:17:18 AM 
 /* Triple 2-Pole Oscillator - Fast, Medium, Long versions */
 
 /* FAST VERSION (7 periods) - Sensitive to short-term moves */
 set{ma7, CMA(close, 7)}
 set{dev_fast, close - ma7}
 set{smooth1_fast, CMA(dev_fast, 7)}
 set{osc_fast_raw, CMA(smooth1_fast, 7)}
 set{osc_fast_scaled, osc_fast_raw * 100}
 set{osc_fast, CMA(osc_fast_scaled, 2)}
 
 /* MEDIUM VERSION (14 periods) - Original balanced version */
 set{ma14, CMA(close, 14)}
 set{dev_med, close - ma14}
 set{smooth1_med, CMA(dev_med, 14)}
 set{osc_med_raw, CMA(smooth1_med, 14)}
 set{osc_med_scaled, osc_med_raw * 100}
 set{osc_med, CMA(osc_med_scaled, 3)}
 
 /* LONG VERSION (21 periods) - Focuses on major trends */
 set{ma21, CMA(close, 21)}
 set{dev_long, close - ma21}
 set{smooth1_long, CMA(dev_long, 21)}
 set{osc_long_raw, CMA(smooth1_long, 21)}
 set{osc_long_scaled, osc_long_raw * 100}
 set{osc_long, CMA(osc_long_scaled, 4)}
 
 /* Signal levels for each timeframe */
 set{fast_upper, 3}
 set{fast_lower, -3}
 set{med_upper, 2}
 set{med_lower, -2}
 set{long_upper, 1.5}
 set{long_lower, -1.5}
 
 /* COMBINED SIGNALS - Pick your strategy */
 
 /* Strong bullish: All three above their upper levels */
 osc_fast above fast_upper and osc_med above med_upper and osc_long above long_upper
 
 /* Alternative signals (uncomment one at a time) */
 /* Medium-term bullish with fast confirmation */
 /* osc_med above med_upper and osc_fast above 0 */
 
 /* Long-term trend with medium confirmation */
 /* osc_long above long_upper and osc_med above 0 */
 
 /* Fast signal with medium/long support */
 /* osc_fast crossed above fast_upper and osc_med above 0 and osc_long above 0 */
 
 /* Display all three oscillators */
 add column osc_fast{Fast}
 add column osc_med{Medium}
 add column osc_long{Long}
 set{FAST, osc_fast}
 draw FAST
 set{MEDIUM, osc_med}
 draw MEDIUM on plot FAST
 set{SLOW, osc_long}
 draw slow on plot FAST
 
 price > 2
 price < 10
 volume > 750000
 set{BUY, OSC_Fast crossed above fast_Upper and osc_med above med_upper}
 add column BUY
 draw BUY
 shares outstanding < 200
 add column shares outstanding
 
 
 |