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
Indicators

Custom_Pattern - indicator for MetaTrader 5

Views:
10547
Rating:
(15)
Published:
2018.04.18 16:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The indicator searches for custom patterns specified in settings, and displays them on a chart. The pattern must be set as a text code, in which:

  • U is a bullish candlestick
  • D is a bearish candlestick
  • N is a candlestick of any type

For example:

  • If you write "UUD" in the indicator settings, the indicator will find and display all found "Bullish-Bullish-Bearish" candlestick patterns;
  • If you write "UUD" in the indicator settings, the indicator will find and display all found "Bullish-any-Bearish" candlestick patterns;

Patterns can only be specified using characters U, D and N or u, d and n.

The indicator can display specified patterns as well as mirror-mapped (reverse) ones.

It has two parameters:

  • Pattern (U - up, N - nothing, D - down) - pattern as a sequence of candlesticks;
  • Show reverse pattern - whether to display reverse patterns.

Fig.1 Pattern "UND" (Bullish-any-Bearish).

Fig.2 Pattern "UUD" (Bullish-Bullish-Bearish).

Fig.3 Pattern "UUD" (Bullish-Bullish-Bearish) with the display of reverse patterns enabled.

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

ChannelInd ChannelInd

The indicator displays on the chart the previous trading day's channel.

ATRR ATRR

ATR Ratio shows a ratio of two ATRs.

DayOfWeekLabels DayOfWeekLabels

The indicator shows days of the week on the price chart.

Keep On Trading (KOT) Keep On Trading (KOT)

An assistant indicator. It shows time for holding a position open.