def abc = x;
plot data = abc;
Alert(data, " ", Alert.Bar, Sound.Chimes);
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
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...Hey Ben,
Sorry I have no code as of right now I was asking if something like that had already been created
def mah13 = hullMovingAvg("length" = 13) ;
addLabel(1, "MAW back2", if mah13 > mah13[1] then color.green else color.red);
did research could not find anything I could make work most are for price or crossovers I need for change in direction of single indicator!Did you read the TOS instructions for setting up an alert? Where did you run into a problem?
HTH
- Here are guidelines for what we need to assist posters asking for help.
- Here is an explanation of how the different alerts work on the TOS platform and some of their limitations.
Alert(mah13 > mah13[1] and mah[1] < mah13[2], "reversal to uptrend", Alert.Bar, Sound.bell);
Alert(mah13 < mah13[1] and mah[1] > mah13[2], "reversal to downtrend", Alert.Bar, Sound.ding);
volume > 2500
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
R | Darvas Box alert sound and arrow | Questions | 0 | |
P | Script to create sound of popup alert when indicator hit certain value | Questions | 1 | |
E | Sound alert help | Questions | 10 | |
How to set the sound ALERT to trigger with new ORDER and not each BAR? | Questions | 3 | ||
M | Issues with Alert Sound | Questions | 2 |
Start a new thread and receive assistance from our community.
useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.
We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.
If you are new, or just looking for guidance, here are some helpful links to get you started.