OPEN-SOURCE SCRIPT

Parabolic SAR MARSI, Adaptive MACD [Loxx]

Mis à jour
Parabolic SAR MARSI, Adaptive MACD is a trend following indicator that combines MACD, Parabolic SAR, and RSI into a signal indicator.

What is Parabolic SAR?
The parabolic stop and reverse, more commonly known as the "Parabolic SAR," or "PSAR" is a trend-following indicator developed by J. Welles Wilder. It is displayed as a single parabolic line (or dots) underneath the price bars in an uptrend, and above the price bars in a downtrend.

What is MACD?
Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period exponential moving average (EMA) from the 12-period EMA.

What is RSI?
The relative strength index (RSI) is a momentum indicator used in technical analysis that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset. The RSI is displayed as an oscillator (a line graph that moves between two extremes) and can have a reading from 0 to 100. The indicator was originally developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, “New Concepts in Technical Trading Systems.”

How to combine PSAR, MACD, and RSI into one:
1. Create a new type of moving average called MARSI. MARSI is like a typical moving average but it flexes to RSI sensitivities
2. Calculate MACD for the MARSI of High/Low values
3. Calculate the midpoint MACD between the High/Low MACDs created in step 2
4. Create a final MACD by calculating the MARSI for the midpoint MACD created in step 3
5. Finally, Inject these values into a customized Parabolic SAR function

Results:
-A unique spin on three different indicators that identifies trends of both RSI, MACD, and price of the underlying asset
-Entry, exit, and reversal points in price, RSI, and MACD
-A MACD that adapts to RSI

What's Included?
-Customization of all variables
-A variety of moving averages to smooth the signal line
-Customizable colors
-Alerts for MACD zero-line and signal crosses, and PSAR trend direction changes

Things to know:
-The histogram in this indicator is NOT the normal histogram found in the classic MACD indicator. The histogram here is a histogram of MACD itself. The classic histogram has questionable utility but the histogram in this indicator is very important and useful
-Parabolic SAR is calculated on the MARSI of High/Low values

Future releases:
-Divergences
-Regular, continuation, and exit signals

Happy trading!
Notes de version
Corrected an input labeling error
Notes de version
Corrected input groupings
Moving Average Convergence / Divergence (MACD)marsimovingaverageconvergencedivergenceParabolic Stop and Reverse (PSAR)psarRelative Strength Index (RSI)

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Aussi sur:

Clause de non-responsabilité