evanevans
Active member
I have an obsession with stocks that have gorgeous charts. And one of the factors that makes a chart "gorgeous" to me, is that is has a strong trend coupled with low volatility and high performance. Some excellent examples are the daily charts on MSFT and LULU to name a few. Aside from pandemics and giant market pullbacks, those stocks have great resiliency, and when they consolidate, they go sideways, not down.
One of the ways you can visually see how resilient a stock is over time, is by checking it's drawdowns in %.
I searched around the web and forum for a ThinkScript indicator to show drawdown %, and could not find that anyone has created a drawdown % indicator. It's an excellent indication of risk and volatility. When you divide the return over time by the risk over the same time, you get the Sortino ratio, which is a measure of how much reward you are getting for your risk. So, being able to see drawdown in relationship with a stock which is ripping and roaring can help you know if it's a good or poor opportunity. No matter what timeframe you are on, being able to visualize it, can really help you assess if you want to get into the position or not.
Now, in my mind, there are two ways to display this.
One, is how you would see it on portfolio manager's risk charts. A zero line represents days where it's making new highs. Anytime price drops below the all time high, it becomes subtracted and shown in percent from high, in the indicator.
Two, is on the chart itself, as a cloud above any lower price action. Essentially, new highs dictate the new level, and anytime price goes under the recent high, a cloud level remains above it, almost like the stock is going underwater.
If anyone is keen on giving a try at coding this, I'm happy to work with you on it ... in concept. I am not a very skilled programmer. I could probably figure this out, and will try this weekend if no one steps forward, but it'd be great if anyone had the interest and talent to help code it.
Looking forward to seeing how far this goes!
One of the ways you can visually see how resilient a stock is over time, is by checking it's drawdowns in %.
I searched around the web and forum for a ThinkScript indicator to show drawdown %, and could not find that anyone has created a drawdown % indicator. It's an excellent indication of risk and volatility. When you divide the return over time by the risk over the same time, you get the Sortino ratio, which is a measure of how much reward you are getting for your risk. So, being able to see drawdown in relationship with a stock which is ripping and roaring can help you know if it's a good or poor opportunity. No matter what timeframe you are on, being able to visualize it, can really help you assess if you want to get into the position or not.
Now, in my mind, there are two ways to display this.
One, is how you would see it on portfolio manager's risk charts. A zero line represents days where it's making new highs. Anytime price drops below the all time high, it becomes subtracted and shown in percent from high, in the indicator.
Two, is on the chart itself, as a cloud above any lower price action. Essentially, new highs dictate the new level, and anytime price goes under the recent high, a cloud level remains above it, almost like the stock is going underwater.
If anyone is keen on giving a try at coding this, I'm happy to work with you on it ... in concept. I am not a very skilled programmer. I could probably figure this out, and will try this weekend if no one steps forward, but it'd be great if anyone had the interest and talent to help code it.
Looking forward to seeing how far this goes!
Last edited: