PINE LIBRARY

TOTALES_LIBRARY_MAIN

128
Library "TOTALES_LIBRARY_MAIN"

sigmoid_strategy(source_sigmoid, lookback, volatility_period, base_steepness, base_midpoint, z_period, ma_type, ma_lookback, upper_threshold, lower_threshold)
  Parameters:
    source_sigmoid (float)
    lookback (simple int)
    volatility_period (simple int)
    base_steepness (simple float)
    base_midpoint (simple float)
    z_period (simple int)
    ma_type (simple string)
    ma_lookback (simple int)
    upper_threshold (simple float)
    lower_threshold (simple float)

fdi_supertrend_strategy(src, per, speed, fdi_mult_upper, fdi_mult_lower, adapt)
  Parameters:
    src (float)
    per (simple int)
    speed (simple int)
    fdi_mult_upper (simple float)
    fdi_mult_lower (simple float)
    adapt (simple bool)

volume_trend_strategy(volume_trend_x, volume_trend_y)
  Parameters:
    volume_trend_x (simple int)
    volume_trend_y (simple int)

rti_strategy(rtiTrendDataCount, rtiTrendSensitivityPercentage, rtiSignalLength, upper_threshold_rti, lower_threshold_rti, useSignalLength_rti)
  Parameters:
    rtiTrendDataCount (simple int)
    rtiTrendSensitivityPercentage (simple int)
    rtiSignalLength (simple int)
    upper_threshold_rti (simple float)
    lower_threshold_rti (simple float)
    useSignalLength_rti (simple bool)

zscore_heikin_strategy(len_zscore, upper_threshold_zscore, lower_threshold_zscore)
  Parameters:
    len_zscore (simple int)
    upper_threshold_zscore (simple float)
    lower_threshold_zscore (simple float)

emd_strategy(input_src_emd, avg_type_emd, length_emd, mult_upper_emd, mult_lower_emd)
  Parameters:
    input_src_emd (simple string)
    avg_type_emd (simple string)
    length_emd (simple int)
    mult_upper_emd (simple float)
    mult_lower_emd (simple float)

bbpct_strategy(length_bbpct, src_bbpct, mult_bbpct, upper_threshold_bbpct, lower_threshold_bbpct)
  Parameters:
    length_bbpct (simple int)
    src_bbpct (float)
    mult_bbpct (simple float)
    upper_threshold_bbpct (simple float)
    lower_threshold_bbpct (simple float)

dega_rma_strategy(src_dema, len_dema, len_FG, sigma_FG, len_rma, len_ATR, mult_ATRup, mult_ATRdn)
  Parameters:
    src_dema (float)
    len_dema (simple int)
    len_FG (simple int)
    sigma_FG (simple float)
    len_rma (simple int)
    len_ATR (simple int)
    mult_ATRup (simple float)
    mult_ATRdn (simple float)

dssd_strategy(DemaLen_dssd, DemaSrc_dssd, PerLen_dssd, pertype_dssd, SDlen_dssd, EmaLen_dssd, IncluedeEma_dssd)
  Parameters:
    DemaLen_dssd (simple int)
    DemaSrc_dssd (float)
    PerLen_dssd (simple int)
    pertype_dssd (simple string)
    SDlen_dssd (simple int)
    EmaLen_dssd (simple int)
    IncluedeEma_dssd (simple bool)

impulsive_momentum_strategy(Lu_imp, Su_imp, yes_imp, lenEMA, mult, atr_length, lenEMA2, atr_momentum_length, mult2, lenMED, mult3, rsi_length, sma_rsi_length)
  Parameters:
    Lu_imp (simple float)
    Su_imp (simple float)
    yes_imp (simple bool)
    lenEMA (simple int)
    mult (simple float)
    atr_length (simple int)
    lenEMA2 (simple int)
    atr_momentum_length (simple int)
    mult2 (simple float)
    lenMED (simple int)
    mult3 (simple float)
    rsi_length (simple int)
    sma_rsi_length (simple int)

