ubiquity

Signal_Data_2021_09_09__2021_11_18

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

In echter TradingView-Manier hat der Autor diesen Pine-Code als Open-Source-Bibliothek veröffentlicht, so dass andere Pine-Programmierer aus unserer Community ihn weiterverwenden können. Ein Hoch auf den Autor! Sie können diese Bibliothek privat oder in anderen Open-Source-Publikationen verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie diese Bibliothek nutzen?

Kopieren Sie die folgende Zeile und fügen Sie sie in Ihr Skript ein.