거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
10406
평가:
(29)
게시됨:
2008.07.01 08:26
업데이트됨:
2014.04.21 14:52
Base64.mq4 (4.61 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Base64 encoding was developed to provide the possibility of transferring binary data through transport channels that are not purely 8-bit, like the message body. The encoded data consumes about 33% less volume as compared to the original data. The encoding is often used for a simple encryption of data.



The library consists of two functions:


  • void Base64Encode(string in,string &out) The encoding of the input entry "in" and placing the result to the "out"
  • void Base64Decode(string in,string &out) The decoding of the input entry "in" and placing the result to the "out"

An example of usage:



#include "..\libraries\Base64.mq4"
void start()
  {
   string original="Hello world!";
   string result="",restored="";
//----
   Print("Original: ",original);
   Base64Encode(original,result);
   Print("Encoded : ",result);
   Base64Decode(result,restored);
   Print("Restored: ",restored);
//----
  }

Results:



Original: Hello world!
Encoded : SGVsbG8gd29ybGQh
Restored: Hello world!

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

up3x1 up3x1

An EA that demostrates the excellent properties on the H1 with EUR/USD. The MA indicators were used.

history data analysis history data analysis

The analysis of history data for the absence of bars, identifies their size, length and gap.

b-Lots b-Lots

Choosing a size of the working volume. 3 variants. It can be easily inserted into an EA code.

TC TradeChannel TC TradeChannel

A trade system in the Price Channel based on kickback