OPEN-SOURCE SCRIPT

Economic profits (ROIC-WACC)

Updated
Fundamental Chart
quantifying a competitive advantage

Economic profits (EP) measures the spread between
a firms return on invested capital and weighted average cost of capital.
Companies that have a positive EP means that the firm generates a higher
return then it cost to raise the capital required for investment.
a company that can maintain a an positive excess EP will see its value
increase as growth increases and vice versa.


EP can be used as a quantitative measure, indicating a durable competitive advantage.
best used as a comparable metric within an industry group.

As in most case when analyzing historic fundamentals, consistency is paramount.
as well as future expectations.

notes on code:
- average TTM ROIC TTM
- Coast of equity uses CAPM
- 6% required rate of return (option to change as desired)
- Value of equity, market value
- Value of debt, book value (due to limitations)
- risk free rate, US10Y


1st published scrip, let me know what you think in the comments.







Release Notes
Fundamental Chart
quantifying a competitive advantage

Economic profits (EP) measures the spread between
a firms return on invested capital and weighted average cost of capital.
Companies that have a positive EP means that the firm generates a higher
return then it cost to raise the capital required for investment.
a company that can maintain a an positive excess EP will see its value
increase as growth increases and vice versa.


EP can be used as a quantitative measure, indicating a durable competitive advantage.
best used as a comparable metric within an industry group.

As in most case when analyzing historic fundamentals, consistency is paramount.
as well as future expectations.

notes on code:
- average TTM ROIC TTM
- Coast of equity uses CAPM
- 6% required rate of return (option to change as desired)
- Value of equity, market value
- Value of debt, book value (due to limitations)
- risk free rate, US10Y


1st published scrip, let me know what you think in the comments.
Trend Analysis

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