OPEN-SOURCE SCRIPT

Parabolic SAR MARSI, Adaptive MACD [Loxx]

Cập nhật
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!
Phát hành các Ghi chú
Corrected an input labeling error
Phát hành các Ghi chú
Corrected input groupings
Moving Average Convergence / Divergence (MACD)marsimovingaverageconvergencedivergenceParabolic Stop and Reverse (PSAR)psarRelative Strength Index (RSI)

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm