LeoTheMors

(2) Two Alerts

LeoTheMors Telah dikemas kini   
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.
Nota Keluaran:
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
Nota Keluaran:
Now the horizontal lines are solid on full length.
Nota Keluaran:
Now matching close with levels to break. Before was using highs and lows.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?