Pine Script ↔ MQL5 reference

One page per construct: what it does on its own platform, the closest equivalent on the other, where the two differ (seeding, missing values, indexing, timing), and what the Stratlate engine emits for it. Every complete MQL5 program on these pages compiles in MetaEditor 5 and every Pine example parses as Pine Script v6.

Looking for the whole table at once? See the Pine Script → MQL5 cheat sheet and the MQL5 → Pine Script cheat sheet. For longer explanations, the guides cover each topic end to end.

Pine Script → MQL5

Averages and volatility (ta.*)

Language, values and time

Oscillators and trend (ta.*)

Plots, drawings, inputs and alerts

Series utilities (ta.*)

Strategies (strategy.*)

MQL5 → Pine Script

Indicator functions

Program structure and trading