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

DojiTrader - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
7576
Rating:
(23)
Published:
2018.01.22 10:04
Updated:
2018.02.28 15:27
DojiTrader.mq5 (32.58 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The author of the idea: John Smith, the mq5 code author: barabashkakvn.

The Expert Advisor trades using the Japanese Doji Candlestick pattern.

Doji

The Doji candlestick has practically no body, it only has shadows. But this code provides the "Maximum Doji height" setting, in which you can set the height of the candlestick body.

Only one open position is allowed. If the EA accidentally opens more than one position, all positions will be closed. The EA performs trading operations on a new bar (when a new bar emerges), and checks the previous three bars (skipping the zero bar). If a "doji" like bar is detected, a signal to open a position is generated.


Input Parameters

  • Lots - position volume;
  • Stop Loss (in pips) - Stop Loss value;
  • Take Profit (in pips) - Take Profit value;
  • Start hour - trading start time;
  • End hour - trading end time;
  • Maximum Doji height - the maximum height of the Doji candlestick;
  • magic number - Expert Advisor identifier.

Example of testing on EURUSD, H1:

DojiTrader EURUSD H1

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

Dealers Trade v 7.91 ZeroLag MACD Dealers Trade v 7.91 ZeroLag MACD

A further development of code "Dealers Trade v 7.74 MACD" (https://www.mql5.com/en/code/19535). "Zero-lag MACD" (https://www.mql5.com/en/code/170) is used. When the number of positions increases, the following is also increased: step between positions, lot size, take profit (martingale).

Four clicks to draw an arc-shaped channel Four clicks to draw an arc-shaped channel

A quick way to draw an arc-shaped channel using four mouse clicks.

SAR trading v2.0 SAR trading v2.0

Trading signals are generated based on a comparison of two trend indicators: iMA (Moving Average, MA) and iSAR (Parabolic SAR). The EA works on the zero bar, only one position can be open. Trailing stop is used.

Hi/lo mod Hi/lo mod

High/Low indicator mod.