Download MetaTrader 5
To add comments, please log in or register
You don't know MQL5 but you do know how to sell? The affiliate program is at your service!
forextime8
194
forextime8 2016.02.27 11:00 

date always showed on 00:00,

what's wrong with this ?

Files:
test.png 92 kb
Alain Verleyen
Moderator
28659
Alain Verleyen 2016.02.27 14:06  
forextime8:

date always showed on 00:00,

what's wrong with this ?

You are using Open Price mode ?
forextime8
194
forextime8 2016.02.27 14:10  
Alain Verleyen:
You are using Open Price mode ?

u mean my ordersend function ??

or backtest model ??

it's every tick model .

yesterday before markets close, everything is worked fine,

 

      if (!OrderSend(Symbol(), OP_BUY, LotsCalculation(), Ask, Slippage, StopLossLevel, TakeProfitLevel, "Buy", MagicBuy, 0, clrLimeGreen))
      Print("Buy Order Error : ", GetLastError());
      
      else Print("Buy Order Is Opened : ", OrderOpenPrice());
Alain Verleyen
Moderator
28659
Alain Verleyen 2016.02.27 17:57  
forextime8:

u mean my ordersend function ??

or backtest model ??

it's every tick model .

yesterday before markets close, everything is worked fine,

 

I was talking about backtesting model.

It's difficult to say something useful without seeing the code.

forextime8
194
forextime8 2016.02.28 06:16  
Alain Verleyen:

I was talking about backtesting model.

It's difficult to say something useful without seeing the code.

it's worked fine again,

doesn't know what did i changed it yesterday.

/
To add comments, please log in or register