View Single Post
  #8 (permalink)  
Old 06-05-2006, 12:46 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow Trading is permitted for the symbol under test only

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!
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Reply With Quote