Watch how to download trading robots for free
Find us on Facebook!
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

An Expert Advisor, based on Bollinger Bands ® - expert for MetaTrader 5

Views:
38748
Rating:
(76)
Published:
2010.08.12 17:20
Updated:
2016.11.22 07:32
bolbands.mq5 (13.25 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This Expert Advisor is based on Bollinger Bands. It uses trend-following strategy (DEMA) and Bollinger Bands ® indicator.

It shows a stable profit in Strategy Tester during last 17 years (EURUSD M30).

The Strategy:
  • Open long position: DEМА is growing up and white (bull) candle crossed the Lower Bollinger Band from below to above.
  • Open short position: DEМА is falling down and black (bear) candle crossed the Upper Bollinger Band from above to below.
  • Close long position: Black candle crossed the Upper Bollinger Band from above to below.
  • Close short position: White (bull) candle crossed the Lower Bollinger Band from below to above.


An Expert Advisor, based on Bollinger Bands


An Expert Advisor, based on Bollinger Bands

Input parameters:
  • bands_period - Bollinger Bands period;
  • dema_period- DEMA period;
  • bands_shift- Bands shift;
  • deviation- Standard deviation;
  • Lot - Trade volume (in lots).

Recommendations:

Use this Expert Advisor as a base of your own strategy only.


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

Dual Trix Expert Advisor Dual Trix Expert Advisor

It uses martingale, the number of doublings is limited.

DinapoliTargets DinapoliTargets

This is MQL5 version of DinapoliTargets indicator. The ZigZag indicator is added to the chart.

i-ImpulseSystem i-ImpulseSystem

The indicator is based on the Elder's Impluse system.

Working with sockets in MQL5 Working with sockets in MQL5

This library will allow you to tranfser realtime quotes from MetaTrader 5 to external server application.