PINE LIBRARY

pslibs

已更新
Library "pslibs"

f_calculate_divergence_on_close(close, mom, rsi, start_lookback, max_lookback, rsiThresholdBuy, rsiThresholdSell, minAngleDiff, run_flag)
  Parameters:
    close (float)
    mom (float)
    rsi (float)
    start_lookback (int)
    max_lookback (int)
    rsiThresholdBuy (float)
    rsiThresholdSell (float)
    minAngleDiff (float)
    run_flag (bool)

f_calculate_divergence_on_low(low, mom, rsi, start_lookback, max_lookback, rsiThresholdBuy, rsiThresholdSell, minAngleDiff, run_flag)
  Parameters:
    low (float)
    mom (float)
    rsi (float)
    start_lookback (int)
    max_lookback (int)
    rsiThresholdBuy (float)
    rsiThresholdSell (float)
    minAngleDiff (float)
    run_flag (bool)

f_calculate_reversal(close, low, high, macdFastPeriod, macdSlowPeriod, macdSignalPeriod, stochPeriod, prcKPeriod, stochOS, stochOB, run_flag)
  Parameters:
    close (float)
    low (float)
    high (float)
    macdFastPeriod (simple int)
    macdSlowPeriod (simple int)
    macdSignalPeriod (simple int)
    stochPeriod (int)
    prcKPeriod (int)
    stochOS (int)
    stochOB (int)
    run_flag (bool)
發行說明
v2

Added:
is_within_first_30_minutes()

is_last_60_minutes()

is_last_30_minutes()
debugging

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。

免責聲明