Message Alert TOO long .. Shorten plz

bigpemby

New member
One of my favorite indicators/TOS studies that I use for the basis of some of my strategies is the ATR trailing stop. I am trying to find a way to generate a scan that would give me results of a recent change in this indicator. Meaning it has switched from Buy to Sell or Sell to Buy. In a perfect world I would then be able to setup alerts based on this change and in a dream world be able to setup an alert to when price is within (X) distance of the current ATR trailing stop buy or sell. Ok, that was a mouthful. Any help would be appreciated. THANKS!
 
Solution
The alert in the Message Center is too long. Is there a way to shorten this? Example of original alert:

CHART ALERT 5 d 15m chart for TSLA
ScriptName (3, 2, 0.07) Breakout

Would like to be shorten:

15m TSLA ScriptName Breakout

Thank you for your help.
Those numbers above (3, 2, 0.07) are inputs in the script. Inputs come in handy if you want to change dependent parameters quickly.

If you go edit sources, delete the inputs. (Be aware you may have to edit a lot more in the source code).

Even though TOS allows you to go back to previous versions, Make sure to BACK UP THE CODE BEFORE deleting inputs, just in case.

This is how I truncated my alerts from my custom studies.

Before
10 y D chart for LVS...
How do you prevent the extra text from appearing in alert messages?

I also have a problem of alerts being triggered for stocks that I looked prior instead of keeping it to exclusively to the current chart that I'm looking at.
 

Attachments

  • ddfsfds.png
    ddfsfds.png
    12.4 KB · Views: 113
Last edited by a moderator:
I also have a problem of alerts being triggered for stocks that I looked prior instead of keeping it to exclusively to the current chart that I'm looking at.
Alerts are running on the TDA servers. TDA has no idea which of your charts you may be currently perusing.
The study alerts will trigger for ALL charts currently populating your app.
Chart and scan alerts will trigger whether, you have any charts open.
read more:
https://usethinkscript.com/threads/answers-to-commonly-asked-questions.6006/#post-58010

To have less verbiage in your alert:
https://usethinkscript.com/threads/message-alert-too-long-shorten-plz.8117/#post-77025
 
Last edited:

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
338 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

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.

How do I get started?

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.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top