TradingView
Rexio
10 Feb 2020 pukul 08.07

MACD divergence with line drawing by Rexio 

Germany 30OANDA

Deskripsi

Another appoach to finding divergences at MACD. This time I think it is much smoother so I could check for divergences between two "peaks" at MACD.
I added my SL line which is last peak +- 1xATR. And the second line is peak between two points of divergence and most of the time it acts like an SR line.
If the higher timeframe trend backs up our divergence (for example: higher trend UP - divergence for L position) I can try to jump in after crossing EMA10.
This indicator is only sugestion for me. I always check price action, trend, SR line before I take any action.
Every people who will test this indicator need to know basics about divergences as THISE ARE NOT BUY/SELL SIGNALS.
If you want to help me and support my coding please contact me via private msg.
Komentar
NextdoorLaoWang
Hi Rexio bro, thank you for your contribution. It has been working very well and helped me a lot until today it suddenly came out a error and couldn't work any more. Error is saying that "Pine cannot determine the referencing length of a series. Try using max_bars_back'错误". Since I am not a programmer, I don't understand it at all. Would you please have a check?
Rexio
@NextdoorLaoWang, you need to edit second line of code to look like this one -->

study(title="MACD divergence with line drawing by Rexio", shorttitle="MACDdivRexio", overlay=true, max_bars_back=150)

i changed it a long time ago but .... i dont know how to update it in public library ;) im a newbie :P
NextdoorLaoWang
@Rexio, I have revised it as you said and it works now!!! Great! You are my master!
EthioFX
keep up the good work it is nice. this script works fine when I GET confirmation of RSI divergence
W2424336
Sir,why now it not work
Docop1
Quite great script in fact as it look different for the divergence.. But how can it be change to another indicator.. being alone.. like a wma or something ? There's Hist everywhere and not sure how to remove.. Thanks
cuimin
我有好的方法 ,可以和你联系吗
Rexio
@cuimin, I don't speak Chinese but if translator got it correctly and you want to contact me, please feel free to send me private message.
BruceZou
很棒
Lebih lanjut