LNL Trend System for ThinkOrSwim

Thanks. Are they added in the end of script? I'd like to get alert on mobile.

The above code snippet is for alerts written into studies. Yes, they are appended to the end of the script.

They alert for all charts / grids currently populating your app, whether they are minimized or not.
They cannot be sent to phone/email. They cannot have custom sounds.
https://usethinkscript.com/resources/how-to-add-alert-script-to-thinkorswim-indicators.9/
https://toslc.thinkorswim.com/center/howToTos/thinkManual/MarketWatch/Alerts/studyalerts

To read more about alerts:
https://usethinkscript.com/threads/answers-to-commonly-asked-questions.6006/#post-58010
 
Last edited by a moderator:
Hi @samer800 This indicator works amazing! could you please make a scan when the cloud color changes from green to red for bearish and red to green for bullish? It might 2 different scans. I am attaching an image to show. also, can you please add arrows to show the stop line trend is changing? thank you very much in advance. this scan will work amazingly. I am tracking this indicator and trading according to an almost 80% success rate.

@samer800 is there anyway this indicator will work on the tick chart as well?
 

Attachments

  • 2.jpg
    2.jpg
    177.9 KB · Views: 112
i see the clouds color change automatically when candle(s) breaks and stays under/above previous trend line and stop line.. So if you could plot BUY/SELL signal where color change of clouds are happening then that would be great.
 

Attachments

  • 2024-07-13-TOS_CHARTS.png
    2024-07-13-TOS_CHARTS.png
    58.4 KB · Views: 120
Last edited by a moderator:
Trend Change Arrows
Append this snippet to the bottom of your study
Ruby:
plot upsignal = if p1 crosses above p2 then p2 else double.NaN ;
upsignal.SetPaintingStrategy(PaintingStrategy.ARROW_up);
upsignal.SetDefaultColor(color.cyan) ;
upsignal.SetLineWeight(3);

plot dnsignal = if p1 crosses below p2 then p2 else double.NaN ;
dnsignal.SetPaintingStrategy(PaintingStrategy.ARROW_DOWN);
dnsignal.SetDefaultColor(color.magenta) ;
dnsignal.SetLineWeight(3);

V8TSv1h.png


Set up your scan condition:
upsignal is true
or
dnsignal is true

For directions on how to put your scan condition into the Scan Hacker:
https://usethinkscript.com/threads/how-to-use-thinkorswim-stock-hacker-scans.284/


For a discussion on getting indicators to work on tick charts:
https://usethinkscript.com/threads/lnl-trend-system-for-thinkorswim.16525/#post-142980

@astro_phx @Arun85
 
Last edited by a moderator:
Trend Change Arrows
Append this snippet to the bottom of your study
Ruby:
plot upsignal = if p1 crosses above p2 then p2 else double.NaN ;
upsignal.SetPaintingStrategy(PaintingStrategy.ARROW_up);
upsignal.SetDefaultColor(color.cyan) ;
upsignal.SetLineWeight(3);

plot dnsignal = if p1 crosses below p2 then p2 else double.NaN ;
dnsignal.SetPaintingStrategy(PaintingStrategy.ARROW_DOWN);
dnsignal.SetDefaultColor(color.magenta) ;
dnsignal.SetLineWeight(3);

V8TSv1h.png


Set up your scan condition:


For directions on how to put your scan condition into the Scan Hacker:
https://usethinkscript.com/threads/how-to-use-thinkorswim-stock-hacker-scans.284/


For a discussion on getting indicators to work on tick charts:
https://usethinkscript.com/threads/lnl-trend-system-for-thinkorswim.16525/#post-142980

@astro_phx @Arun85
Perfect! Thanks a bunch!!
 
Last edited by a moderator:

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
387 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