Black Friday 30% off Basic and ProBlack Friday −30%Ends in––d––h––m––sSee the deal

Indicators in Python

Write your own indicators in Python, see them on the chart in seconds and share them with the community.

The indicator editor next to the chart
The editor sits in the right panel: write, press Add to chart and the indicator appears.

How it works

  • You write in Python, with everything you need to calculate: functions, loops, lists, dictionaries and simple classes. The libraries are ours: ta for series, math for numbers, format for text and draw for drawings.
  • The indicator function receives all the candles at once and returns one series per plot: one value per candle. If it asks for them, it also receives the economic calendar news.
  • Short name, inputs and plots are declared in the code: settings, legend and scale come from there, with no extra work.
  • The code runs in your browser, isolated: it can’t see your account, your data or the network.
  • The built-in indicators are written in the same language: you can read their code and start from a copy.

Where to start