OPEN-SOURCE SCRIPT

Key Level Alerts v1.0

238
Improving upon the functionality of the Spaceman BTC Key levels indicator, this script that paints key levels on the chart based on past candle data and allows the user to determine which levels are shown and which levels trigger alerts. Alerts can be set to occur on any timeframe and can trigger as price crosses the key level or at the end of the bar if price crossed in the scope of the bar. The following levels can be set:

Daily Open
Previous day high/low/mid
Asia 2 hour opening range
London 1 hour opening range
Monday high/low

Weekly open
Previous week high/low/mid

Monthly open
Previous month high/low/mid

Quarterly open
Previous quarter high/low/mid

Yearly open
Yearly high/low/mid

The inputs screen allows the user to set the color of each of indicator, whether the level is displayed on the chart, and whether or not it should trigger an alert if price crosses the level. Alerts are set using the following options when creating the alert:

Conditions: Key Level Alerts v1.0 (1X Bar), Any Alert() function call

The Any alert() function call setting will activate alerts for any of the levels selected in the alerts section of the inputs screen.



Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.