Hello,
I'm trying to code this really simple MA cross system, and am getting a 4107 error message when testing the system. I get a whole list of the following message in the tester's journal
---
2008.06.26 21:15:14 2008.06.24 23:45 Simple+MA+cross EURUSD,M15: OrderSend error 4107
2008.06.26 21:15:14 2008.06.24 23:45 Simple+MA+cross EURUSD,M15: invalid stoploss for OrderSend function
---
I realize that there are other ma cross systems out there, and the reason I'm doing this by myself is too learn MQL4. The OrderSend command seems to follow the requirements, I've even used NormalizeDouble(), but I just don't seem to be able to figure this one out.
Thanks for the insights,
Ravi
I'm trying to code this really simple MA cross system, and am getting a 4107 error message when testing the system. I get a whole list of the following message in the tester's journal
---
2008.06.26 21:15:14 2008.06.24 23:45 Simple+MA+cross EURUSD,M15: OrderSend error 4107
2008.06.26 21:15:14 2008.06.24 23:45 Simple+MA+cross EURUSD,M15: invalid stoploss for OrderSend function
---
I realize that there are other ma cross systems out there, and the reason I'm doing this by myself is too learn MQL4. The OrderSend command seems to follow the requirements, I've even used NormalizeDouble(), but I just don't seem to be able to figure this one out.
Thanks for the insights,
Ravi
Attached File(s)
Simple+MA+cross.mq4
2 KB
|
686 downloads