The Fed Net Liquidity indicator is a concept discovered by Max Anderson to calculate the fair value of SPX (S&P 500 Index). The formula he shared on Twitter consists of …
How to Use Double.NaN in thinkScript (With Examples)
You might have heard of the term NaN. It is short for “not a number,” and it means that a value is undefined. In thinkScript, the Double.NaN syntax “returns the …
How To Highlight Recessions on ThinkorSwim Chart
This indicator automatically highlights periods of U.S recession on your ThinkorSwim chart. The data comes from the FRED’s USRECD time series. A value of 1 denotes a recessionary phase on …
New 52-Week Highs and Lows Indicator for ThinkorSwim
The New 52-Week Highs and Lows indicator for ThinkorSwim measures the number of stocks hitting new highs or lows on a specified index. It includes data from popular indices like …
thinkScript Color: Basic Colors for Indicators and Strategies
thinkScript color variables are an important part of creating custom studies. The colors associated with output functions can add visual appeal to your indicator. Furthermore, they can also aid in …
Yield Curve Recession Indicator for ThinkorSwim
It can be difficult to predict when a recession will occur. A probable economic slowdown can be detected by closely monitoring the stock market, unemployment rate, and consumer confidence. Bond …