Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


Ambush - expert for MetaTrader 5

| English Русский 中文 Español Deutsch

Published by:
Vladimir Karputov
votes: 10
2018.03.01 11:55
Ambush.mq5 (23.52 KB)view

The author of the idea: Igor, the mq5 code author: barabashkakvn.

The Expert Advisor places pending Buy Stop and Sell Stop orders at a distance of Initial indentation. The Max spread parameters is also taken into account: if the current spread exceeds Max spread, the pending orders will not be placed. After that pending orders are constantly modified (using Trailing Stop with Trailing Step), expecting the order to trigger at a sudden sharp price movement. Pending orders are modified every Pause seconds.

Positions are controlled by Equity profit and Equity loss levels. Once profit reaches Equity profit, all positions are closed to fix the profit. If loss reaches Equity loss, all positions are closed and loss is fixed.

Results from 2018.01.08 to 2018.02.05 at the M1 timeframe:

Ambush EURUSD,M1

Translated from Russian by MetaQuotes Software Corp.
Original code:

RndTrade RndTrade

Opening positions randomly after a certain time interval.

TrailingTakeProfit TrailingTakeProfit

This non-trading Expert Advisor is designed for the simple trailing of take profit orders of open positions.


A trading system based on two indicators: iSAR (Parabolic SAR) and iRSI (Relative Strength Index, RSI). Lot calculation based on the risk value as a percentage of free margin.

EMA Cross Contest Hedged EMA Cross Contest Hedged

A trading system based on three indicators: two iMAs (Moving Average) and iMACD (Moving Average Convergence/Divergence, MACD).