Evidence-based compatibility

ta.crossover

PineAnywhere converts ta.crossover 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.crossover(source1, source2) → series bool

Tested example

Minimal ta.crossover conversion probe

  1. //@version=6
  2. indicator("PineAnywhere ta.crossover compatibility probe", overlay=false)
  3. probe_value = ta.crossover(close, ta.sma(close, 14)) ? 1 : 0
  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.crossover 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.