OPEN-SOURCE SCRIPT
Analyst Targets + PE & Forward PE

Analyst Targets + PE & Forward PE
This indicator displays key fundamental and analyst data directly on your chart in a clean table, along with visual target price lines.
Features:
Trailing P/E (TTM) and Forward P/E
Full Analyst Consensus Breakdown:
Strong Buy
Buy
Hold
Sell
Strong Sell
Overall Analyst Rating (Strong Buy to Strong Sell)
Analyst Price Targets:
Average Target
High Target
Low Target
Visual Target Lines (all in light green with different styles for easy distinction)
Dynamic labels showing exact target values
The table updates in real-time and only appears on the last bar for a clean look. Target lines automatically adjust and extend as new bars form.
Perfect For:
Swing traders and investors who want quick insight into valuation and Wall Street consensus
Checking how the current price compares to analyst targets
Monitoring changes in analyst sentiment
Settings:
Table position can be changed in the script (currently Top Right)
Line length and styles are customizable
This indicator displays key fundamental and analyst data directly on your chart in a clean table, along with visual target price lines.
Features:
Trailing P/E (TTM) and Forward P/E
Full Analyst Consensus Breakdown:
Strong Buy
Buy
Hold
Sell
Strong Sell
Overall Analyst Rating (Strong Buy to Strong Sell)
Analyst Price Targets:
Average Target
High Target
Low Target
Visual Target Lines (all in light green with different styles for easy distinction)
Dynamic labels showing exact target values
The table updates in real-time and only appears on the last bar for a clean look. Target lines automatically adjust and extend as new bars form.
Perfect For:
Swing traders and investors who want quick insight into valuation and Wall Street consensus
Checking how the current price compares to analyst targets
Monitoring changes in analyst sentiment
Settings:
Table position can be changed in the script (currently Top Right)
Line length and styles are customizable
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.