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

2015.11.20 10:42
Millenium Code

Millenium Code - expert for MetaTrader 4

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

Views:
7821
Rating:
votes: 13

Real author:

Tomas Hruby in cooperation with Parbest company.

Description:

This program is a simpler version of the original code of relatively simple system Millenium, which in the summer of 2014 earned on real account 54%. I decided to make available this Code Base release (without some paid functions) for free.

The system is based on opening of only one trade per day. Last year, the system was running on a real account, where he produced nice results throughout the year, 2014. But currently I do not use it for its high degree of volatility. The basic principle is to open one order per day. The main indicator is the crossover of moving averages verifying the current price, which must be above or below the moving average. The condition is that always the lowest or highest price of the last X bars must be at the opposite side of the direction of the new signal order type. As you can see on the screenshot below, the BUY order was opened when lowest price of 20 last bars was below both Moving averages, Fast MA crosses Slow MA and current price is higher than Fast and Slow MA.

Information:

  • Millenium Code is only part of original Millenium Expert Advisor.
  • It is very good to use optimization and disable trading at some days of the week.
  • Millenium can be also combined with different settings of many trading days (just try to find settings for Monday, then for Friday and then combine them together).
  • If you are looking for Trailing SL and TP with money management and reopening of orders please search for Millenium in the Market.

Order example:

if(yFastMAprice<ySlowMAprice && FastMAprice>SlowMAprice && Ask>SlowMAprice && Ask>FastMAprice && pL1<SlowMAprice && pL1<FastMAprice)
  {
   if(ReverseSignal)
     {
      dirToday=OP_SELL;
     }
   else
     {
      dirToday=OP_BUY;
     }
  }

And finally, do not miss the news and watch our MQL5 wall: https://www.mql5.com/en/users/tomac1

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.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.