LeoTheMors

(2) Two Alerts

LeoTheMors Atualizado   
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.
Notas de Lançamento:
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
Notas de Lançamento:
Now the horizontal lines are solid on full length.
Notas de Lançamento:
Now matching close with levels to break. Before was using highs and lows.
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?