Jump to content

Wanting to code up an EA. BBands and Renko Inside


Recommended Posts

Hi all,

Yes, I know most are of the opinion that Renko is a fools errand. But I'm happy to play the fool for now, and hopefully have some other (better programmers) fools join me for a little test.

 

I've been visually backtesting the following rules

 

If a bars high or Low is one side of the outer bands, and close is the other side, take a trade in the direction of the bar.

Stop Loss is the length of the bar.

Close 1/2 and set SL to breakeven when one bar has closed in the right direction.

Close the rest of the position on the next bar in the opisite direction.

 

I've found (visually at least) that this wins a bit and looses a bit, but does maintain a 1:1 RR and lets the winners run on occasion. In the screencap below I've got a 20 pip bar and BBands(21) deviation at 1.2

 

audusd-oanda-division1-2.png

 

Yellow lines are positive results and red lines are losses.

 

I tried coding a simple EA with EA Generator but didn't have much luck, it's outside of my expertise.

 

Any thoughts and help with coding up an EA would be apprecieated, as well as thoughts and help with running an EA on renko charts. currently I'm using one called MTH, it seems pretty good, free and under active development, do a google search for MTH renko plugin and you should get another forum link with plenty of info.

 

Cheers!

Stuart

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...