Page 1 of 1

MB002-Two RL/Ref MACD-Signal Cross

PostPosted: Thu Jan 11, 2018 8:34 am
by AussieOz
Hi there,

Thank you for the great work that you and your team do.
I have searched through many of the available strategies but have not quite found what I am looking for. If possible, I would appreciate it if you could develop the following strategy for me.
Thank you and kind regards, Mike B

FXCodebase References:
• Regression_Color_Dot.lua
• MACD ON OFF COLOURED HISTOGRAM.lua

Explanation:
The strategy uses two Regression Lines, one Fast, one Slow plus the MACD/Signal Line (with Histogram turned off).
The MACD/Signal line cross over is referenced to confirm trend.
Once trend is confirmed the strategy then looks for the appropriate crossing of RLFast/RLSlow, the respective slopes of RLfast and RLSlow and, Price with respect to RLSlow.

For example:
Buy Long Position at the open of Candle Stick at (N) if Long Position Parameters are in place at (N-1):
• RLFast is Rising (Green)
• RLFast > RLSlow
• RLSlow is Rising (Green)
• Price Close > RLSlow
• MACD > Signal
Exit Long Position if: RLFast < RLSlow AND RLFast is Falling (Red)

Sell Short Position at open of Candle Stick at (N) if Long Position Parameters are in place at (N-1):
• RLFast is Falling (Red)
• RLFast < RSlow
• RLSlow is Falling (Red)
• Price Close < RLSlow
• MACD < Signal
Exit Long Position if: RLFast > RLSlow AND RLFast is Rising (Green)

Additionally:
The strategy has the option of turning ON or Off the referencing of the MACD/Signal cross over.
The strategy provides for Time Parameters to restrict trading times.
The strategy provides Trading Parameters to restrict the number of open positions, the amount traded in lots and the side of the market to be traded (Both, Buy only, Sell only).

Re: MB002-Two RL/Ref MACD-Signal Cross

PostPosted: Fri Jan 12, 2018 7:25 am
by Apprentice