pauls0101

ATR with Impulse Alerts

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