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

Directional_Breakout - indicator for MetaTrader 5

Views:
4382
Rating:
(7)
Published:
2018.07.09 12:54
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Informational indicator. It displays a histogram in different colors, depending on the ratio between the candlestick prices and the moving average.

There are three adjustable parameters:

  • MA Period - MA calculation period;
  • MA Method - Moving Average calculation method;
  • Applied price - price used for calculations.

Calculation:

If Low > MA:
MA > PrevMA = color 1
MA < PrevMA = color 2
If High < MA:
MA < PrevMA = color 3
MA > PrevMA = color 4
Otherwise = color 5

where:

MA is the moving average with the Period, by Method, and at Applied price
PrevMA - moving average on the previous bar

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

DBB DBB

Indicator Distance from Bollinger Bands.

FullDump FullDump

A trading strategy based on indicators iBands (Bollinger Bands, BB) and iRSI (Relative Strength Index, RSI).

haOpen haOpen

Indicator Heikin-Ashi Open.

haDifference haDifference

Indicator Heikin-Ashi Difference.