Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
Directional_Volatility - indicator for MetaTrader 5
- Views:
- 4291
- Rating:
- Published:
- 2018.10.25 17:29
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Directional Volatility indicator. The indicator displays two volatility lines - bullish and bearish ones.
It has two configurable parameters:
- Period - calculation period
- Deviation - deviation
Calculation:
Short = ShortMA + Deviation * ShortDev Long = LongMA + Deviation * LongDev
where:
ShortMA - EMA(ShortS,Period)
ShortDev - StdDev(ShortMA,Period)
ShortS = PrevClose - Low
LongMA - EMA(LongS,Period)
LongDev - StdDev(LongMA,Period)
LongS = High - PrevClose
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22424
DoubleToText
Converts a number to a text.
CCI_Histogram_Vol_HTFCCI_Histogram_Vol indicator with the timeframe selection option available in input parameters