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.

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

Added pivots
Notas de Lançamento:
quick fix like usual

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?