Forum

Can anyone explain this code;

Am trying to convert an mt4 indicator to pine script but am having issue understanding the interpretation of this code. double ArrayClose[][ 240 ]; double ArrayHi[][ 240 ]; double ArrayLo[][ 240 ]; ArrayClose[i][cnt] = iClose ( NULL , TF1, j); if (ModeHL)

Mql4 to pinescript help

if ( iTime ( NULL , TF2, 0 ) == LatBarTime) return ( 0 ); LatBarTime = iTime ( NULL , TF2, 0 ); for (i = HistoryBars + Len; i > 0 ; i--) Sig_A = iBarShift ( NULL , TF1, iTime ( NULL , TF2, i)); I have two timeframe, Tf1 and Tf2. How can I get the pinescript equivalent of this

please some one should help check this indicator that does not display

I have this indicator code but it does not display any data on chart (in form of histograms). please some one should check it out for me #property indicator_separate_window #property indicator_levelcolor DimGray #property indicator_buffers 2 #property indicator_color1 Green #property

Help adding some line of Code to fix bug

I created an EA, during the backtest i found out that the Ea opens position when an arrow signal flashes (the arrow does not repaint but sometimes flashes, it is after the close of the current candle stick that the arrow will stay or not, but ones it stays it does not repaint), where i need help is