the problem fixed,i change the code
dealPrice = Ask - 15*Point;
to
dealPrice = Ask - 16*Point;
i think the reason is the open price must lower more than 16 point to current ask price in OP_BUYLIMIT pending order, but errid 130 (invalid stops) be throwed...
dealPrice = Ask - 15*Point;
to
dealPrice = Ask - 16*Point;
i think the reason is the open price must lower more than 16 point to current ask price in OP_BUYLIMIT pending order, but errid 130 (invalid stops) be throwed...
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
when i test it,i got 130 invalid stops error,but the stopPrice is lower than dealPrice 40-60 points, who can tell me what the error mean. Thanks in advance!
log like this: