PINE LIBRARY
Updated

EnixLib

152
Library "EnixLib"

calc_slope_nominal(series_value, length)
  Parameters:
    series_value (float)
    length (int)

calc_slope_percent(series_value, length)
  Parameters:
    series_value (float)
    length (int)
Release Notes
v2

Added:
calc_chop(high_src, low_src, length, offset)
  Parameters:
    high_src (float)
    low_src (float)
    length (int)
    offset (int)

calc_ce_state(src, high_src, low_src, length, mult)
  Parameters:
    src (float)
    high_src (float)
    low_src (float)
    length (simple int)
    mult (float)

is_blackout_active(useBlackout, blackoutDateTime, currentTime)
  Parameters:
    useBlackout (bool)
    blackoutDateTime (int)
    currentTime (int)

build_pc_msg(licenseID, action, symbol, risk, sl, tp, comment)
  Parameters:
    licenseID (string)
    action (string)
    symbol (string)
    risk (float)
    sl (float)
    tp (float)
    comment (string)

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.