TradingView, Inc./TradingView
-
Maximum number of bars available for a indicator for historical reference. This parameter is applied to every built-in or user variable in the script if there is a reference to historical data of a variable in the script code (‘[]’ operator is used). Variable buffer sizes in the Pine Script™ are typically autodetected. This however is not possible in certain cases which is why the parameter allows a user to manually set the lower bound of this value. NOTE: using of the {@fun max_bars_back} function instead of the parameter is optimal because it applies to only one variable.
Maximum number of bars available for a indicator for historical reference. This parameter is applied to every built-in or user variable in the script if there is a reference to historical data of a variable in the script code (‘[]’ operator is used). Variable buffer sizes in the Pine Script™ are typically autodetected. This however is not possible in certain cases which is why the parameter allows a user to manually set the lower bound of this value. NOTE: using of the {@fun max_bars_back} function instead of the parameter is optimal because it applies to only one variable.
可用於歷史參考的指標的最大K線數。如果腳本代碼中引用了變數的歷史數據(使用“ [ ] ” 運算符號),則此參數應用於腳本中的每個內建變數或用戶變數。Pine 腳本中的可變緩衝區大小通常是自動檢測的。然而,在某些情況下這是不可能的,這就是為什麼該參數允許用戶手動設定該值的下限。注意:使用 {@fun max_bars_back} 函數而不是參數是最佳的,因為它僅適用於一個變數。
No more segments to load.
Loading more segments…
© 2009-2022 WebTranslateIt Software S.L. All rights reserved.
Terms of Service
·
Privacy Policy
·
Security Policy