LeoTheMors

(2) Two Alerts

LeoTheMors Обновлено   
Current Trading View free plan allows only ONE active alert.

This simple indicator Allows to trigger this ONE and ONLY alert when price reaches Higher, or Lower price level.

You can set levels and turn alerts for them on/off in settings, or by just drag-n-dropping Horizontal lines on the chart.

To set the only alert you need to create new alert, and change it's following parameters :
condition : 2alerts
Any alert function() call

Feel free to modify it on your needs.
Информация о релизе:
Indicator allows to trigger ONE alert in two different cases :
1. Price is Higher the predefined variable
2. Price is Lower the predefined variable

So basically it allows to use ONE alert as TWO alerts.
(It could be very useful for those who have FREE account like me ;) )

Instruction how to use :
1. Set necessary price levels to be alerted in indicator settings, or just move the horizontal lines.
2. Create new alert in the TV interface, and set it's condition values to :
2alerts
Any alert() function call
Информация о релизе:
Now the horizontal lines are solid on full length.
Информация о релизе:
Now matching close with levels to break. Before was using highs and lows.
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

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