Two Regression Lines MACD Strategy

Strategies are published here.

Moderator: admin

Two Regression Lines MACD Strategy

Postby Apprentice » Fri Jan 12, 2018 7:24 am



Open Long
• RLFast is Rising (Green)
• RLFast > RLSlow
• RLSlow is Rising (Green)
• Price Close > RLSlow
• MACD > Signal

Exit Long:
RLFast < RLSlow AND RLFast is Falling (Red)

Vice versa for Short

Regression_Line.lua is available here.
Two Regression Lines MACD Strategy.lua
(28.71 KiB) Downloaded 79 times
User avatar
FXCodeBase: Confirmed User
Posts: 20115
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two Regression Lines MACD Strategy

Postby AussieOz » Mon Jan 15, 2018 8:49 am

Thank you for doing this so promptly Apprentice. I have tested the strategy a number of times. The Regression Line cross over appears to be working well but whilst I can generate a positive result for the strategy with some inputs, the reference to the MACD/Signal for trend appears to be offering minimal benefit. Back to the drawing board I think. Thanks again. Mike
Posts: 5
Joined: Sat Aug 28, 2010 11:52 pm

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 5 guests