Hi, I would like to have a screener that will show momentum from the 15 min chart, but qualifying and show only if the 60 min agrees..
Sequence for a buy would be: MACD would be green histogram with a green candle stick closing above an 8 EMA, but need a MACD to be ‘green’ also to qualify.
Obviously just the opposite to screen for sell trades with red sell candles and MACDs etc
( please see attached pic)
Thanks very much
Neal
Here is the code that respect that conditions, the screener detects the crossing of the Close with the SMA 8 periods:
timeframe(1 hour)
c1 = MACD[12,26,9](close)>0
timeframe(default)
c2 = MACD[12,26,9](close)>0
c3 = close crosses over average[8]
screener[c1 and c2 and c3]
Invert conditions for the sell trades.
Hi, I can’t seem to get it to work. It’s to work on the 15 min chart but only if the 60 min MACD agrees with the signal?
What timeframe would I put in the ‘selection period’ of the screener, to get both 15m and 60 m to work in sync?
Thanks again
Launch the timeframe on the 15-minutes timeframe.
OK, will try. Thanks very much