Jump to content

Recommended Posts

Posted

Here is an EA that does rat reversals based on the latest drain the banks method:

1) To trade like a RAT is to ALWAYS trade in ONE DIRECTION - either LONG or SHORT. Once you pick a "team", you can't switch.

 

2) The "within 20 pips of the daily high/low" is the BEST possible entry to get the maximum run BUT the RAT REVERSAL entry works ANYWHERE on the chart.

 

 

GREEN RAT REVERSAL - LONG ENTRY CRITERIA: 1) RED CANDLE CLOSES 2) GREEN CANDLE CLOSES 3) PRICE TOUCHES HIGH OF PREVIOUS GREEN CANDLE - ENTER LONG. STOP LOSS IS ALWAYS 10 PIPS.

 

 

RED RAT REVERSAL - SHORT ENTRY CRITERIA: 1) GREEN CANDLE CLOSES 2) RED CANDLE CLOSES 3) PRICE TOUCHES LOW OF PREVIOUS RED CANDLE - ENTER SHORT. STOP LOSS IS ALWAYS 10 PIPS.

 

http://www.sendspace.com/file/4lq3ys

 

I am still working on optimization for profitable settings. Help would be appreciated.

Posted (edited)

Need the source code if you want some help here. Too hard to follow the logic if an ex4 file. Also timeframe and what currencies you have already tested helps.

 

Also some explination on the settings or a manual needed.

Edited by Pheniox
Posted
Sorry but I dont have the source code - it doesnt mean that it cannot be tested. The entry is stated in the first post, visual backtest to check it. The settings to change are: stop loss, take profit, maybe trailing stop/move stop at/move stop to settings. Also the start time can affect results greatly. I have found good results using the h4 on EJ, so far.
  • 1 month later...
Guest james_phuc28
Posted

Hi everybody,

 

This seems to be a good and potential EA as long as we can have good pre-set file for each different pair, and on each different timeframe.

 

Hope that some experienced coders and help to improve it, and post the optimized pre-set files, as well as some people can forward-test it and give comments to improve it further.

 

I think that the trailing stop and/or Breakeven Gain functions should be added to minimize drawdown, and increase profit factor, as well as improve Equity curve.

 

Thanks and regards,

James

Posted

From what I can see, the EA rules do not exactly conform to original strategy.

EA author uses a trend filter based on daily open, I don't think from what I've read this is entirely kosher.

I've read quite a few a TRO's posts on this, trend doesn't seem to be mentioned regarding this particular approach.

 

In any case, it may be interesting to code a variant without the filter.

  • 3 weeks later...
  • 2 weeks later...
Posted
I've been using EURGBP on 1 HR chart range 120. TP 12 SL 30. Range 120. No losses... USDCHF 1 HR 110 Range. USDCAD 1 HR range 100. This is an excellent EA.

 

tom, are you using the same tp and sl settings for usdchf and usdcad?

Posted
I've been using EURGBP on 1 HR chart range 120. TP 12 SL 30. Range 120. No losses... USDCHF 1 HR 110 Range. USDCAD 1 HR range 100. This is an excellent EA.

 

it is really interesting. the tester gets a lot of stop-losses... can you provide your set file, Tomislav?

Posted

Hi tomislav,

 

Bummer about the loss. I think chances are it is related to market conditions, although I don't see any serious changes in the last 5 months compared to these last couple of days, except that market has been a bit more volatile this week.

 

More likely: it is just the occasional loss. It does happen. No EA is perfect...! :)

 

Cheers, San.

Thanks for the kudos...much appreciated!

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