거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

SHA512 + HMAC - MetaTrader 5용 라이브러리

조회수:
4572
평가:
(37)
게시됨:
2017.05.29 15:49
SHA512.mq5 (16.03 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The SHA512 class was ported from http://www.zedwood.com/article/cpp-sha512-function

HMAC functions were ported from https://en.wikipedia.org/wiki/Hash-based_message_authentication_code

Use example (tested on http://www.freeformatter.com/hmac-generator.html)

void OnStart()
{
        string in="Thanks for using!";
        string out=SHA512::sha512(in);
        Print("sha512('", in, "'): ", out);
        
        string key="hash_key";
        out=SHA512::hmac(in, key);
        Print("hmac-sha512: ", out);
}

OUTPUT
sha512('Thanks for using!'): efa2046d83de5504f28fc95e470e726f7f26f4a53475c516759a109a1553850e0836d1fb7a6ff54d27fa816e4ef8f93b6c63c8a133b3a39a8218313a506b870e
hmac-sha512: 61d45921efeb4fe22dc7f4afb393ddfc5603a5b1775cb377d0428d40fb49a8be89c606d89b3489a848105f67feeb329a7cda029d3b9b5f412436f87c016d83ed




--------------

Please leave a feedback and tell how you are using this class!

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/18158

Total_Power_Indicator_Signal Total_Power_Indicator_Signal

Total Power Indicator in the semaphore-arrow form, generating alerts and sending emails and push notifications.

TotalPowerIndicatorX TotalPowerIndicatorX

Total Power Indicator, in which values are fixed in the range from zero to one hundred.

Exp_Kolier_SuperTrend_X2 Exp_Kolier_SuperTrend_X2

This is a trend trading system based on the signals of two Kolier_SuperTrend indicators.

Statistics Statistics

Analyzes bars whose opening time (hour and minute) is equal to the current bar opening time.