jwammo12

Hi-Lo Trend

jwammo12 Aggiornato   
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.
Note di rilascio:
added some comments : )

Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?