PINE LIBRARY

biased_price_target

Updated
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
biasMATHpricestrategiestargetpricetargets

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.


📧 Contact info
Telegram: @jason5480

🔗 Addresses
₿ - bc1qxh3jeld7ke70fx3r5q243d96jsx0etth6x8fa7

* Please contact me before any donation ☕

Disclaimer