| perdi420 5 posts
 msg #158909
 - Ignore perdi420
 | 3/30/2022 6:01:45 PM 
 I would like to construct a rather simple indicator, but I am unable to find examples of how to do this.
 
 Indicator = closing price of stock/closing price of SPY.  How does one do this?  For example, if stock price is 100 and SPY today is 400, the indicator should be 0.25.
 
 I saw examples of "compare to SPY", but that not seem to do this.  If I plot SPY itself for example, then this indicator should in theory be 1.  But "Compare to" gives a curve, which is incorrect.
 
 
 |