Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Experts

FullDump - expert for MetaTrader 5

fortrader.ru | English Русский 中文 Español Deutsch 日本語 Português

Published by:
Vladimir Karputov
Views:
1630
Rating:
votes: 8
Published:
2018.07.09 12:51
FullDump .mq5 (43.39 KB)view

Idea by: Yuri.

MQL5 code by: Vladimir Karputov.


Operation algorithm

Searching for a signal within the interval from bar "0" to Depth of search.


Buying:

  1. RSI must be below 30;
  2. The price must reach the lowest Bollinger Band;
  3. Then wait until the candlestick moves to above the middle Bollinger Band;
  4. Stop Loss is placed below the last local Low. Take Profit is placed above the upper Bollinger Band;
  5. As soon as the upper line is reached, the stop must be moved to the breakeven point.


Sell:

  1. RSI must be above 70;
  2. The price must reach the upper Bollinger Band;
  3. Then wait until the candlestick moves to below the middle Bollinger Band;
  4. Stop Loss is placed above the last local High. Take Profit is placed below the lower Bollinger Band;
  5. As soon as the lower line is reached, the stop must be moved to the breakeven point.


Inputs

  • Lots - position volume.
  • Bands - Bands: Averaging period;
  • RSI - RSI: Averaging period;
  • Indent from High and Low - indent from High and Low when placing Stop Loss and Take Profit;
  • Depth of search - number of bars, among which the signal is searched for;
  • magic number - unique identifier for the EA.

Upon optimization (attention: Non-optimized parameters are in the code; you have to search for the necessary values independently) on EURUSD,H1:

FullDump

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/21032

ColorX2MA_x2_cloud_HTF ColorX2MA_x2_cloud_HTF

Two indicators ColorX2MA from different timeframes, the area between lines being filled with a cloud, the color of which corresponds with the trend direction on the market

Cutler_RSI Cutler_RSI

Cutler's RSI.

DBB DBB

Indicator Distance from Bollinger Bands.

Directional_Breakout Directional_Breakout

An indicator of the movement direction and stop.