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

FullDump - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
4768
Rating:
(18)
Published:
2018.07.09 12:51
FullDump .mq5 (43.39 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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 Ltd.
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.