jwammo12

Hi-Lo Trend

jwammo12 Actualizado   
This script uses the most recent low/high and candle size to determine trend breakouts.

The trend is determined buy whether the most recent price extreme within the Lookback period is a high or low. If it is a most recent high, it is an uptrend, if it is a lwo, a downtrend.

Bands are created using the average absolute difference of current minus previous close over the MABandPeriod, multiplied by the MABandMultiplier.
If the current close minus previous close is above/below the band, then a blue dot is painted and it is a breakout.

a buy alert fires when a downtrend becomes an uptrend and a breakout above the bands happens.

A sell alert fires when an uptrend becomes a downtrend and a breakout below the bands happns.
Notas de prensa:
added some comments : )

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?