Jump to content

Candle Breakout EA


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...