TradeZoro
Notifications

Cookbook

Level alert with a message

Build the message from your own settings.

//@zscript 1
indicator("Level alert", overlay=true)
level = input.float(100.0, "Level")
hline(level)
if ta.crossover(close, level) and barstate.isconfirmed
    alert("Close above " + str.tostring(level, "#.##"))

How it works

The message is built from the number you chose in the settings.

Education only. Not financial advice. Examples are teaching samples, not trading results.

Zscript is coming soon

The manual opens when Zscript launches.

Back to home