get_sigmoid_score(source_sigmoid, lookback, volatility_period, base_steepness, base_midpoint, z_period, ma_type, ma_lookback, upper_threshold, lower_threshold)
  Parameters:
    source_sigmoid (float)
    lookback (simple int)
    volatility_period (simple int)
    base_steepness (simple float)
    base_midpoint (simple float)
    z_period (simple int)
    ma_type (simple string)
    ma_lookback (simple int)
    upper_threshold (simple float)
    lower_threshold (simple float)

get_fdi_supertrend_score(src, per, speed, fdi_mult_upper, fdi_mult_lower, adapt)
  Parameters:
    src (float)
    per (simple int)
    speed (simple int)
    fdi_mult_upper (simple float)
    fdi_mult_lower (simple float)
    adapt (simple bool)

get_volume_trend_score(volume_trend_x, volume_trend_y)
  Parameters:
    volume_trend_x (simple int)
    volume_trend_y (simple int)

get_rti_score(rtiTrendDataCount, rtiTrendSensitivityPercentage, rtiSignalLength, upper_threshold_rti, lower_threshold_rti, useSignalLength_rti)
  Parameters:
    rtiTrendDataCount (simple int)
    rtiTrendSensitivityPercentage (simple int)
    rtiSignalLength (simple int)
    upper_threshold_rti (simple float)
    lower_threshold_rti (simple float)
    useSignalLength_rti (simple bool)

get_zscore_heikin_score(len_zscore, upper_threshold_zscore, lower_threshold_zscore)
  Parameters:
    len_zscore (simple int)
    upper_threshold_zscore (simple float)
    lower_threshold_zscore (simple float)

get_emd_score(input_src_emd, avg_type_emd, length_emd, mult_upper_emd, mult_lower_emd)
  Parameters:
    input_src_emd (simple string)
    avg_type_emd (simple string)
    length_emd (simple int)
    mult_upper_emd (simple float)
    mult_lower_emd (simple float)

get_bbpct_score(length_bbpct, src_bbpct, mult_bbpct, upper_threshold_bbpct, lower_threshold_bbpct)
  Parameters:
    length_bbpct (simple int)
    src_bbpct (float)
    mult_bbpct (simple float)
    upper_threshold_bbpct (simple float)
    lower_threshold_bbpct (simple float)

get_dega_rma_score(src_dema, len_dema, len_FG, sigma_FG, len_rma, len_ATR, mult_ATRup, mult_ATRdn)
  Parameters:
    src_dema (float)
    len_dema (simple int)
    len_FG (simple int)
    sigma_FG (simple float)
    len_rma (simple int)
    len_ATR (simple int)
    mult_ATRup (simple float)
    mult_ATRdn (simple float)

get_dssd_score(DemaLen_dssd, DemaSrc_dssd, PerLen_dssd, pertype_dssd, SDlen_dssd, EmaLen_dssd, IncluedeEma_dssd)
  Parameters:
    DemaLen_dssd (simple int)
    DemaSrc_dssd (float)
    PerLen_dssd (simple int)
    pertype_dssd (simple string)
    SDlen_dssd (simple int)
    EmaLen_dssd (simple int)
    IncluedeEma_dssd (simple bool)

get_impulsive_momentum_score(Lu_imp, Su_imp, yes_imp, lenEMA, mult, atr_length, lenEMA2, atr_momentum_length, mult2, lenMED, mult3, rsi_length, sma_rsi_length)
  Parameters:
    Lu_imp (simple float)
    Su_imp (simple float)
    yes_imp (simple bool)
    lenEMA (simple int)
    mult (simple float)
    atr_length (simple int)
    lenEMA2 (simple int)
    atr_momentum_length (simple int)
    mult2 (simple float)
    lenMED (simple int)
    mult3 (simple float)
    rsi_length (simple int)
    sma_rsi_length (simple int)

