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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?