Thanks Phil. I could see the display was incorrect; just hadn't got around to doing anything about it.PhP71 » Thu Mar 03, 2016 6:19 pm wrote:One little correction to the code, nothing to see with this trading method but to have a proper display of the daily P/L (last line of the text displayed on the screen).
at line 1622 (inside CalculateDailyResult() function), I think it would be better to compare the OrderCloseTime to PERIOD_D1 instead of TradingTimeFrame (which is the current time frame of the window).
Line 1622 folks, is:
if (OrderCloseTime() < iTime(Symbol(), TradingTimeFrame, 0) ) continue;
It should be:
if (OrderCloseTime() < iTime(Symbol(), PERIOD_D1, 0) ) continue;
