PINE LIBRARY

bullratio

796
Library "bullratio"
Calculate the profit/loss ratio of a permabull for configurable time range

bullratio(len)
  calculates the profit/loss ratio for a permabull of age len
  Parameters:
    len: the number of candles to include in the running bull ratio - 0 for all time
  Returns: series float of profit/loss percentage

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.