pauls0101

ATR with Impulse Alerts

pauls0101 Aggiornato   
This is a very simple script which simply plots an ATR (the built-in ATR function, using RMA) and plots a cross when the previously closed bar is larger than the ATR by a given threshold. There are also alert conditions set so you can be alerted when these impulse bars show up, either up or down bars. Have fun and safe trading!
Note di rilascio:
Update: I also added a plot for the actual range of each bar since I found myself calculating it occasionally.
Note di rilascio:
Reordered plots.
Note di rilascio:
Several updates to the format and visibility of the indicator.
Note di rilascio:
Added a minimum size setting for the impulse move bars.
Note di rilascio:
Added the option to adjust the filter by another ATR multiplier rather than flat values so it works across more assets.
Note di rilascio:
Added an alertcondition that captures both up and down moves so alerts can be set that don't use as many alert slots if used on multiple instruments.
Note di rilascio:
Updated to v5 and added a multiplier for easily using with other indicators for SL/TP.
Note di rilascio:
Updated to plot the multiplied ATR. Oops.
Note di rilascio:
Minor updates; will need to rollback some of these updates at a later point. Trying to plot the numerics without visually updating it as it squashes the plots.
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?