peacefulLizard50262

H/L Price Band with Signal Line (PBS)

This indicator centers a moving average around the hl2 of the price. This is calculated as the difference of two moving averages. The upper band is a 9 period exponential moving average, the lower band is a 7 period moving average and the center line is the average between the two. The "Fast Line" is our signal line in this oscillator. When the price is hovering around the center of the band this indicates that a trend is pausing or reversing. When the fast line exits the band this could be a buy or sell signal. It could also indicate a very strong trend in that direction. To get the optimal entry and exit you might want to wait for the price to return to the center line. In addition to the basic functionality of this indicator I have added some bonus features. You can enable the "Slow Line" or the "Long Line" to enhance your signals. When the fast line is above the slow/long line you are in an up trend and inversely when the fast line is below the slow/long line you are in a down trend. The crossing of these lines can indicate a reversal. I have also included a "J" style amplification line. This works by enhancing the difference between the Fast and Slow/Long line to make it more visually apparent. You can also configure the "J" line to be calculated between either the slow or long line. Finally I have added the feature to amplify the band width by the standard deviation. This is set to 1 by default but you can also get a more responsive signal by setting this to 0.
This indicator works in most markets. There is a tool tip for every aspect of this indicator explaining how everything works. I hope you are very profitable with this one!
If you find this indicator is useful to you, Star it, Follow, Donate, Like and Share.
Your support is a highly motivation for me.

發布通知:
Fixed the default stdev
發布通知:
Changed a default background colour to make things more visible when using both backgrounds.
發布通知:
Updated tool tip...
發布通知:
ease of use fix
發布通知:
Update default
發布通知:
minor fix
發布通知:
Minor tool tip fix
發布通知:
Fixed the "J" line colour.
發布通知:
Updated tool tips.
發布通知:
Fresh refactor. Let me know if you want any of the old feature back. I added normalization and a convergence divergence histogram. I removed the background colors and the ability to change the sources. Lead and Lag line are HL2, high line is High and low line is Low. It still works the same as always.

To recap the function, this indicator lets you see where the live price is relative to the average high and low. You can also multiply the band by a standard deviation to give you a real time Bollinger band oscillator that uses the average high and low instead of the mean.

Enjoy and let me know if you want any features back.
發布通知:
I also removed the extra lsma line.
發布通知:
@TransitMan suggested this feature.

Added pivots
發布通知:
quick fix like usual

開源腳本

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

免責聲明

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

想在圖表上使用此腳本?