Elastic Volume Weighted Moving Average
"Elastic Volume Weighted Moving Average" by everget, MIT. Ported to FloScript by FloSignals; modifications under MPL-2.0. Original: Elastic Volume Weighted Moving Average (v2.0), read 2026-10-12T15:49:20.869Z; source language v3.
Licence: MIT License (MIT) — full text.
Elastic Volume Weighted Moving Average by everget, ported from Pine v3. Overlay indicator with 1 plot and 3 inputs.
// Copyright (c) 2018-present, Alex Orekhov (everget)
// Elastic Volume Weighted Moving Average script may be freely distributed under the MIT license.
// ------------------------------------------------------------------------------------------------
// Original author: everget
// Original title: Elastic Volume Weighted Moving Average
// Licence: MIT (the header above is the original notice, kept verbatim)
// Pine version: 3
// Fetched: 2026-10-12
// Ported to FloScript by FloSignals; modifications under MPL-2.0.
// Converter: @flosignals/floscript 0.1.0, strict mode, score 100/100
// ------------------------------------------------------------------------------------------------
//@floscript=1
//@version=5
// Converted by the FloScript converter from a Pine-compatible v3 source.
indicator("Elastic Volume Weighted Moving Average", shorttitle="EVWMA", overlay=true)
length = input.int(title="Length", defval=14)
highlightMovements = input.bool(title="Highlight Movements ?", defval=true)
src = input.source(title="Source", defval=close)
volumeSum = math.sum(volume, length)
evwma = 0.0
evwma := ((volumeSum - volume) * nz(evwma[1]) + volume * src) / volumeSum
evwmaColor = highlightMovements ? (evwma > evwma[1] ? color.green : color.red) : #6d1e7f
plot(evwma, title="EVWMA", linewidth=2, color=color.new(evwmaColor, 0))
This file is under the MIT License; it is a port of the original by everget, with the original licence header kept and the changes made for FloScript noted in the file.
- v2
Library refresh 2026-10-14
- v1
Library refresh 2026-10-12
Disclaimer. Scripts are written and published by members, or ported by FloSignals from open-source originals, and are their authors' own work and opinion. FloSignals does not review them for correctness and nothing in a script is financial advice or a recommendation to buy or sell anything — read the Risk Disclaimer. Posting here is under the Community Rules; a script that is not the poster's to post can be reported as the Copyright & Takedowns page says.

Comments (0)
No comments yet. Members can leave one.