PINE LIBRARY
已更新 Signal_Data_2021_09_09__2021_11_18

Library "Signal_Data_2021_09_09__2021_11_18"
Functions to support my timing signals system
import_start_time(harmonic) get the start time for each harmonic signal
Parameters:
harmonic: is an integer identifying the harmonic
Returns: the starting timestamp of the harmonic data
import_signal(index, harmonic) access point for pre-processed data imported here by copy paste
Parameters:
index: is the current data index, use 0 to initialize
harmonic: is the data set to index, use 0 to initialize
Returns: the data from the indicated harmonic array starting at index, and the starting timestamp of that data
Functions to support my timing signals system
import_start_time(harmonic) get the start time for each harmonic signal
Parameters:
harmonic: is an integer identifying the harmonic
Returns: the starting timestamp of the harmonic data
import_signal(index, harmonic) access point for pre-processed data imported here by copy paste
Parameters:
index: is the current data index, use 0 to initialize
harmonic: is the data set to index, use 0 to initialize
Returns: the data from the indicated harmonic array starting at index, and the starting timestamp of that data
版本注释
v2 added a length parameter to return the length of an arrayUpdated:
import_signal(index, harmonic, length) access point for pre-processed data imported here by copy paste
Parameters:
index: is the current data index, use 0 to initialize
harmonic: is the data set to index, use 0 to initialize
length: when true returns the length of the indicated harmonic array rather than the data
Returns: the data from the indicated harmonic array starting at index, and the starting timestamp of that data
版本注释
v3 change name of 'length' parameter to 'get_length'Updated:
import_signal(index, harmonic, get_length) access point for pre-processed data imported here by copy paste
Parameters:
index: is the current data index, use 0 to initialize
harmonic: is the data set to index, use 0 to initialize
get_length: when true returns the length of the indicated harmonic array rather than the data
Returns: the data from the indicated harmonic array starting at index, and the starting timestamp of that data
版本注释
v4 debugging...版本注释
v5版本注释
v6版本注释
v7版本注释
v8版本注释
v9 refactored to put the strings in the global scope. Hoping that will help conserve memory in the local function scope.版本注释
v10版本注释
v11 different initialization method版本注释
v12 updates to conserve time and memory initializing the dataPine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。