Indicator AML (Adaptive Market Level) displays one of three market states: Flat, uptrend, and downtrend.
It is based on fractal smoothing and has a discrete filter that removes small price movements: If the price movement amplitude does not exceed the square of the predefined amplitude within the specified range, then this price movement will be ignored and considered a flat one.
It has two parameters:
If ABS(FR - FR(Dimension)) < LAG:
LAG = Dimension * Dimension * Point FR = Alpha * Price + (1.0 - Alpha) * PrevFR Price = (High + Low + 2.0 * Open + 2.0 * Close) / 6.0
If R1+R2 > 0 and R3 > 0:
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/21103
Indicator ZLS (Zero Lag Stochastic) - a zero-delay stochastic - a ratio of several stochastics with different periods %К, deceleration, and weights.Test_values_print
A simple include file to print out the values and names of variables.