OPEN-SOURCE SCRIPT
更新済 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!
リリースノート
Update: I also added a plot for the actual range of each bar since I found myself calculating it occasionally.リリースノート
Reordered plots.リリースノート
Several updates to the format and visibility of the indicator.リリースノート
Added a minimum size setting for the impulse move bars.リリースノート
Added the option to adjust the filter by another ATR multiplier rather than flat values so it works across more assets.リリースノート
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.リリースノート
Updated to v5 and added a multiplier for easily using with other indicators for SL/TP.リリースノート
Updated to plot the multiplied ATR. Oops.リリースノート
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.オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。