Intrisic Value by Enterprise value - GVP
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © girbeap

//@version=5
indicator("Intrisic Value by Enterprise value - GVP", overlay = true)
MarketCap = request.financial(syminfo.tickerid, "ENTERPRISE_VALUE", "FQ")
TSO = request.financial(syminfo.tickerid, "TOTAL_SHARES_OUTSTANDING", "FQ")
Instrisic_value = MarketCap/TSO
Sell = Instrisic_value * 1.2
Buy = Instrisic_value * 0.8
plot(Sell, linewidth  = 3, color = color.red)
plot(Buy, linewidth  = 3, color = color.green)
