INVITE-ONLY SCRIPT

AlgoFlex Buy Sell Signal (1h only)

72


**Overview**
AlgoFlex Scalper plots buy/sell signal markers using:

* a range filter (EMA of absolute bar changes) to define short-term bias,
* an Adaptive Moving Average (AMA) slope to confirm direction, and
* an ATR threshold to filter weak momentum.
Signals are evaluated on bar close to reduce intrabar noise. This is an indicator, not a strategy.

**How it works (concepts)**

* Range filter: smooths price with an EMA-based range measure and forms upper/lower bands.
* Trend state: counts consecutive movements of the filtered series (up/down counters) to avoid whipsaws.
* AMA + ATR gate: rising AMA with change > ATR \* atrMult can produce a long signal; falling AMA with change < -ATR \* atrMult can produce a short signal.
* TP/SL markers: projected using ATR multiples (tpMult, slMult). Visual guides only.


* Buy Signal, Sell Signal, plus optional TP/SL notifications. Designed to fire on bar close.


Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.