PINE LIBRARY
Updated

Thuvien_publish

433
Library "Thuvien_publish"
Thư viện build Strategy

entry_volume_func(risk, entry, sl)
  Hàm tính khối lượng vào lệnh
  Parameters:
    risk (float)
    entry (float)
    sl (float)
  Returns: entry_volume: trả về khối lượng cần vào

tp_sl_func(sl, entry, rr)
  Tính TP/SL theo RR cho trước
  Parameters:
    sl (float)
    entry (float)
    rr (float)
  Returns: Trả về giá trị Take profit
Release Notes
v2

Added:
entry_fixed_vol_func(risk, entry, sl)
  Hàm tính khối lượng cố định
  Parameters:
    risk (float)
    entry (float)
    sl (float)
  Returns: entry_volume: trả về khối lượng cần vào

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.