Fan sayfamıza katılın
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
- Görüntülemeler:
- 10189
- Derecelendirme:
- Yayınlandı:
- 2008.07.01 08:26
- Güncellendi:
- 2014.04.21 14:52
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
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 tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/8098
![up3x1](https://c.mql5.com/i/code/expert.png)
An EA that demostrates the excellent properties on the H1 with EUR/USD. The MA indicators were used.
![history data analysis](https://c.mql5.com/i/code/script.png)
The analysis of history data for the absence of bars, identifies their size, length and gap.
![b-Lots](https://c.mql5.com/i/code/library.png)
Choosing a size of the working volume. 3 variants. It can be easily inserted into an EA code.
![TC TradeChannel](https://c.mql5.com/i/code/expert.png)
A trade system in the Price Channel based on kickback