Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

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

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...