Colorful code editor representing Lipi scripting engine
⚡ Built into GoCharting

Lipi — GoCharting's
Scripting Engine

Write custom indicators, strategy automations and data visualisations directly on the chart. Native access to orderflow metrics, COT data and a community of 7,000+ shared scripts.

7,000+ Community Scripts
3M+ Traders Worldwide
120+ Countries
#1 Web Orderflow Platform

Lipi is a powerful and flexible scripting language built directly into GoCharting. With access to orderflow metrics, COT data and a thriving community library, Lipi is the most capable scripting engine available in any web-based trading platform. No installs, no plugins — just open the Script Editor and start coding.

What You Can Build

📐
Custom Indicators
Plot any calculation as an overlay or in a separate pane. Combine price, volume and orderflow into a single visual.
Strategy Automation
Define entry and exit rules in code and backtest against historical or live data using GoCharting's built-in backtester.
🔬
Orderflow Metrics
Access Buy/Sell Volume, Delta, Open Interest and COT data natively inside scripts — unique to GoCharting.
📚
7,000+ Community Scripts
Browse and apply scripts published by the GoCharting community — from simple MAs to complex orderflow confluences.

Key Features

  • Full API documentation with examples and code snippets
  • Indicator-on-indicator support — chain multiple scripts together
  • Plot shapes, labels, lines, filled areas and backgrounds from code
  • Alert conditions defined in script — fires on chart or via notification
  • Save and share scripts from the cloud — works across all devices
  • Community support, self-help videos and guided tutorials

Learn & Reference

Community Scripts Showcase

Explore More

Discover what traders have built with Lipi. Browse all 7,000+ scripts →

VOLATILITY
VOLATILITY

This indicator is used to calculate the n no of candles volatility as it computes average range and another line shows how the real time volatility in candle is above from the average

by OG_TRADER
VALUE AREA
VALUE AREA

This Indicator is used to mark value area zones inside the chart, which makes it static and displays the price point names at the end of the line

by OG_TRADER
HILEGA-MILEGA (M)
HILEGA-MILEGA (M)

HILEGA MILEGA BY NK SIR

USES 9 RSI 3 EMA AND 21 WMA

AVAILABLE FOR EVERYONE TO USE

by charun
option master 1
option master 1

buy sell indicator for premium chart 

perfect signal

its a master tool

green buy 

red sell

powerul moving average comination

driven by orderflow and delta 

by hardik pathak
Chop Zone Histogram Nitin 5M
Chop Zone Histogram Nitin 5M

This script is a custom version of the “Chop Zone” indicator.

It measures the angle/slope of the 34 EMA and colors a histogram based on trend strength and direction.

The idea is:


  • Strong upward EMA slope → bullish colors

  • Strong downward EMA slope → bearish colors

  • Flat EMA slope → yellow (choppy/ranging market)
     
by Nitin Patidar
Delta Flow && Resistance
Delta Flow && Resistance

Delta Flow

Delta Flow indicator describes the impact of the aggressive orders on the market price through Delta value. 

by Ali Baba
Delta Flow + Delta Resistance
Delta Flow + Delta Resistance
orderflow

Delta Flow

Delta Flow indicator describes the impact of the aggressive orders on the market price through Delta value.

Delta Rotation

Delta rotation describes the demand and supply per market rotation through Delta.

Delta rotation describes the demand and supply per market rotation through Delta. This allows us to assess whether or not each price movement can be assigned with an increase of demand/supply or on the opposite on the diminishing supply and demand.

The following examples cover different entry points from reference points based on supply and demand shifts

by DevKiller123
1BullBear™ - Sessions
1BullBear™ - Sessions
sessionstimerange

1BB Sessions — Multi-session high/low tracker for the four major global trading windows, with automatic DST handling.

What it shows

For each of Tokyo, London, Premarket (US), and New York, the indicator draws:

  • A top line tracking the running session high
  • A bottom line tracking the running session low
  • A single-character open marker above the first bar (T / L / P / N)

Each session is evaluated in its own local time, and DST is handled automatically — US sessions follow EDT/EST (2nd Sunday March → 1st Sunday November), London follows BST/GMT (last Sunday March → last Sunday October), Tokyo is fixed JST year-round.

Default windows (city local time)

  • Tokyo 09:00 – 15:00
  • London 08:00 – 11:00
  • Premarket 07:00 – 09:00
  • New York 09:30 – 16:00

Inputs

  • Show / hide each session independently
  • Pick a custom color per session

Notes (V1)

First port of the Sessions module from the Pine Script v6 indicator "1BullBear" by KweeBoss_ (TradingView, MPL 2.0).

LipiScript doesn't currently expose drawing primitives (no box.new, line.new, or label.new), so the original Pine boxes are approximated using paired plots for the top/bottom and per-bar character markers for the opens. If LipiScript adds those primitives — or relaxes some of the parser constraints around float math and typing inside functions — a V2 with editable times, background fills, and proper labels becomes straightforward.

Credit: Original Pine Script "1BullBear" by KweeBoss_ — TradingView, MPL 2.0.

by KB 1BB
Dual Rolling VWAP
Dual Rolling VWAP

El Rolling VWAP (VWAP rodante) es una evolución del VWAP tradicional diseñada para eliminar el "efecto memoria" o el sesgo del punto de inicio.

Para entenderlo, primero debemos recordar que el VWAP estándar siempre empieza a calcularse desde un evento fijo (normalmente la apertura de la sesión, el inicio del mes o del año). El Rolling VWAP, en cambio, utiliza una ventana móvil de tiempo o de velas. 

by Carlos Adrian HCD
RDC
RDC

On a 30 minute time frame, when a green candle has negative Min / max delta threshold, and the high of that candle Is broken by the next candle, then we get a buy alert. We star trailing SL at 5% while keeping the SL at 3%. Vice Versa for a red candle .

by kunal sadana

Supported Markets

Lipi scripts work across all GoCharting markets — NSE/BSE Futures & Options, CME Futures (/ES, /NQ, /CL, /GC), Forex & Crypto and Indian equities. Orderflow metrics (delta, buy/sell volume, OI) are available wherever the underlying data feed supports them.

Related Features

← Back to Developers AI Charting Library → Charting Features → Orderflow Tools → Free Orderflow Education →
Start Scripting for Free →