Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Sistemi Esperti

Interceptor - sistema esperto per MetaTrader 5

Pubblicati da::
Vladimir Karputov
Visualizzazioni:
6614
Valutazioni:
(12)
Pubblicato:
2018.07.09 10:30
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

Idea by: mserega76.

MQL5 code by: Vladimir Karputov.

A trading strategy based on working with a "fan" of Moving Averages (three timeframes, five Moving Averages on each). The EA is designed to work on GBPUSD,M5 "five-digit." If you try to run it on another symbol or another timeframe, the EA will finish its operation with an error.

Two methods of obtaining data from indicators Moving Average are used in the code:

  • Data from only one bar per request (obtaining data in variable) - "iMAGet"
  • Data from several bars per request (obtaining data in array) - "iMAGetArray" and "iStochasticGetArray"

CopyRates is also widely used to accelerate calculations.


Inputs

  • lot size when position is opened normally (if signals do not match)
  • flat coefficient on M5 (number of points per bar)
  • initial stop loss (if it is below 100, no stop loss will not be placed)
  • take profit (if it is below 100, no take profit will be placed)
  • minimum profit in points upon moving to breakeven
  • stop loss upon moving to breakeven (we move it to breakeven, if the parameter is above 9)
  • the maximum allowable distance between MAs for a fan on chart M5 (in signal 1 only)
  • the maximum allowable distance between MAs for a fan on chart M15 (in signal 4 only)
  • the maximum allowable distance between MAs for a fan on chart M15 (in signal 6 only)
  • stochastic period (for M5)
  • upper level of stochastic (for M5)
  • lower level of stochastic (for M5)
  • stochastic period (for M15)
  • upper level of stochastic (for M15)
  • lower level of stochastic (for M15)
  • minimum size of the candlestick body (in signal 1 only)
  • low flat (the minimum flat length in bars)
  • high flat (the maximum flat height in points)
  • minimum distance in bars between the indicator peaks for divergence on M5
  • minimum percentage of the long hammer shadow
  • maximum percentage of the short hammer shadow
  • minimum hammer size in points (in chart M5)
  • how long ago the hammer was present (the highest number of its bar)
  • on how many bars the hammer is the maximum (in signal 6 only)
  • narrow source (the largest width of the fan on M5 at the narrowest point)
  • how many bars ago the fan converged to the "narrow source" (to practically a point)
  • maximum/minimum range that is broken through ("narrow source" in bars)
  • marking your positions with such number
  • minimum shift of trailing stop
  • distance from trailoing stop to the price (if it is below 100, trailing does not function)

A single test in the "Every tick based on real ticks" mode:

Interceptor

Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/20936

EES Hedger EES Hedger

This utility tracks positions opened manually or by another EA for the current symbol and opens an opposite position. Opening the positions is tracked in OnTradeTransaction.

Price Rollback Price Rollback

A trading system that only trades on resverse and from Thursday to Friday only.

PCI PCI

Indicator Phase Change Index - the market phase change index

UltraAbsolutelyNoLagLwma UltraAbsolutelyNoLagLwma

This indicator is based on indicator AbsolutelyNoLagLwma and on the analysis of its multiple signal lines