Alert Messages

Alert Messages



In this page, you will learn about how Alert Messages work in the StratBuilder.




To activate these alerts, follow these simple steps:


1. Hover over the StratBuilder name on the chart and click on the icon with the three dots at the very right.

2. Then click ‘Add alert on StratBuilder…’



3. In the ‘Message’ box, input this exactly:

{{strategy.order.alert_message}}



4. Give it any title you want, and then click ‘Create’ and your alert is now set!




So when do the specific alert messages fire off?


  • Alert Message for Entry’ - The alert for this message will be triggered when a trade is entered.


  • Alert Message for Exit’ - The alert for this message will be triggered when the script exits a trade upon closure (not off a take-profit or stop-loss).


  • Alert Message when TP is hit’ - The alert for this message will be triggered when the script exits a trade by hitting the take-profit.


  • Alert Message when SL is hit’ - The alert for this message will be triggered when the script exits a trade by hitting the stop-loss.

StratBuilder-Specific Placeholders:
In your automation commands, you can refer to the stop-loss price as:
{{plot_0}}
You can refer to the take-profit price as:
{{plot_1}}
There’s also an ‘Order Size’ input at the very bottom of the indicator. The number you input there will be divided by the price of the asset. This was mainly added for crypto trading, and is not recommended for forex and futures. The 'Order Size' can be referred to in your automation command as:
{{plot_2}}