cnuse Posted February 23, 2011 Report Posted February 23, 2011 hi, Junglist. By a quick review, I found a small mistake in your codes. I moved two lines of codes up just before dayfiler. they are "if(TrailingStop>0)TrailOrders(TrailingStop,MagicNumber); Monitor();" I did so because when you already have some open trade, you cannot ignore it by dayfilter. You still need to trail them,right? I uploaded my version at http://www.4shared.com/file/YUqNePzj/CandleBreakout_EAv2-dayfilter.html domonkos 1
junglist00 Posted February 23, 2011 Author Report Posted February 23, 2011 hi, Junglist. By a quick review, I found a small mistake in your codes. I moved two lines of codes up just before dayfiler. they are "if(TrailingStop>0)TrailOrders(TrailingStop,MagicNumber); Monitor();" I did so because when you already have some open trade, you cannot ignore it by dayfilter. You still need to trail them,right? I uploaded my version at http://www.4shared.com/file/YUqNePzj/CandleBreakout_EAv2-dayfilter.html Thanks, the day filter was a cut/paste job, i am no coder so was just trying something, appeared to work on backtest. Thanks again
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now