A part of the code uses security calls to obtain true strength of the Nasdaq, S&P and VIX in order to obtain market strength as a whole. This is combined with Stochastics and RSI to give a clever visual that works and also has alerts built in.
This uses same timeframe security calls in this version 4 code but mitigated any repainting.
Let me know what you think :)
Added a third alert for "change" to show consolidated buy or sell alert occurrences - allows for one alert to be used per symbol instead of two.