Once, not three times #property indicator_label1 "Label1" ⋮ #property indicator_color1 clrRed ⋮ #property indicator_label2 "Label2" ⋮ #property indicator_color2 clrLawnGreen
SetIndexStyle ( 0, DRAW_ARROW , GrandeFreccia , clrGreen ); SetIndexArrow ( 0, 233) ; ⋮ SetIndexStyle ( 1 , DRAW_ARROW , GrandeFreccia , clrRed ); SetIndexBuffer ( 1, 234) ;
PlotIndexSetInteger(0,PLOT_ARROW,233); PlotIndexSetInteger(1,PLOT_ARROW , 234);
SetIndexLabel ( 0, NULL); SetIndexLabel ( 1 , NULL) ;
-
MT4 does not have a PlotIndexSetInteger.
-
if ( iADX ( Symbol () , PERIOD_CURRENT , InpADXPeriod , PRICE_CLOSE, MODE_MAIN , 0 ) > 30 { open [i] < close[i])
Do not post code that will not even compile. - Why are you looking at ADX[0] only?

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
Hii,
Recently I am approaching the programming language MQL4, and I have builf this indicator whitch must return a green rrow upwards when the ADX is greater than 30 and the bullish candle and a red one downwards when the ADX is greater .
But it doesn't work and I can't understand why . Could you tell me whereI went wrong ?