PINE LIBRARY
Updated

biased_price_target

2 865
Library "biased_price_target"
Collection of functions that can be used for the calculation of biased price targets like stop loss and
take profit from a reference price using several methods that are already provided by the "distance_ratio" library plus
the 'HHLL'. Methods supported are percentagewise (PERC), atr-based (ATR), fixed profit (PROF), tick-based (TICKS),
risk reward ratio (RR), and highest high/lowest low (HHLL)
Release Notes
v2
  • Add use case examples
  • Pump distance_ratio library version
Release Notes
v3
Fix highest high and lowest low use for margin that might result in na value when HHLL was not been used
Release Notes
v4
Added a more generic 'CUST' method that can embed the HHLL and even more user-defined price targets.
Release Notes
v5
  • Updated documentation
  • Use force_overaly for example plots
Release Notes
v6
  • Use enum
  • Update 'distance_ratio' library
Release Notes
v7
Update to pinescript version 6

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.