Attachments forums

Re: Something interesting from Chatgpt/AI please post here

ionone, Thu Jul 23, 2026 11:25 pm

Dynamic Bias Moving Average

This is a three-layered Moving Average which can "stretch", "accelerate" and "lean" toward price depending on volatility and trend strength.

Dynamic Bias MA is an adaptive Moving Average that combines volatility-aware responsiveness with directional biasing. It can automatically accelerate or reposition itself when price deviates beyond a user-defined threshold, then apply either residual-based or trend-slope bias to produce a moving average that remains responsive in strong trends while resisting excessive lag in changing market conditions.

If you toggle both:
  • Bias = OFF
  • Adapt = OFF
You simply have an ordinary EMA or SMA.

Unique features
  • If price stretches unusually far away, it either pulls itself toward price (Rubber Band mode) or temporarily speeds up (Adaptive Alpha mode).
  • It then applies an intelligent offset based on either how far price has drifted from the average (Residual Bias) or how strongly the average is already trending (Slope Bias).
The outcome of this MA is a Moving Average that remains aligned with significant trend movements, avoiding the pitfalls of merely shortening the MA period, which can introduce noise.



Here is the fixed version 2.2 of my Dynamic Bias MA
Sorry v2.1 was repainting if SMA was selected.

For the MT5 version, please see here.
All files in topic