Systemicbeta

Absolute

systemic:core-absMath

Inputs

NameTypeDescription
DataNumber seriesThe numeric series to convert to absolute values.

Outputs

NameTypeDescription
AbsoluteNumber seriesThe absolute value of each input value.

Cost

7
credits per run
1,000
bars

0.198 + 0.00591·n credits for n bars, rounded up. The marks are each plan's limit of bars.

∣x∣={x,if x≥0−x,if x<0|x| = \begin{cases} x, & \text{if } x \geq 0 \\ -x, & \text{if } x < 0 \end{cases}

Removes the sign of every value in a series. Positive values stay the same, negative values become positive, and zero stays zero.

InputOutput
55
-33
00
-7.57.5

Missing Data

A value can be missing (empty) — a data gap, or a bar when the market was closed, such as a weekend on a stock series.

  • An empty input gives an empty output on the same bar. No zero or other substitute is filled in.
  • Every real number has an absolute value, so an empty output always means "no input value on this bar", never a math error.

When to Use

Use absolute value when you care about how much something moved, not in which direction:

Use CaseExample
Volatility measurementSize of daily returns regardless of direction
Distance from baselineHow far price is from a moving average
Error magnitudeTracking error, deviation from target

Practical Example: Movement Magnitude

Take the absolute value of daily returns to measure how large the moves are:

DayReturn|Return|
Mon+2.5%2.5%
Tue-1.8%1.8%
Wed-4.2%4.2%
Thu+0.3%0.3%

The average of these magnitudes (2.2%) shows how much the asset typically moves per day. Volatility measures such as Average True Range build on the same idea.


Volatility Compression Detection

Absolute value can also help detect stretches of low volatility, which often come before large moves. When the average absolute return is very low compared with its own history, the market may be "coiling" for a breakout.

flowchart LR
    subgraph Pipeline["Volatility Compression Pipeline"]
        DR["Daily Return"]
        ABS["ABS Module"]
        SMA["Simple Moving Average"]
        PERC["Percentile"]
        SIGNAL["Low Percentile = Signal"]
    end
    
    DR --> ABS
    ABS --> SMA
    SMA --> PERC
    PERC --> SIGNAL
    
    style ABS fill:#4a90d9,stroke:#333,color:#fff
    style SIGNAL fill:#e74c3c,stroke:#333,color:#fff

When the average absolute return falls into the lowest 10% of its values over the past year, treat it as a warning: a large move may follow. This effect is well documented (see volatility clustering) and can inform both directional and options strategies.


  • SUB — Calculate differences (then apply ABS for unsigned distance)
  • SQRT — Square root, another way to shrink large values
  • POW — Use exponent 0.5 for a dampened magnitude

Key Takeaways

Use CaseWhat ABS DoesWhy It Matters
Volatility analysisConverts returns to magnitudesMeasures movement intensity
Deviation measurementRemoves directional signFocuses on distance from reference
Symmetric indicatorsEqual treatment of up/downIdeal for oscillators
Risk metricsAbsolute drawdown/deviationDirection-agnostic risk assessment

Further Reading

Rendering diagrams...
© 2026 WanoLabs. All rights reservedBeta v0.1.5