Forum

indicator doesn't draw when the charts are loading

Hi, I have a recurring problem that happens on my MT5 indicators. When I open a new chart and attach the indicator to the chart, the history is sometimes still loading. That also happens when I change the time frame of the chart. When this situation occurs the indicators don't draw anything. On a

double variable with wrong decimal cases

Hi, I'm runnng this code to increase the lotsize in steps: double lotsize = 0.01 ; double lotstep = 0.01 ; for ( int i= 0 ; i< 10 ; i++) { lotsize += lotstep; Print ( "i: " , i, ", lotsize: " , lotsize); } What I get is this result: 2018.01.12 17:15:58.644 test