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|
|V||Resistance Line Connecting Highs - Help With Indicator/Scanner||Questions||0|
|A||Need help creating scanner based on volume||Questions||2|
|M||Need help fixing gap up and down scanner||Questions||1|
|V||Pivot PP Scanner thinkscript - Need help||Questions||4|
|M||Scan Help RSI Fractal indicator||Questions||10|