Quote:
|
Originally Posted by timbo
Hey CG..... I just found your article on Hedging which helped with my original question(and helped me understand the code snippets below), but when I try to backtest your Hedging.mq4 EA I get an error message saying "invalid price for OrderSend function" when it tries to place the USDCHF order. Do you know why this is happening?
|
It's a limitation in MT BackTesting:
Trading is permitted for the symbol under test only, no portfolio testing Attempts to trade using another symbol will return error
Please review this article:
http://articles.mql4.com/72
So, this kind of program have to forward tesing only!