Suddenly I was caught by this puzzling behavior of MT4, say Use Date: from 2017.06.13 to 2017.06.14, supposed to be the span of 1 day. On M15 timeframe, it should be (of 1 day) = 4bars/hour x 24 hours = 96 bars. Yet the backtest report says
I have no idea why EA is behaving this way in visual mode. Plus it dumps this error message too: failed market sell 0.03 EURUSD.a [Market closed] Error opening order : 10018 Market is closed
I was happily running optimization until recent update to build 3231 24mar2022 and now I am getting these identical messages pass 61440 tested with error "critical runtime error 565 in OnTick function (error code 565, module Experts\my_ea.ex5, file
I set a plot of AMA in \Indicators\Examples\ as tester.tpl template then I ran a visual mode in tester and the end result showed this plot as attached. Notice how a single parameters setting ended up with 2 obviously different separated lines. Does
I am new to MQL5 and am currently stuck with this issue: In my main mq5: // EA.mq5 #include <Trade\PositionInfo.mqh> #include <Trade\Trade.mqh> CPositionInfo myPosition; CTrade myTrade;
2 indicators I encountered that repaint: Fisher and Weiswave3c and I attach them here for your help Weiswave3c repaint was only found when backtesting on MT4 platform as per the different images below: first: then a few bars later
I could not get bbwidthBuffer[i] drawn by the terminal. It would show a blank indicator window beneath the price chart. What is wrong with my coding? Counted_bars= IndicatorCounted (); i= Bars -Counted_bars- 1 ; while