pauls0101

ATR with Impulse Alerts

pauls0101 Actualizado   
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!
Notas de prensa:
Update: I also added a plot for the actual range of each bar since I found myself calculating it occasionally.
Notas de prensa:
Reordered plots.
Notas de prensa:
Several updates to the format and visibility of the indicator.
Notas de prensa:
Added a minimum size setting for the impulse move bars.
Notas de prensa:
Added the option to adjust the filter by another ATR multiplier rather than flat values so it works across more assets.
Notas de prensa:
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.
Notas de prensa:
Updated to v5 and added a multiplier for easily using with other indicators for SL/TP.
Notas de prensa:
Updated to plot the multiplied ATR. Oops.
Notas de prensa:
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 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?