← Script Marketplace
Open-source scriptindicator/v1

Exponential Moving Average

by Kodexius·@kodexius·

Follow price with a moving average that assigns greater weight to recent observations.

#ema#moving-average#trend
Exponential Moving Average chart preview

Description

The Exponential Moving Average responds to recent price changes faster than an equally weighted average. Traders often use it to evaluate trend direction, momentum shifts, and price interactions with a dynamic baseline.

Open-source script. Everyone can inspect the source code, use the script on a chart, and save an editable copy.

Release notes

Version history · 1 published version

Version 1CurrentChart updatedExponential Moving Average · Aug 31, 2026
Release notes

Initial classic indicator release.

View current source ↓
Source codempl-2.0View source

indicator("Exponential Moving Average", { overlay: true });
const length = input.int("Length", 9, { min: 1, max: 500 });
const source = input.source("Source", "close");
plot(ema(source, length), { title: "EMA", color: "#2962ff", lineWidth: 2 });
  

Community discussion

0 comments

Loading…

No comments yet. Start the discussion.