jwammo12

Hi-Lo Trend

jwammo12 Atualizado   
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 Lançamento:
added some comments : )

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?