Evidence-based compatibility

ta.sma

PineAnywhere converts ta.sma through its production Pine parser and intermediate target pipeline. This probe verifies conversion structure; final MetaEditor compilation and platform-specific visual or trading behavior remain separate evidence stages.

Pine to MetaTrader 5: Conditional

Cataloged syntax

  1. ta.sma(source, length) → series float

Tested example

Minimal ta.sma conversion probe

  1. //@version=6
  2. indicator("PineAnywhere ta.sma compatibility probe", overlay=false)
  3. probe_value = ta.sma(close, 14)
  4. plot(probe_value)

Probe result: Passed

Conversion evidence

Conversion Success

Proves that the production Pine parser, AST visitor, ANF lowerer, and intermediate target emitter accept a minimal ta.sma indicator call.

PassedSource PineProbeRunner pilot probe

Limitations and platform differences

  • Intermediate conversion evidence does not by itself prove MetaEditor compilation or identical target-platform behavior.

Related functions

Official Pine Script 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.