Forum

Loading missing bars in MT4 correctly

Hi all, my broker's server gives me market data for limited time(9:00 to 23:00) in 15 minutes chart. Now I have data to fill the gaps(23:15 to 8:45) but when I load this data in history center through import, and if I open chart again and refresh it it'll only show the data I inserted but not the

Change color dynamically in setIndexStyle

Hi all, I want to change color of custom indicator dynamically based on close price. Below is the code snippet. #property indicator_chart_window #property indicator_buffers 4 #property indicator_color1 Red #property indicator_color2 Green //--- input parameters extern int Period = 5 ; //---