Thread: Stochastic EA
View Single Post
  #1 (permalink)  
Old 01-23-2009, 11:57 AM
sfindlay sfindlay is offline
Member
 
Join Date: Jul 2008
Posts: 30
sfindlay is on a distinguished road
Stochastic EA

I have been helped so much by this forum I thought it was time to give something back. THis is my latest EA effort, which is based on the stochastic turning up (or down) after reaching 80 (or 20). It autocloses when the Williams %R hits an extreme point, generally at a profit, although if you want you can set take profit, stop loss and trailing stop loss.

For some reason it trades a lot more in forward testing than in back-testing, and makes a whole lot more money - I have been forward testing for over a month now and it hasn't missed a beat. I would love someone to take it and improve it with money management etc, my skills are not that great.

It doesn't do well in backtesting before 2008 but I figure the personality of the pair has changed anyway and no EA is forever for that reason.

Best results so far are EURUSD 30min, with default settings. I use it on IBFX.

25/2/09 I have added an update that looks at the magic number before it closes a trade.

8th Mar 09 I have fixed a bug that kept it opening and closing but have also uploaded an improved version that works better on other currencies as well (V4)
Attached Images
File Type: gif StochEA.gif (7.1 KB, 4193 views)
Attached Files
File Type: mq4 Stoch EA.mq4 (11.9 KB, 1563 views)
File Type: htm StochEA.htm (58.2 KB, 1135 views)
File Type: mq4 Stoch EA-mm-V3-fixed.mq4 (12.7 KB, 583 views)
File Type: mq4 Stoch EA-mm-V4.mq4 (14.3 KB, 1325 views)

Last edited by sfindlay; 03-08-2009 at 08:57 AM. Reason: Add gif of backtesting
Reply With Quote