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

2016.02.01 09:13
Experts

MAVA-XonaX - expert for MetaTrader 4

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

Views:
3913
Rating:
votes: 15
mava-mql.mq4 (2.74 KB)view

The Expert Advisor MAVA-XonaX uses moving averages based on the open and close prices.

Attach four MA indicators with the period equal to 6 to the H4 EURUSD chart. One is based on the opening prices MAopen, the second one — on the closing prices MAclose. These are signal indicators. The third one is based on the High prices MAhigh and the last one — on the Low prices MAlow.

When the trend is downward, the opening price of the candlesticks is higher than the closing price, which means that the moving average based on the opening prices will be higher and vice-versa. Thus, buy if MAclose crosses MAopen from below and sell as soon as MAopen goes above MAclose.

To use the MA indicator to its fullest, the take profit will be placed as the average spread for the given period, which calculated by the formula MAhigh – MAlow. Stop loss for sell: 2*(MAhigh – MAopen), stop loss for buy, respectively: 2*(MAclose – MAlow).

The Expert Advisor has been tested on the period 20.02.2015 – 16.07.2015.

Testing Results:


Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/13459

The universal trend indicator The universal trend indicator

It shows the trend direction for multiple currency pairs on the current time frame.

Stowell's Three-Bar Net Line Stowell's Three-Bar Net Line

The indicator plots two Stowell patterns on the right edge of the chart: upper and lower.

DayATR DayATR

The Average True Range indicator, in which the indicator period is calculated automatically using the number of bars of the current day.

DayBB DayBB

The Bollinger Bands indicator, in which the indicator period is calculated automatically using the number of bars of the current day.