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

Bullish and Bearish Engulfing - expert for MetaTrader 5

Views:
20198
Rating:
(26)
Published:
2017.08.10 12:34
Updated:
2018.06.26 13:14
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The EA trades based on the "Bullish and Bearish Engulfing" pattern.

Inputs:

  • Bullish Engulfing — the type of the position that should be opened when there is "Bullish Engulfing"
  • Bearish Engulfing — the type of the position that should be opened when there is "Bearish Engulfing"
  • Risk in percent for a deal — risk per trade (position volume calculation) 
  • Shift in bars (from 1 to 255) — horizontal shift in bars
  • Distance (in pips) — distance parameter (see the below image for details)
  • true -> close opposite positions — reverse of a given position
  • magic number


Bullish and Bearish Engulfing


Bullish and Bearish Engulfing shift


Bullish and Bearish Engulfing distance

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

Size of candles 2 (text) Size of candles 2 (text)

The size of a candlestick. The size is calculated by the following formula: "minuend" minus "deduction".

RSI Arrow RSI Arrow

The indicator displays Wingdings arrows when RSI crosses UP and DOWN levels.

Color_PEMA_Digit Color_PEMA_Digit

A moving average with the five-fold EMA averaging. It displays the most recent value as a price label with the possibility to round the indicator levels up to a required number of digits.

Color_QEMA_Digit Color_QEMA_Digit

A moving average with the four-fold EMA averaging. It displays the most recent value as a price label with the possibility to round the indicator levels up to a required number of digits.