MScriptPine v5/v6 subset

Write an indicator. Or describe it.

Open a supported Pine script, write in the editor or describe your indicator to MetaFix AI. Review the code and choose when to add it to the chart.

  • Open .pine files
  • AI script writer
  • Fix with MetaFix AI
MScript editor with the Demo Colors indicator source, example library and Add to Chart controls
  • Pinev5/v6 subset supported
  • AIPlain-language generation
  • MTFMulti-timeframe data
  • AlertsIn-tab script alerts
Three ways to begin

Your code. Your idea. Your chart.

Open or paste a script

Use Open .pine or paste source into the editor. Check compatibility with the supported Pine v5/v6 subset.

Write your own

Choose New Script or start from Demo Colors or Demo Dashboard. Edit the source, review its status and name your script.

Describe it to AI

Explain what to measure, which timeframe to use and what should happen. Generate MScript and review the explanation before applying it.

Inside MScript

From prompt to chart, step by step.

Crops from the actual MScript window keep the relevant controls readable.

The AI prompt, Generate button and three suggested requests from the MScript generation screen.
The AI prompt, Generate button and three suggested requests from the MScript generation screen. View full-size image

Describe the behavior. Review the result.

Describe the indicator in plain English: what to measure, on which timeframe, and what should happen. The generation screen shows the current chart context, XAUUSD · 1m, alongside Indicator and MScript labels.

  • Colour an EMAOne suggested request is: “Plot a 20 EMA and colour it green when price is above, red when below.”
  • Combine timeframes and conditionsAnother asks: “Alert me when the 4-hour RSI drops below 30 while price is above today's open.”
  • Mark a sessionThe third example asks: “Mark the London session open range on the chart.”
  • Generate, explain, then applyMetaFix AI writes the MScript and explains what it does in plain language. Nothing touches the chart until you choose Add to Chart.
Compatibility and boundaries

Built for indicators. Clear about its scope.

Supported today

  • Indicators in a Pine v5/v6 subsetUnsupported features are flagged by the compiler before a script is added to the chart.
  • Multi-timeframe dataHigher timeframes use the chart’s loaded history.
  • In-tab script alertsAlerts belong to the terminal tab the script runs in.

Not available yet

  • Strategy simulationThe editor header states that strategy simulation is not available. Generating an indicator is not a backtesting result.
Broker configurationDiscuss script-generation access, usage limits and deployment configuration with the Metafix team.
Talk to Metafix

See an idea become an indicator

Explore the MScript editor, supported Pine syntax and AI generation in a guided demonstration.

Request a demo