TradingView
millerrh
Jun 30, 2021 4:24 AM

SPX Intraday Mood Indicator 

S&P 500 IndexTVC

Description

The SPX Intraday Mood Indicator tries to gauge the intraday market direction of the S&P 500 (SPX) by focusing on internal market data.
Based on the 0DTE Mood Indicator concept. Overall strength/weakness is converted into a directional Mood Percentage which can help with choosing a trade type.
Use at your own risk and discretion. Potential trade ideas offer no guarantees. Intraday Charts Only. Turn off extended hours data. Only works on SPX.
This first version is untested and I am only sharing it to gather feedback on its accuracy, use at your own risk.

Release Notes

Fixed many of the issues in the initial release. I now feel like this is mostly correct. Note that it uses NYSE internal data and not S&P data due to limitations from TradingView. I'm hoping it's a good proxy.

Release Notes

For some reason the previous upload was of a previously saved version by mistake.

Release Notes

Swapped out the Sector Pull for Highly Weighted Pull - Uses a weighted average of the 10 highest market cap stocks in the S&P and calculates the difference between their net change and the net change of the entire index. Heavily weighted stocks tend to control the direction of the index, either extending gains and losses or holding it within the current range.

Release Notes

The heavily weighted pull was not displaying as I had intended in the last script. This new one does - it is the weighted average of the top 10 stocks in the S&P minus the S&P itself. So the % difference you see in the dashboard is apples-to-apples.

Release Notes

Updating to Pine v5, redefining the heavily weighted stocks, and making it simpler for updating heavily weighted stocks in the future.

Release Notes

Updated the weights for the top 10 heavily weighted stocks and pulled them into the input box so the user can update these themselves without having to wait for me to push code with updated weights.

Release Notes

Fixed an error in how the weights were displayed in the input dialog.

Release Notes

Updated top 10 stocks in S&P 500.
Added a cell for VIX in the dashboard to keep an eye on VIX right from within the indicator.
Comments
Trendoscope
Fantastic job. Kudos!!
Rstriker79
What timeframe would you recommend using it on?
millerrh
@Rstriker79, Something to play around with to see what works for you. There are some components in here the look at trend data, so for that reason, when it is first thing in the morning, some of what you see will be trend data from the previous day. Best readings for the current day will come after three bars on whatever timeframe you are on. So typically in the early morning, I'll use a 3-minute chart through 10-minutes after open. Then as the day goes on and I'm watching things, I'll typically leave it on the 5 or 15 minute to get a current gauge on sentiment. No hard and fast rule for this though so use what makes sense.
hushedRock58569
This is absolutely an indispensible indicator for me. Watching the tick when they hit the accelerator and being able to glanceably remain market aware is incredible. PLEASE add either the ability to add columns to the dashboard for another ticker or specifically add the TVC VIX as it's own column. Having the VIX in real time with the background going red/green depending on current VIX movement is the only thing missing from this.
millerrh
@hushedRock58569, That's a great idea and would be easy enough to implement. I'll put it on my list of things to do.
millerrh
@hushedRock58569, VIX has just been added to the dashboard.
CarlosGBR
@millerrh, Awesome!
eliyoung7979
nice, Your scripts are super light... pragmatic... Thank you
More