OPEN-SOURCE SCRIPT
Diupdate ATR with Impulse Alerts

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!
Catatan Rilis
Update: I also added a plot for the actual range of each bar since I found myself calculating it occasionally.Catatan Rilis
Reordered plots.Catatan Rilis
Several updates to the format and visibility of the indicator.Catatan Rilis
Added a minimum size setting for the impulse move bars.Catatan Rilis
Added the option to adjust the filter by another ATR multiplier rather than flat values so it works across more assets.Catatan Rilis
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.Catatan Rilis
Updated to v5 and added a multiplier for easily using with other indicators for SL/TP.Catatan Rilis
Updated to plot the multiplied ATR. Oops.Catatan Rilis
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.Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.