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
Indicators

The volume based ATR indicator - indicator for MetaTrader 5

Views:
13193
Rating:
(22)
Published:
2018.03.01 11:28
VATR.mq5 (3.97 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Custom ATR. The indicator values are calculated based on the current day's High-Low and current day's High - previous day's Close or current day's Low - previous day's Close.

There are three adjustable parameters:

  • Period of indicator - indicator calculation period;
  • Use volume - use volumes in calculations. If the parameter is set to "yes", then the current day's volume is added to the calculated minimum difference;
  • Type of indicator - indicator drawing type, Line/Histogram.

Fig.1 Line, no volume


Fig.2 Histogram, no volume


Fig.3 Line with the volume


Fig.4 Histogram with the volume

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

A set of eight Moving Averages A set of eight Moving Averages

The indicator allows displaying on a chart eight Moving Averages with the same averaging methods and calculation prices, but with different periods.

Channel based on extreme prices Channel based on extreme prices

The indicator draws a channel at candlestick extreme prices.

Indicator showing the day open price Indicator showing the day open price

The indicator draws the opening price of the day. It works on timeframes up to H1.

Donchian Channel Donchian Channel

The indicator draws the Donchian channel.