Currency Pairs: Any
Timeframes: Any
Minimum Deposit: Any
Recommended Account Type: ECN & Cents
Leverage: From 1:30 to 1:2000
Recommend broker: Roboforex
Recommend Vps: GoVPSFX
Do you want to automatically receive an 85-90% auto-rebate on every trade and earn much more from trading? Look here
Do you want to earn automatically and stably 20-25%/month with safe DD? Look here
AltrTrend Source code MT4 is an adaptive trend indicator for MetaTrader 4 that displays directly on the price chart as colored bars (histograms). It determines the direction of the current trend, filtering out market noise by dynamically changing the calculation period.
How it works
Adaptiveness based on ADX: The indicator’s main feature lies in the line `SSP = MathCeil(Kperiod / iADX(…))`. The indicator doesn’t use a fixed period to search for highs and lows. It divides the specified `Kperiod` value by the current ADX indicator value.
Strong trend (high ADX):* the calculation period decreases, making the indicator more sensitive.
Flat (low ADX):* the period increases, making the indicator slower and filtering out false breakouts.
Boundary Detection (Channel): Over the calculated dynamic period (`SSP`), the algorithm finds the highest (`SsMax`) and lowest (`SsMin`) price. Then, using the `K` parameter (in percent), it calculates the inner boundaries of this range: the upper (`smax`) and lower (`smin`).
Signals (Rendering):**
* **Uptrend (Green):** If the bar’s closing price (`Close`) breaks the upper boundary (`smax`), the indicator colors the bar green.
* **Downtrend (Crimson):** If the closing price falls below the lower boundary (`smin`), the bar is colored crimson (`Crimson`).
Basic Settings (Inputs)
* **`K` (default 30):** Percentage of indent from absolute highs/lows to form breakout boundaries. * **`Kperiod` (default 150):** The base period adjusted by ADX values.
* **`PerADX` (default 14):** The period of the built-in ADX indicator used to assess trend strength.







Reviews
There are no reviews yet.