OPEN-SOURCE SCRIPT

Value Range

Updated
Here is another attempt to chase value based on technical analysis.

This is extended version of PE range script published earlier.

Instead of just PE, this script contains several other factors which defines value. You can chose which factor to look at from input dialog:
Possible value factors included in this script are:
  • Price to Earnings
  • Price to Sales
  • Price to Book
  • PE - Forwarding
  • PS - Forwarding
  • Price to Cashflow
  • Enterprise Value to EBITDA
  • Enterprise Value to Cashflow


Some of these can be added to chart directly from financials. But, the script also calculate range based on donchian channel or bollinger bands. Instead of short periods, we are looking for periods in terms of years. Rest of things remain same.
Release Notes
Simplify logic and use optimal timeframe for Value parameters (FY, FQ, TTM)
Bollinger Bands (BB)Donchian Channels (DC)fundamental-analysisvalueinvesting

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