gann hilo in mql5 need help
hi, need help to convert from mql4 to mql5 : please
I already change your indicator...Please check this..
int OnInit() { //--- indicator buffers mapping SetIndexBuffer(0,ssl,INDICATOR_DATA); ssl_handle=iMA(NULL,0,Lb,0,MODE_SMA,PRICE_CLOSE); ssl_handle_h=iMA(NULL,0,Lb,0,MODE_SMA,PRICE_HIGH); ssl_handle_l=iMA(NULL,0,Lb,0,MODE_SMA,PRICE_LOW); PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,0); //--- return(0); }
I already change your indicator...Please check this..
HI THANK YOU , BUT THERE IS A DIFFERENT BETWEEN MT4 & MT5
I MARK IT
CAN YOU PLEASE CHECK IT
Sorry, I already make a mistake, please check this..
hi , and thank you
but for that , the last 10 candle is missed
i change this and it be ok :
for(int i=0; i<rates_total;i++) is ok
and
for(int i=0; i<rates_total-Lb;i++) is not ok
-----------------------------------------
and for complete the indicator i add arrow
and i want to have only the first arrow for every change direction of trend
and play a sound.
like the picture attached
i send them
would you please check it
excuse me , but that is incorrect
even the base line( gold color ) is moved
- www.mql5.com
I'm not sure if this correct, because I don't understand what do you mean about the base line.