BITEX.ONE MarketMaker v1.01 - expert for MetaTrader 5




BITEX.ONE MarketMaker v1.01 - expert for MetaTrader 5


Previous version: https://www.mql5.com/en/code/22875


Whats new:

1. The magic_number input has been removed. It is now assigned automatically, and there is no need for checking it for uniqueness.

2. Input vertical_shift has been added (see the description below)

3. Input desired_pos  has been added (see the description below)


The robot works only on www.bitex.one cryptocurrency exchange. It places a specified number of buy and sell orders considering the market depth price or a guide (fair contract price obtained from other cryptocurrency exchanges). The idea is to make money on the inefficiency of the real contract price and rebates, which the exchange pays for providing liquidity (for trading limit orders). One of the advantages of the robot is that it uses a full-fledged asynchronous model of working with transactions.

Sample orders

Fig.1. Example of the robot setting the orders with max_pos=100, shift=0.001, level_count=3

Inputs description:

  • price_type - type of the price to be used to calculate the prices of the orders to be placed. 1 - price from traded symbols market depth, 2 - marking contract price, 3 - contract index price.
  • max_pos - number of contracts in each EA request.
  • shift - shift of the first order relative to the marking price (marked purple). It is set in shares of the absolute price value, for example, if shift = 0.001 and the marking price = 6600, the closest buy and sell requests are shifted up and down from the marking price by 6.6 price points up and down (see Fig. 1)
  • vertical_shift - vertical shift of all levels as relative to the marking price. Similarly, shift as the percentage of the absolute price value. If vertical_shift > 0, then all levels are shifted upwards; if it is < 0, then they are shifted downwards.
  • level_count - number of quotes levels. Each subsequent request is shifted by shift value relative to the previous one.
  • desired_pos - position that the bot should gain and maintain as the result of its activities. Or you can write in here the existing position for the symbol, for the bot not to consider it.

Sample deals

Fig. 2. Performed deals


Tester equity

Fig. 3. Equity from the strategy tetser, BTCUSD, real tick, 79 ms of delays, profit in BTC


Tester stats

Fig. 4. Statistics from the strategy tetser, BTCUSD, real tick, 79 ms of delays, profit in BTC


Download BITEX.ONE MarketMaker v1.01 - expert for MetaTrader 5




Related News




Latest News
Factbox: Timeline of the Russia doping case
07.12.2019 14:06
LAUSANNE, Switzerland (Reuters) - The World Anti-Doping Agency (WADA) will on Monday consider a recommendation from its compliance committee to hand Russia a four-year Olympic ban as part of a sanctions package to punish Moscow for handing WADA doctored and incomplete laboratory data. Russia, which has denied state involvement in doping, says the
Read more
Germany's SPD slip in polls after choosing new leftist leaders
07.12.2019 14:03
BERLIN (Reuters) - Support for Germany's Social Democrats (SPD) has fallen after members last week chose as leaders a leftist duo who are skeptical about remaining in government with Chancellor Angela Merkel's conservatives, a poll showed on Saturday. At a party conference on Friday, the SPD gave their new leaders, Saskia Esken and
Read more
United States and Iran swap prisoners in rare act of cooperation
07.12.2019 13:06
By Parisa Hafezi DUBAI (Reuters) - The United States and Iran swapped prisoners - a Chinese-American detained for three years on spying charges and an imprisoned Iranian - on Saturday in a rare act of cooperation between two longtime foes whose ties have worsened since President Donald Trump took office. Trump said Chinese-American Xiyue Wang was
Read more
Pope meets with Maltese PM hit by scandal over reporter's murder
07.12.2019 13:03
VATICAN CITY (Reuters) - Pope Francis on Saturday gave a private audience to outgoing Maltese Prime Minister Joseph Muscat, ignoring an appeal to cancel the meeting with a premier engulfed in crisis over a probe into a murdered journalist. Francis met Muscat and his wife and family on Saturday morning, the Vatican said, in an audience that was far
Read more
Buttigieg pledges billions to curb education disparities
07.12.2019 12:15
By Michael Martina DETROIT (Reuters) - Democratic presidential candidate Pete Buttigieg vowed on Saturday to spend hundreds of billions of dollars to improve public education if elected, with a plan that boosts funds for "underserved children" and expands early childhood learning. Buttigieg, who has campaign stops this weekend in Iowa where he has
Read more