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

2011.11.09 06:10

News Expert Advisor (no indicators) - expert for MetaTrader 4

| English 日本語 Русский Español Deutsch Português

votes: 15
cm_EA_News.mq4 (6.59 KB)view


EA trades on a large market movements, and does not uses any indicators.
The idea of the Expert Advisor is that stop orders are discrete-time moving at a given distance from the current price.

If the price is rather abruptly slid to one side, the EA simply does not have time to move the order and it becomes a market.

Further included trail orders.

extern int Stoploss = 10,        // ​​stoploss if 0 is not changed
           Takeprofit = 50,      // TakeProfit, if 0 is not changed
extern int TrailingStop = 10,    // length of Trail, if 0 no trail
extern int TrailingStart = 0,    // ​​when trail usede, for example, after reaching 40 n arrived
extern int StepTrall = 2         // Thrall step - move stop-loss is not closer than StepTrail
extern int NoLoss = 0,           // ​​transfer to breakeven for a given number ve points of profit, if then there is no move to breakeven
           MinProfitNoLoss = 0,  // ​​minimum earnings when move to break-even level
extern int Magic = 77            // Magic
extern int Step = 10,            // distance from the price
extern double Lot = 0.1;
extern int TimeModify = 30       // number of seconds before a order is not allowed to change
extern int slippage = 30         // The maximum deviation of the price for market orders (orders to buy or sell).

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Auto Fibonacci Retracement Auto Fibonacci Retracement

Automatically draws Fibonacci retracements on chart.

Example of A Simple Breakout Trading Robot Example of A Simple Breakout Trading Robot

Example of a simple breakout trading robot. There are a lot of breakout methods, but this is the simplest one as I think. Please see the attached images to visualize what is the breakout trading...