Codes

SHA256, SHA384 and SHA512 + HMAC for MetaTrader 4

Many developers need these functions, while working with different kinds of external APIs, like Bitcoin and altcoin exchanges where it is often necessary to send data with the confirmation of parameters validity through HMAC-SHA512, HMAC-SHA384 and HMAC-SHA256

Shifted Moving Average for MetaTrader 5

The Shifted Moving Average allows you to shift moving average both vertically and horizontally

Forum

MT5 doesn't allow me to setup my proxy address - automatically puts incorrect instead

I have an issue with MT5 on my dedicated server . Even though I've been using this setup with MT4 (around 45 terminals in total) for years, recently, since the beginning od the year, they keep causing machine to crash (files are being saved slower and slower until the machine has a series of errors

How to make MetaEditor look more like ATOM in Dark Mode - quick tutorial

Ok. Let's cut to the chase: (results below on a screenshot) 1. Go to MetaEditor and go to Tools/Options 2. Switch to Colors and fill this in: (I will include only changes from the defaults) a) Text Foreground: 244,108,117 ; Background: 15,16,20 b) Text Selection Background: 51,153,255 c) Selection

Webrequest() strange behaviour

Hey. I am having some problems with WebRequest. I used this function numerous times in the past - never had any problem. The problem I now face is related to accessing binance API. When you open those 2 urls simply in a browser: https://api.binance.com/api/v3/account

CryptEncrypt example doesn't return proper values

I have CTRL+C the example from https://docs.mql4.com/common/cryptencode and just changed encode to CRYPT_HASH_SHA256 but the EA returns hash: 2018.06.06 11:33:23.602 !BINA_TC_000_test AUDCAD,H1: Encoded data: size=32 26B54A596255364BF3B1D9B4DF2FD33D61974D1F000DF23B6F7DE4313A6C72E5 according to this

Market and bitcoin bot

Hey. I made a successful bitcoin trading bot. Bot has earned me about 16 btc in fees during last 8 months, but it requires many external dlls, so I cant sell it normally on the market. (it trades btc against all avaliable altcoins on Poloniex or Bittrex, that meet certain conditions) Would it be

More than 32x Metatrader 4 terminals not possible?

I have rented a nice dedicated server with decent cpu and 16 gig ram. I have encountered a problem though - I am not able to run more than 32 terminals at the same time. If for example I want to run Terminal33 it is not starting, but if I quit Terminal 1 or any other, I am able to start terminal 33

Metatrader 4 doesn't use virtual memory on Dedicated server

I had few VPS for my bots and even they were very low on memory (2gb) I could run unlimited number of mt4 terminals. I rented the dedicated server with 16gb of ram and it is limited by the total amount of ram. When memory usage goes to 16gb (around 25 terminals) new terminals just don't start with

SOCKS5 Proxy bypassed by WebRequest command?

Hey. I have a problem. I configured anonymous IPVANISH SOCKS5 proxy (it tests OK and it works), but when I created a small expert advisor to test my ip char result_char[]; string result_headers; char data_char[]; int res2= WebRequest ( "GET" , "https://api.ipify.org/?format=json" , NULL , NULL

Does anyone have APK of MT5 for android 2.3?

as in topic i am looking for an older version of MT5 on Android devices. I already have old MT5 installed on my android 2.3 device, but i cannot install it on other device with same android version (new MT5 requires higher android version probably) BTW metaquotes doesn't care that much for backwards

How to write to Common Data Patch correctly?

i cannot seem to get it right. I write without problems to allowed //files folder, but i cannot create any file in common data folder. Code goes like this: int OnInit ( void ) { string outString = "test1" ; ResetLastError (); string common_data_path=