Adding Clouds to Aroon Indicator

Hey guys, I just recently started implementing the Aroon Indicator in my trading. There are a lot of different facets to it, and I find that during intraday I'm looking at so many other things that sometimes I miss out on profitable moves. Anyway, what I would like to do is to add a cloud between the two lines, anytime one of the lines is over 90 at the same time that the other line is less than 10. I screenshot a pic and photoshopped some clouds onto it to show what I mean. Any help appreciated!

https%3A//i.imgur.com/Tbok3Hi.jpg[/img]']
Tbok3Hi.jpg
 
Solution
@Darth Tradicus copy the AroonIndicatior code to a new study and add this:
Ruby:
AddCloud(if Up > 90 and Down < 10 then Up else Double.NEGATIVE_INFINITY, if Up > 90 and  Down < 10 then Down else Double.NEGATIVE_INFINITY,color.CYAN);
AddCloud(if Up < 10 and Down > 90 then Down else Double.NEGATIVE_INFINITY, if Up < 10 and  Down > 90 then UP else Double.NEGATIVE_INFINITY, color.MAGENTA);
@Darth Tradicus copy the AroonIndicatior code to a new study and add this:
Ruby:
AddCloud(if Up > 90 and Down < 10 then Up else Double.NEGATIVE_INFINITY, if Up > 90 and  Down < 10 then Down else Double.NEGATIVE_INFINITY,color.CYAN);
AddCloud(if Up < 10 and Down > 90 then Down else Double.NEGATIVE_INFINITY, if Up < 10 and  Down > 90 then UP else Double.NEGATIVE_INFINITY, color.MAGENTA);
 
Solution

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

@Darth Tradicus copy the AroonIndicatior code to a new study and add this:
Ruby:
AddCloud(if Up > 90 and Down < 10 then Up else Double.NEGATIVE_INFINITY, if Up > 90 and  Down < 10 then Down else Double.NEGATIVE_INFINITY,color.CYAN);
AddCloud(if Up < 10 and Down > 90 then Down else Double.NEGATIVE_INFINITY, if Up < 10 and  Down > 90 then UP else Double.NEGATIVE_INFINITY, color.MAGENTA);
awesome! works perfectly, thank you!
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
424 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