When sending a buystop I get an error 130 , Searched the web to find the solution and one of them was setting the buystop close to the current price , but 15 points is really enough I think , is there any other thing that could be causing this error ? Thanks.
TP is only 5 points away from buystop. That might be the problem. You can check minimum distances using MarketInfo functions: https://docs.mql4.com/marketinformation/marketinfo
As to the missing parameters in your OrderSend call, donno if that might be source of error.
TP is only 5 points away from buystop. That might be the problem. You can check minimum distances using MarketInfo functions: https://docs.mql4.com/marketinformation/marketinfo
As to the missing parameters in your OrderSend call, donno if that might be source of error.
That will take alot of coding (in my case) that is really unneseccery , cause I want to put a sellstop with it and an expire time to both of them and .... , with all said , think the buystop is the best thing for me
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
When sending a buystop I get an error 130 , Searched the web to find the solution and one of them was setting the buystop close to the current price , but 15 points is really enough I think , is there any other thing that could be causing this error ? Thanks.