PINE LIBRARY
Mis à jour

BossExoticMAs

111

A next-generation moving average and smoothing library by TheStopLossBoss, featuring premium adaptive, exotic, and DSP-inspired filters — optimized for Pine Script® v6 and designed for Traders who demand precision and beauty.

> BossExoticMAs is a complete moving average and signal-processing toolkit built for Pine Script v6.
It combines the essential trend filters (SMA, EMA, WMA, etc.) with advanced, high-performance exotic types used by quants, algo designers, and adaptive systems.

Each function is precision-tuned for stability, speed, and visual clarity — perfect for building custom baselines, volatility filters, dynamic ribbons, or hybrid signal engines.

Includes built-in color gradient theming powered by the exclusive BossGradient —



//Key Features

✅ Full Moving Average Set

SMA, EMA, ZEMA, WMA, HMA, WWMA, SMMA
DEMA, TEMA, T3 (Tillson)
ALMA, KAMA, LSMA
VMA, VAMA, FRAMA


✅ Signal Filters

One-Euro Filter (Crispin/Casiez implementation)
ATR-bounded Range Filter


✅ Color Engine

lerpColor() safe blending using color.from_gradient

Thematic gradient palettes: STOPLOSS, VAPORWAVE, ROYAL FLAME, MATRIX FLOW

Exclusive: BOSS GRADIENT


✅ Helper Functions

Clamping, normalization, slope detection, tick delta
Slope-based dynamic color control via slopeThemeColor()


🧠 Usage Example

//version=6
indicator("Boss Exotic MA Demo", overlay=true)
import TheStopLossBoss/BossExoticMAs/1 as boss

len = input.int(50, "Length")
atype = input.string("T3", "MA Type", options=["SMA","EMA","ZEMA","WMA","HMA","WWMA","SMMA",
"DEMA","TEMA","T3","ALMA","KAMA","LSMA","VMA","VAMA","FRAMA"])
t3factor = input.float(0.7, "T3 β", step=0.05)
smoothColor = boss.slopeThemeColor(close, "BOSS GRADIENT", 0.001)ma = boss.maSelect(close, len, atype, t3factor, 0.85, 14)
plot(ma, "Boss Exotic MA", color=smoothColor, linewidth=2)


---

🔑 Notes

Built exclusively for Pine Script® v6

Library designed for import use — all exports are prefixed cleanly (boss.functionName())

Some functions maintain internal state (var-based). Warnings are safe to ignore — adaptive design choice.

Each MA output is non-repainting and mathematically stable.

---

📜 Author

TheStopLossBoss
Designer of precision trading systems and custom adaptive algorithms.
Follow for exclusive releases, educational material, and full-stack trend solutions.



movingaverage, trend, adaptive, filter, volatility, smoothing, quant, technicalanalysis, bossgradient, t3, alma, frama, vma
Notes de version
v2
Notes de version
v3

Added:
bossGradient(isBull, layerIndex, totalLayers)
  Parameters:
    isBull (bool)
    layerIndex (int)
    totalLayers (int)

vwma(src, length)
  Parameters:
    src (float)
    length (int)

vwema(src, length)
  Parameters:
    src (float)
    length (simple int)

ama(src, length, fastLength, slowLength)
  Parameters:
    src (float)
    length (int)
    fastLength (int)
    slowLength (int)

ahrma(src, length)
  Parameters:
    src (float)
    length (int)

alxma(src, length)
  Parameters:
    src (float)
    length (int)

dsema(src, length)
  Parameters:
    src (float)
    length (int)

fema(src, length)
  Parameters:
    src (float)
    length (int)

instant(src, alpha)
  Parameters:
    src (float)
    alpha (float)

ilrs(src, length)
  Parameters:
    src (float)
    length (int)

laguerre(src, alpha)
  Parameters:
    src (float)
    alpha (float)

leader(src, length)
  Parameters:
    src (float)
    length (int)

mcginley(src, length)
  Parameters:
    src (float)
    length (int)

mcNicholl(src, length)
  Parameters:
    src (float)
    length (simple int)

nonlagma(src, length)
  Parameters:
    src (float)
    length (int)

pwma(src, length, power)
  Parameters:
    src (float)
    length (int)
    power (float)

rmta(src, length)
  Parameters:
    src (float)
    length (int)

decycler(src, length)
  Parameters:
    src (float)
    length (int)

swma(src, length)
  Parameters:
    src (float)
    length (int)

slwma(src, length)
  Parameters:
    src (float)
    length (int)

super(src, length)
  Parameters:
    src (float)
    length (int)

smoother(src, length)
  Parameters:
    src (float)
    length (int)

tma(src, length)
  Parameters:
    src (float)
    length (int)

zlagma(src, length)
  Parameters:
    src (float)
    length (int)

threepolebuttfilt(src, length)
  Parameters:
    src (float)
    length (int)

threepolesss(src, length)
  Parameters:
    src (float)
    length (int)

twopolebutter(src, length)
  Parameters:
    src (float)
    length (int)

twopoless(src, length)
  Parameters:
    src (float)
    length (int)

oneEuroFilter(src, minCutoff, beta, dCutoff)
  Parameters:
    src (float)
    minCutoff (float)
    beta (float)
    dCutoff (float)

ehlersSuperSmoother(src, length)
  Parameters:
    src (float)
    length (int)

ehlersHighPass(src, length)
  Parameters:
    src (float)
    length (int)

multiMABands(src, fastLen, midLen, slowLen, maType)
  Parameters:
    src (float)
    fastLen (simple int)
    midLen (simple int)
    slowLen (simple int)
    maType (string)

bossTrend(ma1, ma2, ma3)
  Parameters:
    ma1 (float)
    ma2 (float)
    ma3 (float)

momentumScore(src, lookback)
  Parameters:
    src (float)
    lookback (int)

Updated:
nzf(x, y)
  Parameters:
    x (float)
    y (float)

smma(src, length)
  Parameters:
    src (float)
    length (simple int)

t3(src, length, factor)
  Parameters:
    src (float)
    length (simple int)
    factor (float)

alma(src, length, offset, sigma)
  Parameters:
    src (float)
    length (int)
    offset (float)
    sigma (float)

kama(src, length, fastEnd, slowEnd)
  Parameters:
    src (float)
    length (int)
    fastEnd (float)
    slowEnd (float)

frama(src, length, FC, SC)
  Parameters:
    src (float)
    length (int)
    FC (int)
    SC (int)

Removed:
lerpColor(a, b, t)

themePick(name, t)

slopeThemeColor(src, theme, gain)

vma(src, length)

vama(src, length, volLookback)

oneEuro(src, minCut, beta, dCut)

rangeFilter(src, length, mult)

maSelect(src, length, kind, a1, a2, vlook)

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.