Math Operators

Vector Division (DIV)

Vector Arithmetic Div

Deep Dive

Everything You Need to Know

Under the Hood

How It Works

DIV performs element-wise division of two data series: Output[i] = Input1[i] / Input2[i]. This mathematical utility enables ratio calculations and normalization operations between two time series. DIV is particularly useful for creating relative strength indicators, spread ratios, or normalizing one indicator by another. Handles division by zero appropriately.

In Practice

How Traders Use It

Developers use DIV for creating price ratios (BTC/ETH), relative strength calculations, or normalizing indicators. Essential for pair trading systems, spread analysis, and building custom relative indicators. DIV enables sophisticated ratio-based strategies and multi-asset indicator development.

Highlights

DIV at a Glance

Element-wise division of two data series
Formula: Output = Series1 / Series2
Creates ratios and relative strength measures
Essential for pair trading and spread analysis
Used for custom indicator normalization

Get Started

Automate DIV with cryptorobot.ai

Build automated strategies using Vector Division and hundreds of other indicators. Connect to your favourite exchange and let the bot execute trades 24/7 — no code required.