OPEN-SOURCE SCRIPT

MA + MACD alert Trends

Updated
This is a strategy/combination of warning indicators using 6MA+MACD.

The strategy details are as follows: This is a simple warning strategy created so that we don't have to monitor the candlestick chart too often.

Note: This isn't an entry strategy; it's a signaling strategy for upcoming trends. For maximum efficiency, we should incorporate more formulas into the command. In the case below, I use Fibonacci to enter the command.
This strategy setting works for a 15-minute time frame, but it can still work for different time frames.
It has been working well with Gold and USOIL for the last two years, as well as with currency pairs like EURUSD and many others.

Components:
EMA100 + EMA200 + MA400 + MA800
MACD (timeframe greater than 1 timeframe)
Fibonacci retreat.

Uptrend alert:
Candles on both EMAs (100-200) + 2 SMAs (400-800)
In the previous 80 candles:
EMA100 cross up to EMA200
At the same time, the MACD cross up 0.
The uptrend warning will trigger when EMA6 cuts down to MA10. That's when the price creates the top and we'll wait for the market to go back to the Fibonacci threshold of 0.618 and start buying (or wait for markets to break up the trendline to buy).

Downtrend alert:
Candles are below both EMAs ( 100-200 ) + 2 SMAs ( 400-800 )
In the previous 80 candles:
EMA100 cross down to EMA200
At the same time, the MACD cross down zero.
The downtrend warning will trigger when EMA6 cuts to MA10. That's when the price creates a bottom and we'll wait for the market to go back to the Fibonacci threshold of 0.618 and start selling (or wait for the market to break down the trendline to sell).

Recommended RR: 1:1

If you have any questions please let me know!
Release Notes
Update version 5.0:
- Improved noise cases to provide earlier warnings when the market reverses strongly.
- Larger warning flags for easy visibility
Release Notes
Update: Fine-tune EMA and MACD parameters for maximum efficiency. In particular, this update will make the indicator easier to see.
Release Notes
Update: Upgrade more options for MA
EMASmacdivergenceMonthly ChartsMoving AveragesmultitimeframeOscillatorstrends

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer