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

order flow
order flow

order flow analysys of the backtest dataKUZGSHJGSJhbsjkHJKsxdkjSGXKASCKASGCSHJCGSHJCGHJSCGJHSGCHJACGHJACHASGCHASGHASGXAHSFCXHASFCXCGHASFCGHASVCGHASNVXHGVXHZVHVxHVhHJz

by sangeeta devi
OF Part A: Institutional + Unwind + Absorption
OF Part A: Institutional + Unwind + Absorption

identifies 6 high-probability institutional order flow setups in real time using Delta, Open Interest, and Volume Imbalance. Designed for Footprint/Cluster charts on any index or futures instrument.

## What This Indicator Does

This indicator reads raw order flow data — Delta, Buy/Sell Volume, and Open Interest — to classify institutional activity into 6 clearly labelled signals directly on your candles. No lagging moving averages. No price-derived indicators. Pure order flow logic.

It is Part A of a two-part institutional flow suite. Part B covers Exhaustion, Delta Divergence, and Delta Flips.

## The 6 Signals

### 🟢 INST BUY — Institutional Buying

**Color: Green arrow below bar**

Strong positive delta (aggressive buying) + price closes up + Open Interest is rising. Rising OI confirms fresh long positions are entering — this is not short covering or noise, it is new institutional money going long.

**Best use:** Look for this at key support levels, VWAP reclaims, or after a consolidation. When OI rises with positive delta and a green close, smart money is accumulating.

### 🔴 INST SELL — Institutional Selling

**Color: Red arrow above bar**

Strong negative delta (aggressive selling) + price closes down + Open Interest is rising. Rising OI with negative delta confirms fresh short positions entering — institutions are initiating short positions, not just exiting longs.

**Best use:** Look for this at resistance zones, failed breakouts, or distribution areas. The combination of OI rising and negative delta is one of the most reliable bearish footprints.

### 🩵 SHORT COVER — Short Covering

**Color: Teal arrow below bar**

Price closes up + positive delta + Open Interest is falling. OI falling means existing positions are being closed. Combined with positive delta and an up close, this signals shorts buying back to exit — not new longs entering.

**Best use:** Short covering often creates sharp but unsustainable rallies. Use it as a warning that an up move may be a relief rally rather than genuine bullish momentum. Do not chase these moves blindly.

### ⚫ LONG UNWIND — Long Unwinding

**Color: Gray arrow above bar**

Price closes down + negative delta + Open Interest is falling. OI falling with selling pressure means longs are exiting their positions — not new shorts entering. This often happens at the end of a trend.

**Best use:** Long unwinding near highs or after an extended rally is an early warning of trend exhaustion. When longs exit and OI drops, the fuel driving the rally is being removed.

### 🔵 ABSORB BUY — Bull Absorption

**Color: Navy blue arrow below bar**

Sell volume dominates (bearish imbalance) but price still closes up or flat, with a visible rejection wick. Sellers are aggressively attacking but passive buyers at limit orders are absorbing every sell — price cannot fall.

**Logic:** SellVolume > BuyVolume × 1.3 AND close ≥ open AND bar has a significant wick (body < 50% of range).

**Best use:** Look for this at support levels or value areas. When sellers dominate volume but price refuses to drop, it signals a strong buyer defending a level. This is the core concept from Trader Dale's absorption methodology.

### 🟤 ABSORB SELL — Bear Absorption

**Color: Maroon arrow above bar**

Buy volume dominates (bullish imbalance) but price still closes down or flat, with a visible rejection wick. Buyers are aggressively attacking but passive sellers at limit orders are absorbing every buy — price cannot rise.

**Logic:** BuyVolume > SellVolume × 1.3 AND close ≤ open AND bar has a significant wick.

*Best use:** Look for this at resistance levels, prior highs, or supply zones. When buyers dominate volume but price refuses to rise, it signals a strong seller defending a level. High-probability reversal signal.

## Inputs / Settings

| Parameter | Default | Description |

|---|---|---|

| Delta Threshold | 40,000 | Minimum delta for INST BUY/SELL signals. Adjust based on instrument — Nifty Futures 30m typically sees deltas of 50K–300K. Lower to 5,000–10,000 for 5m charts or lower-volume instruments. |

