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
i have a ecn account and spread on usd/jpy are less than 1.5....
OP_BUYSTOP is equal to integer 4 and OP_SELLSTOP is equal to 5...
At the time when that order is placed with SL you have 3 open orders, so this code is executed . . .
The difference between the open price and the SL is the difference between r3 and r2 r3 is 112 r2 is slp/4 which is 300/4 = 75 so 112 - 75 = 37 or 3.7 pips so the order is correct.
When this code is executed what order is selected ? You must select an order before you can use OrderOpenPrice()