PINE LIBRARY

fast_utils

已更新
Library "fast_utils"
This library contains my favourite functions. Will be updated frequently

count_int_digits()
  Count int digits in number
  Returns: : number of int digits in number

count_float_digits()
  Count float digits in number
  Returns: : number of float digits in number

stringify()
  Convert values in array or matrix into string values
  Returns: : array or matrix of string values

arrcompare()
  Compare values in arrays
  Returns: : bool value

arrdedup()
  Remove duplicate values in array
  Returns: : array without duplicates

ResInMins()
  Converts current resolution in minutes
  Returns: : return float number of minuted

MultOfRes(res, mult)
  Convert current float TF in minutes to target string TF in "timeframe.period" format.
  Parameters:
    res: : current resolution in minutes
    mult: : Multiple of current TF to be calculated.
  Returns: : timeframe format string
發布通知
v2 remove bug in stringify
發布通知
v3

Updated:
resource()
發布通知
v4 small update ro resource fuction (now supports history referencing)
arrayarraysformattingMATHUTILutilityUTILS

Pine腳本庫

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

免責聲明