Custom Alerts
I would be wonderful to have custom alerts added. This could be another builtin JS function that would allow some kind of export function for alerts.
It could be very similar to how we do custom plotters in the plotters export (inside module.exports) but instead would be:
alerts: [
predef.alerts.boolean("myAlertFunction"),
],
The alert function could return values for {i} where the condition is true, and therefore should signal an alert. It would be up to the alert addition window (the main bell icon in the tradovate window) to specify how often to trigger the alert (default could be once per bar/candle).
When making new strategy scripts it would be great to receive an audio alert every time a trade becomes available!!!
Please sign in to leave a comment.
Comments
1 comment