A straight line fitted through the last n candles, read at the last one.
Instead of averaging, it fits the best straight line through the window and takes its end point. That makes it react to the direction of the move, not only to its level.
Worked out by the same code the builder uses, on stored daily candles. Move a setting and the line moves with it. This is what happened, not what will happen.
Gate: Least squares MA(25) is rising.
A fitted line extends the recent slope. Right after a sharp turn it points the old way for a few candles.
No indicator predicts the market on its own. Build the rule, then test it on years of history with fees included. Try TradeXtool free for 14 days.