PROTECTED SOURCE SCRIPT

Upper Shadow Percentage - Latest Candle

1 400
The objective of this script is to automatically calculate the upper shadow % of the latest candle in any timeframe i.e. Daily, Weekly, Monthly etc.

Please note that: This indicator shows upper shadow percent only when the following 2 conditions are satisfied:
1. The candle is latest
2. The candle's Close Price (or, Current Price in case of Market Open) > Open Price

Formula Used:
Upper Shadow Percentage = (High-Close)/(High-Low)*100

When this indicator is added to the chart, it shows a % value which represents the upper shadow % in either a Green background or Red background.

Green background shows up when the upper shadow % is less than the user provided value in the "Upper Shadow Percentage Threshold" field in the settings > Inputs tab, otherwise it shows up in Red background. Please note that the default Upper Shadow Percentage Threshold is set to be 15. User can go to Settings to change it as per their needs.

Example of how it appears in the chart
스냅샷

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.