| Bid/Ask Imbalance Ratio | 1.3 | Minimum ratio of sell-to-buy (or buy-to-sell) volume for Absorption signals. 1.3 = 30% more aggressive volume on one side. Raise to 1.5–2.0 to filter only extreme imbalances. |

| OI Lookback bars | 1 | How many bars back to compare OI for rising/falling detection. Default 1 = previous bar. Increase to 3–5 for smoother OI trend detection on noisy data. |

## How to Use

**Chart Type:** Footprint / Cluster chart (required for delta and volume split data)

**Recommended Timeframes:** 5m, 15m, 30m on Nifty Futures, Bank Nifty, Crude Oil, or any high-liquidity futures instrument

**Alert Setup:**

1. Apply the indicator to your chart

2. Click **Alert** → select **"OF Part A: Institutional + Unwind + Absorption"**

3. Set condition to **"Any alert() function call"**

4. Choose notification method (Push / Email / Webhook)

5. One alert catches all 6 signal types with full details in the alert message

## Signal Hierarchy for Trading

Use these signals in context, not in isolation:

1. **INST BUY + INST SELL** → Highest conviction. Fresh institutional money with OI confirmation.

2. **ABSORB BUY + ABSORB SELL** → Strong level identification. Best used at known S/R.

3. **SHORT COVER + LONG UNWIND** → Trend exhaustion warning. OI falling means the move has less backing.

**Pro tip:** When INST BUY and ABSORB BUY appear within 2–3 bars of each other at the same level, it is a very high-conviction long setup — institutional buying confirmed both by new long entries AND by rejection of sellers at that level.

## Companion Indicator

**OF Part B: Exhaustion + Divergence + Flip** — covers Buyer/Seller Exhaustion, Delta Divergence (Lesson 4 methodology), and Delta Flip signals. Apply both together for complete institutional flow coverage across all 12 signal types.

*This indicator is for educational and informational purposes. All trading involves risk. Past signals do not guarantee future results.*


 

by SARAVANA KUMAR U
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 chitra suresh
Single print
Single print

This indicator maps the Time Price Opportunity (TPO) Market Profile structure to track institutional order flow imbalances in real time. The core objective of this tool is to automatically isolate and highlight structural "Single Prints" within the intraday session.

A Single Print occurs when aggressive market participants drive price rapidly through a zone, leaving behind rows containing exactly one TPO block. These areas represent significant liquidity gaps and macro structural inefficiencies where two-way auctioning did not fully take place. By identifying these zones immediately upon a confirmed bar close, traders can pinpoint high-probability support and resistance areas, as price frequently treats unvisited Single Prints like structural magnets in subsequent trading sessions. 

by SAI GOLD AND TRADERS
Multi-EMA's
Multi-EMA's

This, Indicator carries, multiple EMA, which can be changed in the setting tab as per the requirement of the user.

It helps plot, mutiple EMA Altogether,

by Het Unadkat
absorption Bubbles
absorption Bubbles

Shows buying and selling pressure. The green bubble show buyers bieeng absorbed in the market and the red bubbles show sellers bieng absorbed in the market.

by Roneeth Bhola
VOLATILITY
VOLATILITY

This indicator helps us to find the volatility of the said asset in real time, by comparing it with the past and average volatility. You can adjust the no of candles it uses for calculation

by OG_TRADER
Momentum
Momentum
momentum

This public, protected script utilizes specific structural market indicators designed to capture momentum shifts across various asset classes. The algorithm processes real-time volatility inputs to isolate high-probability trend continuations while implementing fixed structural risk boundaries to preserve trading capital.

by Deshik Narasimha
Stretch Bands
Stretch Bands
Stretch BandsEMAExtend

• EMA-based statistical mean with dynamic standard deviation bands.

• Visualizes price stretch using ±1σ, ±2σ, and ±3σ levels.

• Helps identify normal, extended, and extreme market conditions.

• Useful for volatility analysis, mean reversion, and trend monitoring.

• Adapts to changing market volatility instead of using fixed percentage levels.

• Designed for crypto, futures, indices, and other liquid markets.

• Not a trading signal generator; intended as a statistical context tool 

by Jim Carter
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

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

Developers AI Charting Library Charting Features Orderflow Tools Free Orderflow Education
Start Scripting for Free