joel.victor:
Hi, I'm trying to do my first ea, but the following error occurs OrderSend error 130, when I try to put a buystop order .
OrderSend(Symbol(),OP_BUYSTOP,0.01,9291.5,3,9255,600,"BUY Order "+TimeCurrent(),0,0,Red) ;
StopLevel = 10.
Ask = 9279.5
Sorry for my bad english.
Thanks.
Try using below and if there is no error, then check again your original parameters. (SL, TP, and comment)
OrderSend(Symbol(),OP_BUYSTOP,0.01,9291.5,3,0,0,"",0,0,Red) ;
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, I'm trying to do my first ea, but the following error occurs OrderSend error 130, when I try to put a buystop order .
OrderSend(Symbol(),OP_BUYSTOP,0.01,9291.5,3,9255,600,"BUY Order "+TimeCurrent(),0,0,Red) ;
StopLevel = 10.
Ask = 9279.5
Sorry for my bad english.
Thanks.