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


VivaLasVegas - expert for MetaTrader 4

| English Español Português 日本語 Deutsch

votes: 5
2010.11.19 15:35
2016.11.22 07:32

This EA was written to test different betting strategies.

It uses a simple random generator to enter the market. Risk reward ratio is fixed to 1 to simulate straight betting.


  • TP_SL: Set the size of the trades. (As larger the size as smaller the house advantage)
  • BaseLotSize: the startlotsize or size of one betting unit.
  • GameStrategy: This is the most important setting. In the current version you can switch between 5 gametypes:
  1. Martingale with double up
  2. Negative exponential pyramiding
  3. Labouchere System. (You can change the Labouchere Series in the code at line 18)
  4. Oscars Grind. This is a positive progression system. The target of this system is 1 BaseLot
  5. System 31. Negative progression System where you can loose maximum 31 BaseLots.
  • Seed: This is used to seed the random generator.

At last: No error management/ECN style ordertypes added, this might only work in tester.

Doda-Donchian with stop-loss feature Doda-Donchian with stop-loss feature

Modified version of Donchian channel that shows when to Buy & Sell and most important, where to place stop-loss.

Wilder's Volaility System Wilder's Volaility System

Wilder's Volaility System

STP-Entry Framework Daily V1 STP-Entry Framework Daily V1

Stop-Orders are used to enter a position. Pending orders and postions are handled based on a daily system. Risk and money management are included as well as time and dayfilters. The entry logik (STP-value calculation) can be easily changed.

Emilio's Trend Line Breakout  Alerter Emilio's Trend Line Breakout Alerter

The Alerter simply works on 1 or 2 trendlines and plays a sound file when the trendline has been broken so the only think you must do is name correctly the trendlines.