OPEN-SOURCE SCRIPT

MACD + PSAR Setup

Updated
This indicator combines 3 elements:-
1. MACD which will act as a source of potential Buy Signal
2. PSAR which provides the confirmation for buy signal and for potential Buy on Dip Strategy
3. Breakout candles which provides the confirmation signal for Buy on Breakout strategy
4. The direction of the trend is provided by the Exponential Moving Average

The strategy is to have any counters which has triggered the MACD Golden Cross signal. These counters are to be out under watchlist for further confirmation.

The Buy Signal is confirmed when:-
1. Price is above EMA Direction(standard is set at 200)
2. PSAR has given the Buy Signal OR a Breakout Candle occurs.

Buy Signal is shown with a Green Diamond symbol whilst the Sell Signal is shown in Red Diamond Symbol.
The bullish and bearish condition is set via a green and red background

The MACD and PSAR codes are derived from the standard codes which is available in tradingview.
Release Notes
Updated to include alerts.

You can now add alerts using this indicator.
Exponential Moving Average (EMA)Moving Average Convergence / Divergence (MACD)Parabolic Stop and Reverse (PSAR)

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?


Also on:

Disclaimer