Hi Pete,
I’m setting up two TOS scans using the codes below (long and short), but it keeps giving errors. Please help to fix. Thank you!
EMA BREAKOUT LONG
high is less than high from 1 bars ago and low is greater than low from 1 bars ago and high from 1 bars ago is greater than high from 2 bars ago and MACD().”Value” is greater than MACD().”Avg” and MACD().”Value” is greater than MACD().”ZeroLine” and MACD().”Value” is less than MACD().”Value” from 1 bars ago and MACD().”Value” from 1 bars ago is greater than MACD().”Value” from 2 bars ago and low is less than MovAvgExponential(“length” = 3) and low from 1 bars ago is less than MovAvgExponential(“length” = 3) from 1 bars ago and close is greater than MovAvgExponential(“length” = 18) and close from 1 bars ago is greater than MovAvgExponential(“length” = 18) from 1 bars ago and close from 2 bars ago is less than MovAvgExponential(“length” = 18) from 2 bars ago.
CURRENT BAR SCAN:
Open > 18 EMA
Close > 18 EMA
Low < 18 EMA
VARIABLES:
- MACD Value = 3, 6
- MACD Avg = 9
- Add Average Daily Volume (ADV) requirement (greater than 250000)
EMA BREAKOUT SHORT
high is less than high from 1 bars ago and low is greater than low from 1 bars ago and low from 1 bars ago is less than low from 2 bars ago and MACD().”Value” is less than MACD().”Avg” and MACD().”Value” is less than than MACD().”ZeroLine” and MACD().”Value” is greater than MACD().”Value” from 1 bars ago and MACD().”Value” from 1 bars ago is less than MACD().”Value” from 2 bars ago and high is greater than MovAvgExponential(“length” = 3) and high from 1 bars ago is greater than MovAvgExponential(“length” = 3) from 1 bars ago and close is less than MovAvgExponential(“length” = 18) and close from 1 bars ago is less than MovAvgExponential(“length” = 18) from 1 bars ago and close from 2 bars ago is greater than MovAvgExponential(“length” = 18) from 2 bars ago
CURRENT BAR SCAN:
Open < 18 EMA
Close < 18 EMA
Low > 18 EMA
VARIABLES:
- MACD Value = 3,6
- MACD Avg = 9
- Add Average Daily Volume (ADV) requirement (greater than 250000)
Like this:
Like Loading...