AML - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

The AML (Adaptive Market Level) indicator shows one of three market states: flat, uptrending, and downtrending.
It is based on fractal smoothing and has a discrete filter that eliminates small price movements: if the price movement does not exceed the square of the predefined magnitude within the specified range, the price movement is ignored and considered flat.
It has two parameters:
If ABS(FR - FR(size)) < LAG:
LAG = Size * Size * Points FR = Alpha * Price + (1.0 - Alpha) * PrevFR Price = (highest price + lowest price + 2.0 * opening price + 2.0 * closing price) / 6.0
Alpha = EXP(-1.0 * Dimension * (DIM - 1.0)) in the range 0.01 to 1.0
If R1+R2 > 0 and R3 > 0:

Attachment download
📎 aml.mq5 (11.78 KB)
Source: MQL5 #21103
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •