Math Transform

Vector Cosine (COS)

Vector Trigonometric Cos

Deep Dive

Everything You Need to Know

Under the Hood

How It Works

COS applies the cosine trigonometric function to each value in a data series (interpreting values as radians). COS oscillates between -1 and +1 with a period of 2π. This function is fundamental in cycle analysis, creating oscillating patterns useful for modeling market cycles or building wave-based indicators. COS is typically used with normalized or phase-adjusted data rather than raw prices.

In Practice

How Traders Use It

Developers use COS in custom cycle indicators, creating synthetic oscillators based on phase angles, or building wave-based market models. Particularly useful when combined with Hilbert Transform outputs for quadrature analysis, or with phase calculations for creating leading cycle indicators. Pair with SIN for complete in-phase/quadrature systems, or use with detected cycle periods for adaptive oscillators. Essential for MESA-style indicators and custom cycle analysis algorithms.

Highlights

COS at a Glance

Cosine transformation (input in radians)
Output oscillates between -1 and +1
Period of 2π radians (360 degrees)
Fundamental for cycle analysis
Used with phase-adjusted data
Pair with SIN for quadrature systems
Essential for custom wave-based indicators

Get Started

Automate COS with cryptorobot.ai

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