Spécifications
Hello world!
We’re looking for a developer skilled in MQL4 to implement a robot for automated trading.
Background
There’s a cryptocurrency exchange called BTC-e. There’s also a broker, who partnered with BTC-e to provide access to their exchange via MetaTrader4. The broker executes the orders placed via MT4 himself: these orders don’t appear on BTC-e. However, the broker takes current bid & ask prices from BTC-e. That means we can control the bid & ask prices by placing fake orders for 0.00000001 BTC on BTC-e. That means we can profit from broker by placing an order via MT4, and then triggering it’s opening and closing by placing fake orders on BTC-e.
Main loop
Start monitoring bid-ask spread on BTCUSD symbol.
On spread change
If spread is more than 0.005, execute “scalp”.
Scalp
Place an order with MT account:
Type: “limit”
Action: “sell”
Amount: (constant from config)
Limit: (MT sell price) - (MT minimal price step)
Take-profit: (MT buy price) + (MT minimal price step)
Stop-loss: (MT sell price) + 20 * (MT minimal price step)
Place an “open-trigger” order with BTC-e account:
Type: "limit"
Action: "buy"
Amount: (BTC-e minimal order amount)
Limit: (MT order limit price)
Wait for MT to open the order.
Place a “close-trigger” order with BTC-e account:
Type: "limit"
Action: "sell"
Amount: (BTC-e minimal order amount)
Limit: (MT order take-profit price)
Wait for MT to close the order.
Log the result (and celebrate, if we’ve just successfully executed an order! :) )
Interested in this opportunity? Send a message answering the following questions:
Have you implemented similar bots before? (it would be great if you could attach your code samples)
How much will it cost?
- How long will it take?