Home/User Guides/Scripting

What language are OpenMarket indicators written in?

TypeScript. OpenMarket indicators (wrun) are TypeScript files built with OpenMarket's indicator kit. Pine Script does not run directly, but Convert from Pine in the script editor rewrites it.

TypeScript. An OpenMarket indicator, also called a wrun indicator, is a TypeScript file built with OpenMarket's indicator kit. You write it in the chart's script editor, and it runs in your browser. A Protected indicator runs on OpenMarket's servers instead, so its code stays private.

Is it Pine Script? No. OpenMarket does not run Pine Script directly. To bring a TradingView script across, use Convert from Pine in the editor: it rewrites the script as a TypeScript indicator and checks that it runs. See How do I convert a Pine Script indicator?

Do I have to code? No. Kata, the AI assistant in the editor, writes an indicator from a plain description: see Can AI write or fix an indicator for me?

To start coding, follow How do I create my own indicator? The wrun docs walk through your first indicator and show wrun next to Pine line for line.