jfortes:
When it has closed select it ( using OrderSelect() ) then compare it's OrderOpenTime() and OrderCloseTime() . . .
Hi all,
I'm submitting a BUY marker order with an EA, and need to measure the time it takes to Close this order.
Basically, I'm sending a Buy market order with a Fixed take profit:
BuyTicket = OrderSend(Symbol(), OP_BUY, LotSize, MarketInfo(Symbol(),MODE_ASK), Slippage, StopLoss, MarketInfo(Symbol(),MODE_ASK) + TakeProfitFixed, "Buy Order with Fixed Profit", MagicNumber, 0, Green);
Any help is appreciated, thanks.
John.
RaptorUK:
When it has closed select it ( using OrderSelect() ) then compare it's OrderOpenTime() and OrderCloseTime() . . .
When it has closed select it ( using OrderSelect() ) then compare it's OrderOpenTime() and OrderCloseTime() . . .
Thanks RaptorUK.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all,
I'm submitting a BUY marker order with an EA, and need to measure the time it takes to Close this order.
Basically, I'm sending a Buy market order with a Fixed take profit:
BuyTicket = OrderSend(Symbol(), OP_BUY, LotSize, MarketInfo(Symbol(),MODE_ASK), Slippage, StopLoss, MarketInfo(Symbol(),MODE_ASK) + TakeProfitFixed,
"Buy Order with Fixed Profit", MagicNumber, 0, Green);
Any help is appreciated, thanks.
John.