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

Bollinger Bands as Support & Resistance - expert pour MetaTrader 5

Publié par:
Mohammed Abdulwadud Soubra
Vues:
11382
Note:
(29)
Publié:
2017.03.07 17:01
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Bollinger Bands as Support & Resistance Using Pending Orders:

  • It will use the upper BB edge as Sell pending order & lower BB edge to place the Buy pending order.
  • The central SMA line of the BB will be used to close the opened positions as enough.

It is not profitable, it is just an example for coding Forex robots.

It is trading only on time frame 15 minutes as you can see in the code below:

//+------------------------------------------------------------------+
//|   expert OnTick function                                         |
//+------------------------------------------------------------------+
void OnTick()
  {
   BB_UPPER   = iBands(NULL ,PERIOD_M15 ,BB_period ,BB_dev ,0 ,PRICE_CLOSE ,MODE_UPPER ,0);
   BB_SMA     = iBands(NULL ,PERIOD_M15 ,BB_period ,BB_dev ,0 ,PRICE_CLOSE ,MODE_SMA   ,0);
   BB_LOWER   = iBands(NULL ,PERIOD_M15 ,BB_period ,BB_dev ,0 ,PRICE_CLOSE ,MODE_LOWER ,0);
............
.
.
.
  }

You can change the period above from PERIOD_M15 to PERIOD_CURRENT or by using the ENUM_TIMEFRAMES

Recommendations

  • This example is only for coders who are interested in automated trading source codes.
  • Using this example in real account is not recommended.
  • Take care!
MT5 to MT4 Set File Converter MT5 to MT4 Set File Converter

Converts .set files from MT5 format to MT4 format.

Vidya zone Vidya zone

Vidya zone using 3 prices for calculation.

ADXm (vhf adaptive) ADXm (vhf adaptive)

ADXm (vertical/horizontal filter adaptive).

Dsl - DMI oscillator Dsl - DMI oscillator

DSL - DMI oscillator