get_tpi_score(use_sigmoid, use_fdi_supertrend, use_volume_trend, use_rti, use_zscore_heikin, use_emd, use_bbpct, use_dega_rma, use_dssd, use_impulsive_momentum, source_sigmoid, lookback, volatility_period, base_steepness, base_midpoint, z_period, ma_type, ma_lookback, upper_threshold, lower_threshold, src, per, speed, fdi_mult_upper, fdi_mult_lower, adapt, volume_trend_x, volume_trend_y, rtiTrendDataCount, rtiTrendSensitivityPercentage, rtiSignalLength, upper_threshold_rti, lower_threshold_rti, useSignalLength_rti, len_zscore, upper_threshold_zscore, lower_threshold_zscore, input_src_emd, avg_type_emd, length_emd, mult_upper_emd, mult_lower_emd, length_bbpct, src_bbpct, mult_bbpct, upper_threshold_bbpct, lower_threshold_bbpct, src_dema, len_dema, len_FG, sigma_FG, len_rma, len_ATR, mult_ATRup, mult_ATRdn, DemaLen_dssd, DemaSrc_dssd, PerLen_dssd, pertype_dssd, SDlen_dssd, EmaLen_dssd, IncluedeEma_dssd, Lu_imp, Su_imp, yes_imp, lenEMA, mult, atr_length, lenEMA2, atr_momentum_length, mult2, lenMED, mult3, rsi_length, sma_rsi_length)
  Parameters:
    use_sigmoid (simple bool)
    use_fdi_supertrend (simple bool)
    use_volume_trend (simple bool)
    use_rti (simple bool)
    use_zscore_heikin (simple bool)
    use_emd (simple bool)
    use_bbpct (simple bool)
    use_dega_rma (simple bool)
    use_dssd (simple bool)
    use_impulsive_momentum (simple bool)
    source_sigmoid (float)
    lookback (simple int)
    volatility_period (simple int)
    base_steepness (simple float)
    base_midpoint (simple float)
    z_period (simple int)
    ma_type (simple string)
    ma_lookback (simple int)
    upper_threshold (simple float)
    lower_threshold (simple float)
    src (float)
    per (simple int)
    speed (simple int)
    fdi_mult_upper (simple float)
    fdi_mult_lower (simple float)
    adapt (simple bool)
    volume_trend_x (simple int)
    volume_trend_y (simple int)
    rtiTrendDataCount (simple int)
    rtiTrendSensitivityPercentage (simple int)
    rtiSignalLength (simple int)
    upper_threshold_rti (simple float)
    lower_threshold_rti (simple float)
    useSignalLength_rti (simple bool)
    len_zscore (simple int)
    upper_threshold_zscore (simple float)
    lower_threshold_zscore (simple float)
    input_src_emd (simple string)
    avg_type_emd (simple string)
    length_emd (simple int)
    mult_upper_emd (simple float)
    mult_lower_emd (simple float)
    length_bbpct (simple int)
    src_bbpct (float)
    mult_bbpct (simple float)
    upper_threshold_bbpct (simple float)
    lower_threshold_bbpct (simple float)
    src_dema (float)
    len_dema (simple int)
    len_FG (simple int)
    sigma_FG (simple float)
    len_rma (simple int)
    len_ATR (simple int)
    mult_ATRup (simple float)
    mult_ATRdn (simple float)
    DemaLen_dssd (simple int)
    DemaSrc_dssd (float)
    PerLen_dssd (simple int)
    pertype_dssd (simple string)
    SDlen_dssd (simple int)
    EmaLen_dssd (simple int)
    IncluedeEma_dssd (simple bool)
    Lu_imp (simple float)
    Su_imp (simple float)
    yes_imp (simple bool)
    lenEMA (simple int)
    mult (simple float)
    atr_length (simple int)
    lenEMA2 (simple int)
    atr_momentum_length (simple int)
    mult2 (simple float)
    lenMED (simple int)
    mult3 (simple float)
    rsi_length (simple int)
    sma_rsi_length (simple int)

