Mean Reversion Strategy

Strategies are published here.

Moderator: admin

Mean Reversion Strategy

Postby Apprentice » Sun Sep 14, 2014 6:10 am

Mean reversion strategy.png

Based on request.
viewtopic.php?f=27&t=61143#p95867

Price Below Lower Bollinger band
Stochastic K <30
And for following period.
RSI is Up
Stochastic K is Up.

Exit Long Price > Bollinger Mid band.


Opposite for a Short....
Mean reversion strategy.lua
(19.41 KiB) Downloaded 932 times


The Strategy was revised and updated on December 18, 2018.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Mean Reversion Strategy

Postby CHECEZAR » Fri Oct 03, 2014 11:41 am

Hi all, I need a very big help. Could someone please add to this strategy the option to reverse the signal? For example if the strategy indicates purchase I can tell that you sell, not buy. Thanks for the help, I'll be waiting. :)
CHECEZAR
 
Posts: 12
Joined: Sat Jul 19, 2014 10:11 am

Re: Mean Reversion Strategy

Postby Apprentice » Sat Oct 04, 2014 2:21 am

Added to development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Mean Reversion Strategy

Postby CHECEZAR » Mon Oct 06, 2014 6:08 pm

Here is a strategy that can help understand incorporate what I am requesting.

With this strategy, you have two options one of which is possible to obtain signals contrary to what is stated strategy and adding to that instead of going to operate directly, what it does is place orders either few pips above the price given or few pips less.
Attachments
KeyRevStrat.lua
Key Reversal
(11.03 KiB) Downloaded 732 times
CHECEZAR
 
Posts: 12
Joined: Sat Jul 19, 2014 10:11 am

Re: Mean Reversion Strategy

Postby moomoofx » Mon Nov 17, 2014 1:34 am

As requested, the option to reverse the signals (for both entry and exit) has been added to the strategy. Please redownload to get the updated version.

Cheers,
MooMooForex
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: Mean Reversion Strategy

Postby Sviet531 » Thu Mar 24, 2016 10:50 am

Hello,

can you change the strategy ?

I would like just work with the BB. I would like desactivate RSI and stochastic.

If the price touch on live the bb with deviation 3.0 take a position buy/sell at against trend.

Thank you for your attention.
Sviet531
 
Posts: 7
Joined: Fri Jan 27, 2012 8:28 am

Re: Mean Reversion Strategy

Postby Sviet531 » Thu Mar 24, 2016 10:58 am

And, can you too put the strategie in m2 ?
Sviet531
 
Posts: 7
Joined: Fri Jan 27, 2012 8:28 am

Re: Mean Reversion Strategy

Postby Apprentice » Fri Mar 25, 2016 4:49 am

Try this version.
Mean reversion strategy.lua
(20.5 KiB) Downloaded 667 times

Will allow you to input any time frame supported by TS.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Mean Reversion Strategy

Postby Apprentice » Fri Dec 16, 2016 6:28 am

Strategy was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 24 guests