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.

Notes de version:
Fixed the default stdev
Notes de version:
Changed a default background colour to make things more visible when using both backgrounds.
Notes de version:
Updated tool tip...
Notes de version:
ease of use fix
Notes de version:
Update default
Notes de version:
minor fix
Notes de version:
Minor tool tip fix
Notes de version:
Fixed the "J" line colour.
Notes de version:
Updated tool tips.
Notes de version:
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.
Notes de version:
I also removed the extra lsma line.
Notes de version:
@TransitMan suggested this feature.

Added pivots
Notes de version:
quick fix like usual

Script open-source

Dans le véritable esprit de 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 le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?