Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

Russian20-hp1 - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
4387
Note:
(16)
Publié:
2018.09.27 16:11
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Idea byScriptor

MQL5 code author: barabashkakvn

The Expert Advisor is based on the trend indicator iMA (Moving Average, MA) and the iMomentum oscillator (Momentum). It can work on every tick (Work on every tick = "true") and only at the new bar emergence time (work on every tick = "false").

The work timeframe parameter means the timeframe, on which indicators are created and the bar close prices of which are used.

For Buy and Sell positions, you can separately set Stop Loss (Stop Loss BuyStop Loss Sell) and Take Profit (Take Profit Buy, Take Profit Sell). If you want to disable any of these options, set the appropriate parameter to "0.0".


Trading Signals

If there are no open positions, then position opening signals can be checked:

  • BUY opening signal: (Close of bar #0 > Moving Average on bar #0) AND (Momentum on bar #0 >100.0) AND (Close of bar #0 > Close of bar #1)
  • SELL opening signal: (Close of bar #0 < Moving Average on bar #0) AND (Momentum on bar #0 <100.0) AND (Close of bar #0 < Close of bar #1)

When there are open positions, the possibility of closing is checked:

  • A signal to close BUY: (Momentum on bar #0 <100.0)
  • A Signal to close SELL: (Momentum on bar #0 >100.0))

The results of optimization of work on every tick and work timeframe for EURUSD are provided as default EA parameters. Results of EURUSD testing with default parameters:

Russian20-hp1


Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/21852

LinearRegressionChannel_Cloud LinearRegressionChannel_Cloud

The linear regression channel, which saves its values ​​in the indicator buffers and fills the channel background with color

StepMA_3D_v3 StepMA_3D_v3

A trend indicator with three moving averages having different periods, using the Average True Range in calculations.

Trendless_OS Trendless_OS

The Trendless OS DiNapoli indicator

Valid_Swing_HighLow Valid_Swing_HighLow

The Valid Swing HighLow indicator