Invalid Stop
Hello
Can you kindly review my code and advise the cause of the invalid stop error. Please see the code below. Thanks
You should always normalize a price to your given digits specificity before you send it in an order.
Also, some broker-dealers require SL's and TP's to be sent as position modifications--meaning they can't be sent within the entry order. Research your broker-dealer.
- www.mql5.com
Please read and apply the following in your EA (even if it is not for a Market product):
The checks a trading robot must pass before publication in the Market
MetaQuotes, 2016.08.01 09:30
Before any product is published in the Market, it must undergo compulsory preliminary checks in order to ensure a uniform quality standard. This article considers the most frequent errors made by developers in their technical indicators and trading robots. An also shows how to self-test a product before sending it to the Market.
Hello
Can you kindly review my code and advise the cause of the invalid stop error. Please see the code below. Thanks