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
- Views:
- 8966
- Rating:
- Published:
- 2018.09.27 15:26
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Damiani Volatmeter - trend/flat determining algorithm.
There are five inputs:
- Viscosity;
- Sedimentation;
- Threshold;
- Lag suppressor - whether to limit lagging (Yes/No);
- Applied price - price used for calculations.
Calculations:
-
If Lag suppressor:
LineP = ATR_V / ATR_S + (LineP[1]-LineP[3]) / 2.0
-
Else:
LineP = ATR_V / ATR_S
LineM = Threshold - StdDevV / StdDevS
where:
ATR_V - ATR(Viscosity) ATR_S - ATR(Sedimentation) StdDevV - StdDev(Viscosity) StdDevS - StdDev(Sedimentation)
If the M line (red) is below the P line (green), there is a flat in the market. If above, there is a trend.
Fig. 1. Damiani_Volatmeter + Lag suppressor
Fig. 2. Damiani_Volatmeter without Lag suppressor
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21700

The TriggerLines trend indicator draws two moving average lines colored in accordance with the trend direction: green for upward and red for downward.

Twiggs Money Flow is an indicator by Colin Twiggs, which uses Welles Wilder's Moving Average.

A channel filter indicator Darvas Box.

The Delta indicator draws two lines: the bar average price line (OHLC)/4 and the line of the decimal logarithm of the current to previous (OHLC)/4 prices ratio.