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
2012.12.03 16:23
2016.11.22 07:32
lucky.mq5 (3.16 KB) view

The Expert Advisor is rewritten from MQL4, the author is Serg_ASV, link to the source -

How it works

If the price moves 'Shift' points or more for one tick, a position is opened in the direction opposite to the movement of the price. As the position is profitable (at any minimum value), it closes.


How it works means that Shift value is 3, spread is equal to 2.


  • Lots - Position volume.
  • Shift - Price change to open a position.
  • Limit - Loss value in points to close a position.


The Expert Advisor testing in the strategy tester is likely to be unreliable. It must be tested on a demo account.

Translated from Russian by MetaQuotes Ltd.
Original code:


The Expert Advisor analyses four Moving Averages: open, high, low, close. On its basis it calculates GO value and opens position according to its value

Exp_AdaptiveCyberCycle Exp_AdaptiveCyberCycle

The Expert Advisor Exp_AdaptiveCyberCycle is built on the basis of the Adaptive Cyber Cycle indicator. The signal is formed when a bar is closing if there is crossing of indicator and its signal line.

i_Trend i_Trend

The oscillator with two lines based on Bollinger Bands, BearsPower and BullsPower

BarsMaxMinSystem BarsMaxMinSystem

The Three-Bar High/Low System indicator by Larry Williams