Regression Strategy

Strategies are published here.

Moderator: admin

Regression Strategy

Postby Apprentice » Wed Sep 25, 2013 3:06 am

Test.png

Although it is called Regression, in fact, supports other moving averages as well.

Long
Price/Short MA CrossOver
Price/Long MA CrossOver
Short MA/Long MA CrossOver

Short
Price/Short MA CrossUnder
Price/Long MA CrossUnder
Short MA/Long MA CrossUnder

Exit Long(Optinal)
Price/Short MA CrossUnder
Price/Long MA CrossUnder
Price/Exit MA CrossUnder

Exit Short(Optinal)
Price/Short MA CrossUnder
Price/Long MA CrossUnder
Price/Exit MA CrossUnder

Regression Strategy.lua
(24.57 KiB) Downloaded 733 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Regression Strategy

Postby 4x4partners » Fri May 08, 2015 8:42 am

Hi Apprentice,

Thanks for this one, really like it.

Might it be possible to add another Exit Long option:
CrossUnder of Fast MA/Exit MA
and Exit Short option:
CrossOver of Fast MA/Exit Ma

Also would be great to have an option for MTF's. So TF for each MA can be user-specified.

Thanks a lot, really appreciate it.

Best
4x4
4x4partners
 
Posts: 53
Joined: Thu Apr 09, 2015 7:23 am

Re: Regression Strategy

Postby Apprentice » Tue May 12, 2015 4:12 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Regression Strategy

Postby xpertizetrading » Fri Jul 10, 2015 12:19 am

Is it possible to create a much simpler version of this strategy?

Price CrossOver Regression: Buy
Price CrossOver Regression: Sell

Regression setting: (open,high,low,close)

Thanks and Regards,
Xpertize Trading
xpertizetrading
 
Posts: 60
Joined: Fri Nov 22, 2013 12:30 pm


Re: Regression Strategy

Postby Apprentice » Mon Jan 15, 2018 8:12 am

The strategy was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
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 14 guests