From_ContrariaBEAR_on_May_30()."UpFractal" is true within 3 bars or From_ContrariaBEAR_on_May_30()."DownFractal" is true within 3 bars
S-LINEAR REGRESSION-VAR SCAN This is a scan that works well in a dynamic watch list with your favorite companies to trade. It works well as a signal when a company is moving up through resistance in a trough or lower area for a long trade. Vary the "width of channel" and “length” to suit your own preferences. Plot scan = low crosses LinearRegChVar ("width of channel" = 69, "full range" = no, "length" = 252)."LowerLR" S-SCAN FOR TRENDING CONDITIONS input length = 20;#hint length:Number of agg-bars to test for ascending conditions input bars_up = 5;#hint bars_up:Number of agg-bars being evaluated in <b>sum</b> def trend_up = IsAscending(close,length); def trend_up2 = sum(close > close,Bars_up) >= Bars_up; plot scan = trend_up && trend_up2; Another example input length = 20;#hint length:Number of agg-bars to test for ascending conditions input bars = 5;#hint bars:Number of agg-bars being evaluated in <b>sum</b> def trendup = IsAscending(close,length); def trendup2 = sum(close > close,bars) >= bars; def mcd = MACD(); def mcdtrend = sum(mcd > mcd,bars) == bars; plot scan = trendup && trendup2 && mcdtrend; #end From here please read in the TOS Manual how to set up alerts to your conditions in a dynamic watchlist.
|Thread starter||Similar threads||Forum||Replies||Date|
|M||Scan Help RSI Fractal indicator||Questions||10|
|Need help with a full time frame continuity scanner?||Questions||0|
|M||Help with this Relative Volume scan?||Questions||0|
|Z||Help with VWAP scanner using different conditions||Questions||0|
|A||I need Help with building Lower Highs scanner||Questions||0|