get_all_strategy_scores(source_sigmoid, lookback, volatility_period, base_steepness, base_midpoint, z_period, ma_type, ma_lookback, upper_threshold, lower_threshold, src, per, speed, fdi_mult_upper, fdi_mult_lower, adapt, volume_trend_x, volume_trend_y, rtiTrendDataCount, rtiTrendSensitivityPercentage, rtiSignalLength, upper_threshold_rti, lower_threshold_rti, useSignalLength_rti, len_zscore, upper_threshold_zscore, lower_threshold_zscore, input_src_emd, avg_type_emd, length_emd, mult_upper_emd, mult_lower_emd, length_bbpct, src_bbpct, mult_bbpct, upper_threshold_bbpct, lower_threshold_bbpct, src_dema, len_dema, len_FG, sigma_FG, len_rma, len_ATR, mult_ATRup, mult_ATRdn, DemaLen_dssd, DemaSrc_dssd, PerLen_dssd, pertype_dssd, SDlen_dssd, EmaLen_dssd, IncluedeEma_dssd, Lu_imp, Su_imp, yes_imp, lenEMA, mult, atr_length, lenEMA2, atr_momentum_length, mult2, lenMED, mult3, rsi_length, sma_rsi_length)
  Parameters:
    source_sigmoid (float)
    lookback (simple int)
    volatility_period (simple int)
    base_steepness (simple float)
    base_midpoint (simple float)
    z_period (simple int)
    ma_type (simple string)
    ma_lookback (simple int)
    upper_threshold (simple float)
    lower_threshold (simple float)
    src (float)
    per (simple int)
    speed (simple int)
    fdi_mult_upper (simple float)
    fdi_mult_lower (simple float)
    adapt (simple bool)
    volume_trend_x (simple int)
    volume_trend_y (simple int)
    rtiTrendDataCount (simple int)
    rtiTrendSensitivityPercentage (simple int)
    rtiSignalLength (simple int)
    upper_threshold_rti (simple float)
    lower_threshold_rti (simple float)
    useSignalLength_rti (simple bool)
    len_zscore (simple int)
    upper_threshold_zscore (simple float)
    lower_threshold_zscore (simple float)
    input_src_emd (simple string)
    avg_type_emd (simple string)
    length_emd (simple int)
    mult_upper_emd (simple float)
    mult_lower_emd (simple float)
    length_bbpct (simple int)
    src_bbpct (float)
    mult_bbpct (simple float)
    upper_threshold_bbpct (simple float)
    lower_threshold_bbpct (simple float)
    src_dema (float)
    len_dema (simple int)
    len_FG (simple int)
    sigma_FG (simple float)
    len_rma (simple int)
    len_ATR (simple int)
    mult_ATRup (simple float)
    mult_ATRdn (simple float)
    DemaLen_dssd (simple int)
    DemaSrc_dssd (float)
    PerLen_dssd (simple int)
    pertype_dssd (simple string)
    SDlen_dssd (simple int)
    EmaLen_dssd (simple int)
    IncluedeEma_dssd (simple bool)
    Lu_imp (simple float)
    Su_imp (simple float)
    yes_imp (simple bool)
    lenEMA (simple int)
    mult (simple float)
    atr_length (simple int)
    lenEMA2 (simple int)
    atr_momentum_length (simple int)
    mult2 (simple float)
    lenMED (simple int)
    mult3 (simple float)
    rsi_length (simple int)
    sma_rsi_length (simple int)

get_tpi_color(tpi_score)
  Parameters:
    tpi_score (float)

get_strategy_color(score)
  Parameters:
    score (float)

format_strategy_score(is_enabled, score)
  Parameters:
    is_enabled (bool)
    score (float)

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.