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.
Try using below and if there is no error, then check again your original parameters. (SL, TP, and comment)