I'm new to coding, I found this code on internet and would like to re-optimise it/forward test it, but before doing so I notice that it creates various errors in strategy tester. Thus I don't want to go through the optimisation process and prepare it for live, if I can't rely on the results (I need there to be no errors).
I added RefreshRates() functions before order execution, but this didn't solve anything (maybe i need to add them elsewhere as well). Need help. As i'm total newbie to mql please be as explanatory as possible :)
Typical errors:
2009.11.11 09:19:36 2009.09.09 06:00 NHF Live TrendCapture (Modified) v103 EURUSD,M30: OrderSend error 4107
2009.11.11 09:19:36 2009.09.09 06:00 NHF Live TrendCapture (Modified) v103 EURUSD,M30: invalid price 1.44997000 for OrderSend function
2009.11.11 09:19:36 2009.09.09 05:30 NHF Live TrendCapture (Modified) v103 EURUSD,M30: invalid price parameter for trade function
2009.11.11 09:19:36 2009.09.09 05:30 NHF Live TrendCapture (Modified) v103 EURUSD,M30: OrderSend error 4107
2009.11.11 09:19:36 2009.09.09 05:30 NHF Live TrendCapture (Modified) v103 EURUSD,M30: invalid price 1.44907000 for OrderSend function
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi guys,
I'm new to coding, I found this code on internet and would like to re-optimise it/forward test it, but before doing so I notice that it creates various errors in strategy tester. Thus I don't want to go through the optimisation process and prepare it for live, if I can't rely on the results (I need there to be no errors).
I added RefreshRates() functions before order execution, but this didn't solve anything (maybe i need to add them elsewhere as well). Need help. As i'm total newbie to mql please be as explanatory as possible :)
Typical errors:
2009.11.11 09:19:36 2009.09.09 06:00 NHF Live TrendCapture (Modified) v103 EURUSD,M30: OrderSend error 4107
2009.11.11 09:19:36 2009.09.09 06:00 NHF Live TrendCapture (Modified) v103 EURUSD,M30: invalid price 1.44997000 for OrderSend function
2009.11.11 09:19:36 2009.09.09 05:30 NHF Live TrendCapture (Modified) v103 EURUSD,M30: invalid price parameter for trade function
2009.11.11 09:19:36 2009.09.09 05:30 NHF Live TrendCapture (Modified) v103 EURUSD,M30: OrderSend error 4107
2009.11.11 09:19:36 2009.09.09 05:30 NHF Live TrendCapture (Modified) v103 EURUSD,M30: invalid price 1.44907000 for OrderSend function
The system is attached :)
Thank you!
nick