when i want to get value of first buffer, it always shows empty value but in Data window shows that it ( buffer 0 ) has a value! this is the code of indicator: //+--------------------------------------------------------------------------------------+
this is the code that i combined PVI and iMA but it doesn't show them correctly like the attached image. how to correct the code? //+------------------------------------------------------------------+
i tried to convert this indicator code from mql4 to mql5. mql5 code shows nothing. what is mql5 code problem? mql4 code: //+------------------------------------------------------------------+
i want to create an expert that use dark bands indicator? but it is complicated. can any body helps? first problem is icustom function.when i use iCustom ( _Symbol , PERIOD_CURRENT , "Dark Bands MT5" ) it works but i need complete dark bands
can anyone help to convert this code to mql5? //@version=5 indicator( "condition counting with valuewhen" , overlay = true ) m1 = ta.ema(close, 30 ) m2 = ta.ema(close, 100 ) plot(m1, color = color .red) plot(m2, color = color .yellow) cond =