Not sure if this is possible or if maybe it has been done before but I am looking for a way to have an alert go off and change the color of the background on a chart temporarily when either price has a surge or volume surge happens?
Your answer is, Yes, you can get a sound Alert() and members have also coded chart background changes when conditions are met... But, as @BenTen stated, we need something to work from to give code examples...
This is great work in my view. I am trying to change this so that one can pick different conditions (different types of moving averages for instance). My severe limitations with ThinkScript are making my efforts futile. If I figure it out I will post. If anyone else has an example of this I would certainly appreciate it.
As always, thanks to all of the technical experts on this forum who are so generous with their time. It is very much appreciated!
So I created this basic label and used today, works fine but really need a sound alert when changes from red to green...or green to red
as I miss the change if I am busy. Is this even possible? Thanks for any help.
def mah13 = hullMovingAvg("length" = 13) ;
addLabel(1, "MAW back2", if mah13 > mah13 then color.green else color.red);
@jcga1981 The method @XeoNoX mentioned will work, but it is a once-and-done Alert... If you want to be alerted every time those target prices are hit you can create a Scan and set it to send an Alert every time either of those conditions are met... I currently have three such Alerts running to notify me of specific conditions throughout the trading day... I get alerts every 3 - 7 minutes from each Alert... Granted, a Chart Alert will be more responsive due to being real-time, but the delay on the Scan-based Alerts helps filter out false breakouts... Food for thought...