mohammad7521 / Publications
Forum
i don't have data from past dates in lower timeframes??!!
hi i am trying to go back to a specified time in a lower timeframe let's say 5M but doesn't show me the data up to 2020 in let's say gbpusd in the trading panel but when i am trying to backtest i can get data all the way back to 2010 even in the 5M timeFrame. how is that possible
Identifying the day of the week from a specific candle
Hi! I am trying to backtest an strategy and i don't want to enter any position on fridays. I try using this code to get the day of the week of the candle,but get the following error. MqlDateTime herenow[]; CopyTime(_Symbol,_Period,0,0,herenow); 'CopyTime' - no one of the overloads can be applied to
Error 4756 the buy request could not be completed
Hi! //Entry for Long Positions if(PriceDataTable[0].close>Kijun_Sen1 && Kijun_Sen1>Kijun_Sen2) { if(UseStopLoss)StopLossLevel=CurrentBid+(FinalStopLossPips*_Point)*p;else StopLossLevel=0.0; if(UseTakeProfit)TakeProfitLevel=CurrentBid+(FinalTakeProfitPips*_Point)*p;else TakeProfitLevel=0.0;