Hi, Was wondering where I could get my hands on the ADX indicator with color changing when above a certain level…
Not this one. I recall seeing somewhere in the Forum where the ADX turns from Red to Green when it goes above say 25 (adjustable). But thanks for the ADXBars. Looks interesting. How do you use it?
Actually I don’t use it by myself. It seems that indicator change bar color when +DI cross -DI and vice versa.
I found some codes for the ADX function and would appreciate if anyone here can add this for MT4’s ADX
Thanks
========================================
//ADX CODE
ADXcolor= IIf(ADX(14)>=20,colorLime,colorRed);
Plot(ADX(14),"ADX(14)",ADXcolor,styleLine,styleNoTitle);
Plot(30,"",colorBlue,styleLine);
Title="ADX(14)";
========================================
I am not sure that it is what you need but I saw in the code the following:
val1[shift]=Low[shift]-5*Point;
if (UseSound==1) PlaySound(NameFileSound);
if (TypeChart==1) Comment ("Buy signal at Ask=",Ask,", Bid=",Bid,", Date=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime())," Symbol=",Symbol()," Period=",Period());
[/CODE]
[CODE]val2[shift]=High[shift]+5*Point;
if (UseSound==1) PlaySound(NameFileSound);
if (TypeChart==1) Comment ("Sell signal at Ask=",Ask,", Bid=",Bid,", Date=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime())," Symbol=",Symbol()," Period=",Period());
Actually not. I was hoping someone can add a “change of color” when ADX crosses 20.