Forum

How to load all chart bars when using strategy tester with specific date range?

Hi, The "Accumulation/Distribution" indicator is a cumulative indicator and when i use mt4 strategy tester , this indicator calculates from shown chart bars not all bars (start from begin of selected date range). How can i load all bars when use strategy tester to make AD indicator real? Thank you

The Ask value for close point is upper than particular candle

Hi, I use this code for open an order OrderSend ( Symbol (), OP_SELL, 0.01 , Bid, 3 , 0 , 0 , "ORDER SELL" , 10001 , 0 , Red); and use this code for close order: OrderClose(OrderTicket(), OrderLots(), Ask, 3 , Red); The Ask value for close point is upper than particular candle( Attached file): What