OPEN-SOURCE SCRIPT

PEV Price Band

Updated
The PEV Price Band shows prices calculated using the high and low P/FQ EV of the previous period. (price to enterprise value per share for the last quarter) multiplied by FQ's current EVPS (similar to comparing marketcap to enterprise value but edit equations that are close to the theory of P/E)
If the current price is lower than the minimum P/EVPS, it is considered cheap. In other words, a current price is above the maximum is considered expensive.

PEV Price Band consists of 2 parts.
- First of all, the current P/EVPS value is "green" (if the markecap is less than the enterprise value) or "red" (if the marketcap is more than the enterprise value) or "gold" (if the market value is less than the enterprise value and less than equity)

- Second, the blue line is the closing price.

Release Notes
1. Fixed bug in 5000 bars in day timeframe
- Added attribute "calc_bars_count = 5000" in indicator
2. Changed "TOTAL_SHARES_OUTSTANDING" to "DILUTED_SHARES_OUTSTANDING"
3. Changed condition from checking uptrend condition to current price less than enterprise value for easy understanding
Bands and ChannelsFundamental Analysisstatistics

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer