Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

SV v.4.2.5 - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
3555
Rating:
(18)
Published:
2018.04.18 17:20
SV v.4.2.5.mq5 (60.48 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Author of the idea: Evgeny, MQ5 code author: barabashkakvn.

The Expert Advisor opens no more than one position per day. Conditions for opening a position are checked at the specified time. The EA searches for the highest high price and the lowest low price in the Analyzed interval. The EA takes into account Shift of the interval from the current moment.

SV v.4.2.5

Additional conditions: analysis of the position of the found prices (highest price and lowest price) relative to two Moving Averages: "Fast" and "Slow".


Recommendations for Optimization

Use only the following parameters during the initial optimization: Start hour, Shift and Analyzed interval.

SV v.4.2.5 optimization


Input Parameters

  • Use Manual setting ("true" -> "Lots", "false" -> "Risk") - enable/disable manual lot setting;
  • Lots - manually set lot;
  • Stop Loss (in pips) - Stop Loss value
  • Take Profit (in pips) - Take Profit value
  • Trailing Stop (in pips) - trailing value
  • Trailing Step (in pips) - trailing step value
  • Risk in percent for a deal from a free margin - risk per trade (if Use Manual setting == false);
  • Start hour - trading start hour;
  • Start minute - trading start minute;
  • Shift - shift for the analyzed interval;
  • Analyzed interval - the width of the analyzed interval;

  • Parameters of the "Fast" Moving Average:

    • MA Fast: averaging period;
    • MA Fast: horizontal shift;
    • MA Fast: smoothing type;
    • MA Fast: type of price.

  • Parameters of the "Slow" Moving Average:

    • MA Slow: averaging period;
    • MA Slow: horizontal shift;
    • MA Slow: smoothing type;
    • MA Slow: type of price.

  • magic number - Expert Advisor's unique identifier.

Testing on USDJPY, H1:

SV v.4.2.5 test

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20208

Days of the week color Days of the week color

A colored histogram of the days of the week. Uses the drawing style DRAW_COLOR_HISTOGRAM.

DayTime DayTime

An arrow indicator, which compares the daily open price with the close price of an hour.

DPO_Bar DPO_Bar

Detrended Price Oscillator Bar - price chart without a trend.

BW_Zone_Trading BW_Zone_Trading

Modified BW Zone Trading - a modified indicator of Bill Williams' zone trading.