MACD Divergence + Multi Time Frame EMA This Strategy uses 3 indicators: the Macd and two emas in different time frames The configuration of the strategy is: Macd standar configuration (12, 26, 9) in 1H resolution 10 periods ema, in 1H resolution 5 periods ema, in 15 minutes resolution
We use the two emas to filter for long and short positions. If 15 minutes ema is above 1H ema, we look for long positions If 15 minutes ema is below 1H ema, we look for short positions
We can use an aditional filter using a 100 days ema, so when the 15' and 1H emas are above the daily ema we take long positions Using this filter improves the strategy
We wait for Macd indicator to form a divergence between histogram and price If we have a bullish divergence, and 15 minutes ema is above 1H ema, we wait for macd line to cross above signal line and we open a long position If we have a bearish divergence, and 15 minutes ema is below 1H ema, we wait for macd line to cross below signal line and we open a short position
We close both position after a cross in the oposite direction of macd line and signal line Also we can configure a Take profit parameter and a trailing stop loss
Notas de prensa
⋅
Updates on this strategy
Update to PineScript v5
Bug Fixes
Repainting Fix
Alert function for opening a position
Labels on chart when a position is open
We are happy to announce that we will be updating our scripts, adding new indicators and strategies that we've been working on and publishing trading ideas
Hi Maxits! Great work, exactly the indicator I was looking for! But unfortunately i don't seem to get the signals to work/show on the chart. Thanks
Trading_Solutions_
⋅
@tonieTea, Hi! Yes you are right, I don't know exactly what the problem is.
To fix it momentarily, what I do is to hide and show the strategy in the chart.
When updated, it shows the positions.
There might be something wrong with the code, but I couldn't solve it yet.
I hope you can use the strategy this way!!
Ayoub153salhi
⋅
@tonieTea, hi bro i hope are you fine . Could you solve this problem ?
a198410
⋅
Thanks for sharing this interesting strategy.
It appears that there is a bug in the original script. When executed, it does not look like the images you have shown above.
I would appreciate if you could check it.
Thanks.
Trading_Solutions_
⋅
@a198410, Thanks for the comment, I'll check it and update the script!
Ayoub153salhi
⋅
@a198410, hi bro i hope are you fine . Could you solve this problem ?
Cal16888
⋅
Hi Maxits, thank you for your share. For the chart, are we using the 1H chart for this strategy?
Trading_Solutions_
⋅
@Qiaofeng_Chen, yes this is the 1H chart. I also tested it on the daily with good results
kerman99
⋅
how would i change the SL to the Swing high/low +/- 5 pips/ticks. and then set the profit as 2x the SL? any help would be appreciated.
Are there any repainting issues?