Forum

Why the history quality different so much?

When I run back test, I notice if I pick " Every tick based on real ticks", I can get 99% or 100% history quality. But if I pick "Every tick" or "1 minute OHLC", with everything else exactly the same (same EA, input, time frame and so on), I get no more than 15% history quality. Am I missing

Price in OnCalculate() not showing correctly

I modified a sample code from MQL5 documentation to look like the following #property indicator_chart_window #property indicator_buffers 1 #property indicator_plots 1 //---- plot Line #property indicator_label1 "Line" #property indicator_type1 DRAW_LINE #property indicator_color1 clrDarkBlue