Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
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

Executer AC - expert pour MetaTrader 5

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

Author of the idea - Alex

mq5 code author - barabashkakvn

The EA uses iAC (Acceleration/Deceleration, Accelerator/Decelerator Oscillator, AC) indicator. The EA only operates when a new bar appears. The EA opens only one position at a time, therefore it is able to work both on hedging and netting accounts.

Lot is calculated based on the trading history for the last History days (the Maximum Risk in percentage and Descrease factor parameters are used as well).

The EA implements several signals for BUY and SELL (ac[] array here stands for AC indicator values)

BUY signals:

      //--- indicator AC go UP
      if(ac[1]>0.0 && ac[2]>0.0)
        {
         //--- check signal BUY
         if(ac[1]>ac[2] && ac[2]>ac[3])
           {
            ***
           }
         ***
        }
      //--- indicator AC go DOWN
      if(ac[1]<0 && ac[2]<0)
        {
         //--- check signal BUY
         if(ac[1]>ac[2] && ac[2]>ac[3] && ac[3]>ac[4])
           {
            ***
           }
         ***
        }
      //--- indicator AC crosses zero from top to bottom
      if(ac[1]>0.0 && ac[2]<0.0)
        {
         ***
        }
      ***

SELL signals:

      //--- indicator AC go UP
      if(ac[1]>0.0 && ac[2]>0.0)
        {
         ***
         //--- check signal SELL
         if(ac[1]<ac[2] && ac[2]<ac[3] && ac[3]<ac[4])
           {
            ***
        }
      //--- indicator AC go DOWN
      if(ac[1]<0 && ac[2]<0)
        {
         ***
         //--- check signal SELL
         if(ac[1]<ac[2] && ac[2]<ac[3])
           {
            ***
           }
        }
      ***
      //--- indicator AC crosses zero bottom up
      if(ac[1]<0.0 && ac[2]>0.0)
        {
         ***
        }

Example of opening BUY:

Executer AC

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

InvertBar_Plus InvertBar_Plus

The inverted chart of the current financial instrument, displaying Ask and Bid price levels in the form of colored bars in the additional window

Time_Bar_Custom_Monthly Time_Bar_Custom_Monthly

Brief description

Bronze Warrioir Bronze Warrioir

The Expert Asvisor uses iCCI (Commodity Channel Index, CCI) and iWPR (Williams’ Percent Range, %R) indicators, as well as custom DayImpuls indicator.

DayImpuls DayImpuls

Impulse detector. The indicator applies MovingAverages.mqh