ubiquity

Signal_Data_2021_09_09__2021_11_18

ubiquity Telah dikemas kini   
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
Nota Keluaran:
v2 added a length parameter to return the length of an array

Updated:
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
Nota Keluaran:
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
Nota Keluaran:
v4 debugging...
Nota Keluaran:
v5
Nota Keluaran:
v6
Nota Keluaran:
v7
Nota Keluaran:
v8
Nota Keluaran:
v9 refactored to put the strings in the global scope. Hoping that will help conserve memory in the local function scope.
Nota Keluaran:
v10
Nota Keluaran:
v11 different initialization method
Nota Keluaran:
v12 updates to conserve time and memory initializing the data
Perpustakaan Pine

Di dalam semangat sebenar TradingView, pengarang telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka, jadi pengaturcara-pengaturcara Pine yang lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara peribadi atau pada penerbitan-penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini di dalam penerbitan adalah ditadbir oleh Peraturan Dalaman.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Mahu gunakan perpustakaan ini?

Salin garisan ini dan tampalkan ia di dalam skrip anda.