Sharad_Gaikwad

NSE Bank Nifty - Constituent Strength

NSE Bank Nifty - Constituent Strength

What is does:
Identifies how stocks under bank nifty index are performing if compared with bank nifty index.

Calculations:
A = Individual stock price
B = Bank nifty index price
C = A / B
D = average of A / B over length specified using input configuration

Stock is out-performing Bank nifty if A >= C
Stock is under-performing Bank nifty if A < C

Input Parameters:
Data source - For calculation of strength
Timeframe - For calculation of strength
Moving average type - SMA or EMA
Moving average length - Length for calculation of moving average
Show line chart for - One of the symbol from index constituents for showing line chart in the indicator window
S1 to S12 - Bank nifty stocks. Populated by default

Output:
Table listing each of the Bank nifty stocks
Stocks displayed in Green color are out-performing Bank nifty
Stocks displayed in Red color are under-performing Bank nifty
Line chart Price line - Blue colored line representing Stock price / Bank nifty price
Line chart Average line - Combination of Red, Green and Blue colors line representing average of Stock price / average of Bank nifty price
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?