I am finally get change.
ulong ticket = OrderGetTicket(0);
OrderSelect(ticket);
return OrderGetDouble(ORDER_PRICE_OPEN) == 0;
kentarohorie:
An order type never changes, when triggered it becomes a position and get closed.
in Ontick, ordertype don't change when pending position become open.
Alain Verleyen: An order type never changes, when triggered it becomes a position and get closed.
It does, however in MT4, OP_BUYSTOP becomes a OP_BUY.
2018/02/08 00:16:14 Completed #2770442 Romsterk1364
Are you using a netted account or hedging?
I see.so, is my way not bad?
SanjayBalraj:
Are you using a netted account or hedging?
Are you using a netted account or hedging?
I'm using demo account.
My question is about mql5.
kentarohorie:
My question is about mql5.
Already answered.
Forum on trading, automated trading systems and testing trading strategies
how can I detect changing of pending position to open in Ontick
Alain Verleyen, 2018.02.07 13:21
An order type never changes, when triggered it becomes a position and get closed.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
in Ontick, ordertype don't change when pending position become open.