Evidence-based compatibility

Summation

PineAnywhere maps the EasyLanguage Summation function through its native conversion path toward Pine Script math.sum. The status below reflects cataloged semantic constraints rather than name matching.

EasyLanguage to Pine Script: Supported

Cataloged syntax

  1. Summation(Price, Length)

Parameters

NameTypeBehavior
PriceNumericRequired
LengthNumericRequired

Tested example

Minimal Summation conversion probe

  1. Inputs: Length(14); Vars: Result(0); Result = Summation(Close, 14); Plot1(Result);
Generated Pine Script
  1. //@version=6
  2. indicator("SEO Summation probe", overlay=true)
  3. length = input.float(14.0, "length")
  4. var float result = 0
  5. float __el_plot1 = na
  6. color __el_plot1_color = color.blue
  7. __el_call1 = math.sum(close, 14)
  8. if bar_index >= 13
  9. result := __el_call1
  10. __el_plot1 := result
  11. plot(__el_plot1, title="Plot1", color=__el_plot1_color)

Probe result: Passed

Conversion evidence

Catalog Assertion

The converter catalog records the implementation path, mapping, signatures, and known behavior constraints.

PassedSource EasyFunctionCatalog.Default and CatalogTests

Conversion Success

Proves that the production EasyLanguage parser, binder, lowerer, Pine emitter, and generated-Pine validator accept a minimal Summation indicator call.

PassedSource EasyLanguageProbeRunner pilot probe

Limitations and platform differences

  • Computed from parameter index 1; stateful evaluation remains unconditional.
  • Matched to the selected Pine lowering and covered by semantic/vector tests.
  • Most-recent matching bar for helper-reported offsets; otherwise value-only or not applicable.
  • Chart/exchange-session semantics; no hidden external session lookup.

Related functions

Official EasyLanguage reference

An unexpected error occurred. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.