OgahTerkenal

OteHmacSha256

Library "OteHmacSha256"
Library to use HMAC SHA-256 by OgahTerkenal

hmac_sha256(string) HMAC SHA-256
  Parameters:
    string: msg String to be hashed
  Returns: Return a hashed string in hex format and an array of 8 32 bits integer

Library to use HMAC SHA-256 for authenticating alert message going out from TradingView.
It has limitation on allowed characters (because PineScript cannot access the underlying bits of each ASCII) from ASCII 32 to 126 only.
Usage Example section at the end of the source code pretty much tell everything about this library.
General example as how to import to your PineScript code is not included (please refer to the PineScript manual).
Note di rilascio:
Library "OteHmacSha256"
Library to use HMAC SHA-256 by OgahTerkenal

hmac_sha256(string)
  HMAC SHA-256
  Parameters:
    string: msg String to be hashed
  Returns: Return a hashed string in hex format and an array of 8 32 bits integer

Libreria Pine

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzare questa libreria in privato o all'interno di altre pubblicazioni open-source, ma il riutilizzo del codice è subordinato al rispetto del Regolamento.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questa libreria?

Copia il testo ed incollalo nel tuo script.