거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
5377
평가:
(30)
게시됨:
2016.09.29 16:16
업데이트됨:
2016.11.22 07:32
\MQL5\Include\
Bcrypt.mqh (6.95 KB) 조회
\MQL5\Scripts\
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The Advanced Encryption Standard or AES is a symmetric block cipher used by the U.S. government to protect classified information and is implemented in software and hardware throughout the world to encrypt sensitive data.

This class makes use of the MQL5 built-in function CryptEncode() to encrypt/decrypt data. Also, it converts the generated data by CryptEncoded() into a HEX string and vice-versa.

It's possible to work with two key ciphers. You should use the same key for encrypting and decrypting, so both the sender and the receiver must know and use the same secret key. If you don't know how to build a key, you could get one here.

Example:

//+------------------------------------------------------------------+ 
//| Script program start function                                    | 
//+------------------------------------------------------------------+ 
void OnStart()
  {
   string txt = "This is a message!"; 
   B.Init("7E846B635877D53A2BD51B320D9453407E8F4C22C104E1E9481783A50FADD162","Password",txt);
   Print("Bcrypt key = ",B.Encrypt());
   Print("Bcrypt decoded data = ",B.Decrypt(B.Encrypt()));
  }

For more information, please take a look at the attached files.

Spread per hour statistics Spread per hour statistics

Simple average spread per hour statistics output.

PricePosition PricePosition

PricePosition indicator provides the position of price in the point of angle when the price rises above (BUY) or falls below the angle section line (SELL).

Candles, arbitrary seconds Candles, arbitrary seconds

This is an indicator that generates simulated data for any period - but in seconds

MACD Candles MACD Candles

This is one more possible way of making MACD — as a candles, without the price and signal line.