simwai

Swing Distance

simwai Aggiornato   
Hello fellas,

This simple indicator helps to visualize the distance between swings. It consists of two lines, the highest and the lowest line, which show the highest and lowest value of the set lookback, respectively. Additionally, it plots labels with the distance (in %) between the highest and the lowest line when there is a change in either the highest or the lowest value.

Use Case:
This tool helps you get a feel for which trades you might want to take and which timeframe you might want to use.

Side Note: This indicator is not intended to be used as a signal emitter or filter!

Best regards,
simwai
Note di rilascio:
Changed behaviour of the Highest/Lowest change detection to recognize if the next high is higher than the high before and if the next low is lower than the low before to fix a bug.

Added two modes: "Pivot Point" and "Highest/Lowest".
The "Pivot Point" mode shows less distance measurements than the "Highest/Lowest" mode, because it only detects the top of the highest line movement and the bottom of the lowest line movement.

To update the description:
This is the calculation of the distance:
(highest close - lowest close) / close * 100
Note di rilascio:
Fixed bar_index bug

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?