PR

Price Relative
Description
The Price Relative compares the performance of one security against that of another. It is often used to compare the performance of a particular stock to a market index, usually the S&P 500. Because the goal of many portfolio managers is to outperform the S&P 500, they are usually interested in the strongest stocks. The price relative offers a straightforward and accurate portrayal of a stock's performance relative to the market.
Category
Others
Parameters
StockCode ( Default: ^DJI Min: 0 Max: 0 )
N ( Default: 20 Min: 1 Max: 100 )
Chart Script

PR:C/FML(StockCode,'C')*100,HighQuality;
EMA(PR,N);