OPEN-SOURCE SCRIPT

PE Band

已更新
The PE Band shows the highest and lowest P/E in the previous period with TTM EPS. If the current P/E is lower than the minimum P/E, it is considered cheap. In other words, higher than the maximum P/E is considered expensive.

PE Band consists of 2 lines.
- Firstly, the historical P/E value in "green" (if TTM EPS is positive) or "red" (if TTM EPS is negative) states will change according to the latest high or low price of TTM EPS, such as: :

After the second quarter of 2023 (end of June), how do prices from 1 July – 30 September reflect net profits? The program will get the highest and lowest prices during that time.

After the 3rd quarter of 2023 (end of September), how do prices from 1 Oct. - 31 Dec. reflect net profits? The program will get the highest and lowest prices during that time.

- Second, the blue line is the closing price divided by TTM EPS, which shows the current P/E.
發布通知
1. Change from "EARNINGS_PER_SHARE" to "EARNINGS_PER_SHARE_DILUTED"
2. Add more lines of 75% P/E and 25% P/E
發布通知
to solve Error on bar 5000 as comment
- Add attribute "calc_bars_count = 5000" in indicator
Bands and ChannelsFundamental Analysisstatistics

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明