I've been playing around a bit with strategies in ToS and I was hoping this was a rather easy question. Along with printing on the chart, I'd like to add an audio alert to when it's printed, as well.
Based off the following AddOrder code, is there somewhere in this syntax I could add the alert option?
I have a different line to "Alert(" under the same conditions, but its rather messy and doesn't seem to be working on close conditions - only entries.
Any help would be greatly appreciated, thank you!
Based off the following AddOrder code, is there somewhere in this syntax I could add the alert option?
Code:
AddOrder(OrderType.SELL, trading_time and (exit) and (exitconditions()) , tickcolor = Color.WHITE, arrowcolor = Color.WHITE, name = "SELL POINT ENTRY");
I have a different line to "Alert(" under the same conditions, but its rather messy and doesn't seem to be working on close conditions - only entries.
Any help would be greatly appreciated, thank you!