PINE LIBRARY
已更新

biased_price_target

3 505
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)
版本注释
v2
  • Add use case examples
  • Pump distance_ratio library version
版本注释
v3
Fix highest high and lowest low use for margin that might result in na value when HHLL was not been used
版本注释
v4
Added a more generic 'CUST' method that can embed the HHLL and even more user-defined price targets.
版本注释
v5
  • Updated documentation
  • Use force_overaly for example plots
版本注释
v6
  • Use enum
  • Update 'distance_ratio' library
版本注释
v7
Update to pinescript version 6
版本注释
v8

  • Rename margin term to bias
  • Minor example improvements
版本注释
v9
  • Update distance_ratio dependent library
  • Update example

免责声明

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.