pauls0101

ATR with Impulse Alerts

pauls0101 Обновлено   
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.

Хотите использовать этот скрипт на графике?