A) I think that
if(adrdel<-1*AdrLimit&& adrdelb4b4<AdrLimit&& adrdel<adrdelb4) ExtMapBuffer2[i] = High[i] + nShift*Point;
should be
if(adrdel<-1*AdrLimit&& adrdelb4b4<-1*AdrLimit&& adrdel<adrdelb4) ExtMapBuffer2[i] = High[i] + nShift*Point;
buit it should display SOMETHING even if at the wrong time.
B) verify that indicator "adrdeltshistorical" returns the value you want as the first indicator
C) verify that indicator "adrdeltshistorical" has no parameters, otherwise the iCustom call will return incorrect or always-the-same values.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello friends this is checkmail and have an Indicator which is to display up and down arrows on adr levels but its not displaying it when attached to charts.
Could anyone correct the code.
Here is the code :