Eervin123

Parabolic SAR with the ADX overlay

The following indicator and chart pattern is based on a twist from Welles Wilder's parabolic stop and reverse. This is a trend following system which is essentially a dynamic trailing stop loss for longs and shorts. The system is often criticized for it's poor performance in choppy rangebound markets so people often combine it with other signals that attempt to identify a "trend" the ADX is a popular indicator with three indicators, the DI+ "Positive Directional Indicator" the DI- "Negative Directional Indicator" and then a combination of the two, the ADX "Average Directional Indicator". Generally speaking, if the DI+ is above the DI- and the ADX is greater than 25 then we are in a positive trending market. If the DI+ is less than the DI- and the ADX is greater than 25 then we are in a negative trending market. If the ADX is less than 25 then there is no trend in place and we are in a range bound "choppy market".

So, I created this chart to show when the ADX is > 25 (or you can enter your own number) and the DI+ is > DI- then the background will be green. Vice versa, when the ADX is >25 and the DI+ is < DI- then we are in a negative trending market and the background color will be red. If the ADX is < 25 (or whatever you choose) then we are in a choppy 'range-bound" market.

Regarding the ParSAR. Pay attention to the "+" marks. they indicate whether we are bullish or bearish. When we cross through a + then we revert to the opposite. "Stop And Reverse". They are a simple calculation of a starting percentage, an incremental increase in that percentage, and a max percentage increase. If you want your system to trade less, decrease the "maximum" If you want it to trade more, increase the maximum.

Tinker around with these and you might find a healthy strategy you can trade on.

If you add Take Profit Targets and Stop Loss Targets, this is an even more productive strategy. Try it out on ETHUSDT with a 2hr time horizon and 0.02, 0.023, 0.2.

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?