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).
Notas de Lançamento:
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

Biblioteca do Pine

No verdadeiro espírito TradingView, o autor publicou este código de Pine como uma biblioteca de código aberto para que outros programadores de Pine de nossa comunidade possam reutilizá-lo. Um brinde ao autor! Você pode usar esta biblioteca em particular ou em outras publicações de código aberto, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Gostaria de usar essa biblioteca?

Copie a seguinte linha e cole-a em seu script.