Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

HFT Spreader for FORTS - expert for MetaTrader 5

Views:
7109
Rating:
(34)
Published:
2015.07.24 15:48
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Inputs: position size in lots, spread — number of minimum price steps. For example, the value of 4 set for MIX-9.15 symbol means that the minimum price change step for this symbol (from its contract specification) equals 25, therefore, the EA will start to place orders when the spread is 4*25=100.

Operating principle:

If all conditions for trading are met, then the EA places 2 limit orders by best prices, i.e. if the best Bid price was 167000, then the EA places the order by 167025 (for MIX-9.15), then it waits for the orders to be accepted. After the orders are accepted, i.e. the position is opened, the EA will place only an opposite order with doubled volume to close the position and reverse. If the orders weren't accepted, and then the spread has been extended, then the EA will remove the orders and will always ensure that our orders have the best prices from the closest best price by 1 minimum step of the symbol's price change.

On fast markets, it may work with a delay and fail to reopen orders by best prices in time.

HFT Spreader for FORTS

Video:

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/13233

MyBOLsAlert MyBOLsAlert

Bollinger Bands indicator with sound/email/arrow_display alerts.

Multi Symbol Chart Multi Symbol Chart

All-In-One candlestick chart.

ColorZerolagRSI_HTF ColorZerolagRSI_HTF

The ColorZerolagRSI indicator with the timeframe selection option available in the input parameters.

ColorZerolagRSIOSMA ColorZerolagRSIOSMA

Smoothed ColorZerolagRSI indicator rate of change represented as a colored histogram.