bhnmzm

Trend Key Points

bhnmzm Actualizado   
Each trend has its high and low key points that are important in the next prices. Sometimes it's hard to find out the keys with a naked eye, so I tried to code a simple indicator to marking these points also, as a bonus, to draw support and resistance lines from previous critical pivot points.

Let me explain the details with a downtrend. If we consider the previous trend, each downtrend starts with a HH and end with a LL. There are always many tries between that HH and LL to turn the trend up. This indicator counts that inner attempts. The higher the number of attempts, the more important move has been started from the beginning (HH). These numbers take their final form when the trend ends and are included in the label at the beginning of each trend.

Key points with 3 and more inner tries are consider as critical point by default but It's alterable and you can change it as you want. The indicator draws lines from critical points too, so you can use that lines as support and resistance in next candles.

Likewise, there are marks below inner LLs and above inner HHs.

This indicator idea is entirely my own and is a product I've really thought about, AND you have allowed to use and share it anywhere to anyone. I did my best to make it useful, even so I am open to any improvement. If you have an idea or a suggestion, don't forget to leave a comment.
Notas de prensa:
Add movement step length calculation.
Notas de prensa:
Update movement step length calculation and format the label prices.
Notas de prensa:
Calculate movement step length in percent
Notas de prensa:
Changes:
- Key lines drawing options added to options panel
- Lines width option added to options panel
- Code readability improved
Notas de prensa:
Add title to pivots
Notas de prensa:
Add comments to the code
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?