KennedyAdaptiveBaseline
FREE
Publié:
23 mai 2025
Version actuelle:
1.41
Vous ne trouvez aucun robot qui vous convient ?
Commandez le vôtre
dans la section Freelance
Aller à la section Freelance
Commandez le vôtre
dans la section Freelance
Comment acheter un robot de trading ou un indicateur
Exécutez votre EA sur
hébergement virtuel
hébergement virtuel
Test un indicateur/robot de trading avant d'acheter
Vous voulez gagner de l'argent sur Market ?
Comment présenter un produit pour qu'il se vende bien
Vous manquez des opportunités de trading :
- Applications de trading gratuites
- Plus de 8 000 signaux à copier
- Actualités économiques pour explorer les marchés financiers
Inscription
Se connecter
Vous acceptez la politique du site Web et les conditions d'utilisation
Si vous n'avez pas de compte, veuillez vous inscrire

KAB v1.41
The indicator now runs with series indexing, has safer initialization, more robust parameter validation, and a much smarter volatility lock (hysteresis + optional timed release).
In other words, it's more efficient, more reliable, and smarter.
It also gains an option to operate strictly on closed bars to avoid repaint-style behavior on the forming bar.
Although, having said that, repainting is already avoided by a variety of functions:
1. Closed-bar policy
input bool useClosedOnly = false; // use bar-1 at bar 0
2. Use the previous closed bar’s index everywhere the “current” bar is referenced
int piStart = useClosedOnly ? MathMax(start,1) : start;
int pi = useClosedOnly ? MathMax(i,1) : i;
3. All state/price lookbacks use only prior closes
double sATR = CalcTR(high[piStart], low[piStart], close[piStart+1]);
double tr = CalcTR(high[pi], low[pi], close[pi+1]);
double unsm = prev + alpha * (close[pi] - prev);
4. Seed/recursion is strictly causal (each bar depends only on the previous output)
if(prev_calculated == 0) m_kabBuffer[start] = close[piStart];
double prev = (i==start ? m_kabBuffer[i] : m_kabBuffer[i+1]);
KAB is context-aware where traditional Moving Averages are static. When choosing a baseline, choose KAB.