Community Trading Scripts & Custom Indicators
Browse Lipi Scripts · Trading Strategies · Custom Indicators
24 Scripts Downloaded…
ProtectedEMA 9+21 scalper
EMA (9+21)for personal use used for scalping in nifty 50 , used only for nifty 50 may be errors while live market , used for back testing

Trend follower v2
// Smooth Call Put Trend Indicatorindicator("Smooth Call Put Trend", overlay=true)src = input.source(close, title="Source")fastLen = input.int(9, title="Fast EMA Length")slowLen = input.int(21, title="Slow EMA Length")trendLen = input.int(50, title="Trend EMA Length")confirmBars = input.int(2, title="Trend Confirmation Bars", minval=1)atrLen = input.int(14, title="ATR Length")minGapAtr = input.float(0.10, title="Minimum EMA Gap (ATR)", minval=0.0)showEma = input.bool(true, title="Show EMAs")showBars = input.bool(true, title="Color Trend Bars")fastEma = talib.ema(src, fastLen)slowEma = talib.ema(src, slowLen)trendEma = talib.ema(src, trendLen)atrValue = talib.atr(atrLen)emaGap = math.abs(fastEma - slowEma)bullBase = fastEma > slowEma and close > trendEma and emaGap >= atrValue * minGapAtrbearBase = fastEma = atrValue * minGapAtrbullConfirmed = bullBase and bullBase[1]bearConfirmed = bearBase and bearBase[1]bullSignal = bullConfirmed and not bullConfirmed[1]bearSignal = bearConfirmed and not bearConfirmed[1]plot(showEma ? fastEma : na, title="9 EMA", color=color.lime, linewidth=2)plot(showEma ? slowEma : na, title="21 EMA", color=color.orange, linewidth=2)plot(showEma ? trendEma : na, title="Trend EMA", color=color.blue, linewidth=2)plotshape(bullSignal, title="CALL BUY", shape=shape.labelup, location=location.belowbar, color=color.green, text="CALL BUY", textcolor=color.white, size=size.small)plotshape(bearSignal, title="PUT BUY", shape=shape.labeldown, location=location.abovebar, color=color.red, text="PUT BUY", textcolor=color.white, size=size.small)barTrendColor = bullConfirmed ? color.green : bearConfirmed ? color.red : nabarcolor(showBars ? barTrendColor : na)if bullSignal { alert("CALL BUY: Smooth bullish trend confirmed")}if bearSignal { alert("PUT BUY: Smooth bearish trend confirmed")}
ProtectedGENx LEVELS AND REGIME
Fades price stretched from the max-pain OI magnet, confirmed by contrarian options flow, with the session Volume-Profile POC as confluence + target. Research killed the OI-levels myth; kept the real mean-reversion edge (~73% win, marginal net → forward-testing). Ships with live-GEX compute, weekly backtest, first-signal watcher, and a TradingView overlay that auto-syncs its levels.
ProtectedFVG Indicator
This indicator plots the fair value gaps and Inverted Fair value gaps. There is option to select the number of bars till which the FVG hss to be tracked. There is also an option to select the number of FVG bars on each side.
ProtectedSupport and Resistance
This indicator plats the support and resistance level based onthe pivot levels reached. There is an option to increase the pivot strength and maximum lines per side can also be configured. Also if a support are resistance is broken you have an option to display those levels or remove it.

Critical Delta & Volume Candle Finder
Find critical volume candles and identify potential breakout or breakdown zones with ease. Set the Volume or Delta threshold according to your trading strategy. When the candle’s volume crosses your selected level, the indicator automatically highlights that candle in blue. You can use the highlighted candle’s High and Low as a reference range. Drag or extend this range on the chart and watch for a breakout above the candle high or breakdown below the candle low. These critical candles can help you identify areas of strong market participation and potential order-flow movement, giving you a clearer view of where a strong move may develop. How to use:🔹 Set your desired Volume/Delta level🔹 Wait for a candle to cross the selected threshold🔹 The critical candle is highlighted in blue🔹 Mark the candle High–Low range🔹 Break above High = potential bullish flow🔹 Break below Low = potential bearish flow Trade with confirmation and proper risk management. This indicator is a tool for market analysis, not financial advice.
ProtectedCRT PRINCI
CRT ALGODescription — CRT Master GoCharting CRT Master GoCharting est un indicateur basé sur la stratégie Candle Range Theory (CRT). Il identifie automatiquement les zones CRT, les phases de purge (liquidity sweep) et les bougies de confirmation afin de détecter des opportunités BUY / SELL. Fonctionnalités : 🟠 CRT Vendredi → Purge Lundi 🟣 CRT Lundi → Purge Mardi 🟠 CRT Dimanche → Purge Lundi Détection automatique du CRT High / CRT Low Détection de la Purge High / Purge Low Calcul du niveau 50% du CRT Confirmation sur la bougie H4 suivant immédiatement la purge Génération des signaux BUY / SELL Calcul automatique de Entry, TP1, TP2 et SL Affichage graphique avec des lignes fines pour faciliter la lecture du graphique. Logique principale :Après la formation du CRT, l'indicateur attend une cassure du High ou Low du CRT. Cette cassure constitue la purge. La bougie H4 suivante est ensuite utilisée comme bougie de confirmation avant d'afficher le signal. BUY : purge du CRT Low → confirmation sur la bougie H4 suivante.SELL : purge du CRT High → confirmation sur la bougie H4 suivante.
ProtectedVolume highlighted candles
Highlighting of strong buyer and seller candles based on the strength of the opposing volume within each candle. The purpose is to identify candles where one side clearly dominates despite the presence of opposite-side trading activity. A strong buyer candle is identified by evaluating the buy volume relative to the sell volume within the same candle, while a strong seller candle is identified by comparing the sell volume against the corresponding buy volume. This helps distinguish genuinely dominant buying or selling pressure from candles where the volume is more balanced between both sides.

Momentum Candle
momentum candle by rizki aditama sekolah trading ............................................................................................. momentum candle adalah suastu candle besar dengan ekor kecil

Auction Anchors
Daily • Weekly • Monthly Opens Markets do not begin at random. Every new day, week and month starts a fresh auction. In Auction Market Theory the open is not decoration. It is the start of price discovery for that timeframe. An open inside prior value often precedes rotation. An open outside prior value with conviction often precedes imbalance. Alignment across monthly, weekly and daily opens raises probability. Conflict between them warns you that you may be trading a counter-move inside a larger auction. This indicator plots the levels institutions actually use as reference: the Daily Open, Weekly Open and Monthly Open. Price is measured against these anchors so you can see, at a glance, whether the current auction is trading in premium or discount — and whether higher-timeframe structure supports or contradicts the move in front of you. What it showsDaily, Weekly and Monthly Opens as persistent reference linesOptional True OpensLive premium / discount state relative to each openClean, uncluttered overlay that stays readable on lower timeframes UsageUse the Monthly Open for swing bias.Use the Weekly Open for the week’s draw.Use the Daily Open for session execution. One framework. Three timeframes. Use in conjunction with Market Profile indicator for value areas.

Initial Balance - NSE India
Initial Balance for NSE intraday charts. Default window is 09:15-10:15 IST (first 60 minutes of the regular session). Tracks the running high/low inside the window, locks them when it closes, then plots the midpoint and range extensions for the rest of the session. hour and minute follow the CHART timezone, not the exchange. If the chart is not on Asia/Kolkata, change the start hour/minute inputs, not the code. Use an interval that divides the window evenly: 1, 3, 5, 15 or 30 minutes.

Gom Delta
GomDeltaMomentum is an order-flow momentum indicator designed to track consecutive buying and selling pressure across price bars. Key Features Directional Accumulation: Continuously adds volume delta (Market Buys − Market Sells) as long as incoming order flow remains in the same direction, building a visual wave of sustained market pressure. Instant Reset on Flips: Resets the accumulation to the current bar's delta as soon as opposing order flow takes over, making trend shifts and exhaustion easy to spot. Histogram Visualization: Displays the absolute strength of accumulated pressure as a clear bar chart below price, color-coded in green (net buying streak) and red (net selling streak). How to Use Rising Green/Red Bars: Indicate strong, uninterrupted buying or selling conviction. Sudden Drop in Bar Height / Color Change: Signals that opposing order flow has interrupted the streak, indicating a potential momentum pause or reversal.

VOLUME CROSS OVER ALERT
VOLUME CROSS OVER ALERT — Indicator Analysis The VOLUME CROSS OVER ALERT indicator is designed to identify unusually strong volume activity by detecting when the current volume moves above a predefined statistical threshold. Volume is one of the most useful tools for understanding the level of participation behind a price move. A significant increase in volume can indicate that a larger number of market participants are becoming active and that the current price movement may deserve closer attention. What the Indicator Does The indicator monitors the volume of the selected timeframe and generates an alert when volume crosses above the upper statistical threshold. The threshold is based on the recent behaviour of volume, allowing the indicator to identify volume activity that is unusually high relative to its recent history. This makes it particularly useful for spotting volume expansion without requiring the trader to continuously monitor the volume bars manually. Why Volume Expansion Matters A sudden increase in volume can occur when there is a significant change in market participation. High-volume events may accompany: Breakouts from important price levels Strong trend continuation Reversals News or event-driven moves Institutional participation Panic buying or selling The beginning of a volatility expansion However, high volume by itself does not determine whether the market will move higher or lower. Volume measures participation, not direction. How to Interpret the Alert When the alert is triggered, the key question is not simply “Is volume high?” but rather: “What is price doing while this unusual volume is occurring?” For example: High Volume + Breakout If volume expands as price breaks above a well-defined resistance level, the increased participation may add significance to the breakout. High Volume + Breakdown If unusually high volume accompanies a break below support, it may indicate strong selling participation. High Volume + Large Range When exceptional volume occurs together with an unusually large price range, it can indicate a significant expansion in market activity. High Volume + Little Price Movement High volume without substantial price movement can also be important. It may indicate intense buying and selling activity occurring around an important price level. Alert-Based Approach One of the main advantages of the indicator is that it is designed around an alert rather than simply a visual volume study. Instead of constantly watching the chart and waiting for an unusually large volume bar, the trader can use the alert to bring attention to the event when it occurs. This is particularly useful when monitoring multiple instruments or higher timeframes where important volume events may occur infrequently. Timeframe Flexibility The significance of volume is relative to the timeframe being analysed. A volume expansion on a 15-minute chart, for example, represents unusual participation during that intraday period. The same concept can be applied to other timeframes depending on the trader's strategy. For meaningful interpretation, the volume threshold should always be considered in the context of the selected timeframe and instrument. Important Consideration A volume alert is not a standalone buy or sell signal. Unusually high volume can occur at both the beginning and the end of a move. It can represent accumulation, distribution, breakout participation, panic, or simply event-driven activity. The alert is therefore best used as a market-attention tool that tells the trader: Something unusual is happening in volume — investigate the price action. Key Takeaway The VOLUME CROSS OVER ALERT indicator helps traders identify statistically unusual volume expansion without having to constantly monitor volume bars. By drawing attention to volume crossing above its upper threshold, the indicator can help traders spot potential breakouts, reversals, trend acceleration, volatility expansion, and significant market participation. Use the alert as a trigger for further analysis, and always combine volume information with price structure, trend, support and resistance, and subsequent price action before making a trading decision.

EXTREME RANGE DAY
INSIDE DAY — Indicator Analysis The INSIDE DAY indicator identifies a classic price-action pattern in which the entire trading range of the current day is contained within the previous day’s range. An Inside Day occurs when: Current Day High ≤ Previous Day High Current Day Low ≥ Previous Day Low This indicates a period of contraction and consolidation, where price is temporarily trading within the boundaries established by the previous session. Why Inside Days Matter An Inside Day represents a potential pause in price expansion. After a larger directional move, the market may temporarily compress as buyers and sellers reach a short-term equilibrium. This compression can be significant because periods of reduced range are often followed by an expansion in volatility. Traders therefore commonly watch the high and low of the Inside Day as potential breakout reference levels. The pattern itself does not indicate the direction of the eventual breakout. The subsequent price action determines whether the market resolves higher or lower. How This Indicator Works The INSIDE DAY indicator automatically compares each day's high and low with the previous day's trading range. When the current day's complete range falls within the previous day's range, the indicator identifies that candle and annotates it with “IN” near the candle. This allows traders to quickly scan a daily chart and identify historical and current Inside Day formations without manually comparing consecutive candles. How to Use It The indicator can be used as a market-structure and volatility-compression tool. After an Inside Day is identified, traders may monitor: Break above the Inside Day high — potential bullish resolution. Break below the Inside Day low — potential bearish resolution. Continued consolidation — the market may remain compressed before a later expansion. The signal should ideally be interpreted alongside the broader market trend, support and resistance levels, volume, and other forms of price-action analysis. Important Consideration An Inside Day is a setup, not a trade signal by itself. A breakout can fail, and the market can remain inside the range for several sessions. Traders should therefore avoid assuming that every Inside Day will lead to an immediate directional move. The indicator is designed primarily to make the pattern easy to identify and study on the daily chart. Key Takeaway The INSIDE DAY indicator provides a simple visual way to identify daily range contraction. By highlighting days whose trading range is contained within the previous day's range, it helps traders recognize periods of compression that may precede a volatility expansion. Use the “IN” annotation as a point of attention and combine it with subsequent price action to determine whether the market is developing a meaningful breakout opportunity.

INSIDE DAY
INSIDE DAY — Indicator Analysis The INSIDE DAY indicator identifies a classic price-action pattern in which the entire trading range of the current day is contained within the previous day’s range. An Inside Day occurs when: Current Day High ≤ Previous Day High Current Day Low ≥ Previous Day Low This indicates a period of contraction and consolidation, where price is temporarily trading within the boundaries established by the previous session. Why Inside Days Matter An Inside Day represents a potential pause in price expansion. After a larger directional move, the market may temporarily compress as buyers and sellers reach a short-term equilibrium. This compression can be significant because periods of reduced range are often followed by an expansion in volatility. Traders therefore commonly watch the high and low of the Inside Day as potential breakout reference levels. The pattern itself does not indicate the direction of the eventual breakout. The subsequent price action determines whether the market resolves higher or lower. How This Indicator Works The INSIDE DAY indicator automatically compares each day's high and low with the previous day's trading range. When the current day's complete range falls within the previous day's range, the indicator identifies that candle and annotates it with “IN” near the candle. This allows traders to quickly scan a daily chart and identify historical and current Inside Day formations without manually comparing consecutive candles. How to Use It The indicator can be used as a market-structure and volatility-compression tool. After an Inside Day is identified, traders may monitor: Break above the Inside Day high — potential bullish resolution. Break below the Inside Day low — potential bearish resolution. Continued consolidation — the market may remain compressed before a later expansion. The signal should ideally be interpreted alongside the broader market trend, support and resistance levels, volume, and other forms of price-action analysis. Important Consideration An Inside Day is a setup, not a trade signal by itself. A breakout can fail, and the market can remain inside the range for several sessions. Traders should therefore avoid assuming that every Inside Day will lead to an immediate directional move. The indicator is designed primarily to make the pattern easy to identify and study on the daily chart. Key Takeaway The INSIDE DAY indicator provides a simple visual way to identify daily range contraction. By highlighting days whose trading range is contained within the previous day's range, it helps traders recognize periods of compression that may precede a volatility expansion. Use the “IN” annotation as a point of attention and combine it with subsequent price action to determine whether the market is developing a meaningful breakout opportunity.

Adaptative CVD and efficiency
Adaptive CVD: Tracks buying vs. selling pressure and automatically adapts to changing market volatility.Order Flow + Price: Checks whether price movement is supported by actual buying/selling pressure.Absorption Detection: Highlights situations where aggressive buying/selling is being absorbed by the opposite side.Breakout & Breakdown Signals: Identifies strong directional moves when CVD, efficiency, and price all agree.Trap Detection: Flags potential buying traps and selling traps when order flow strongly disagrees with price.Normalized Signals: Uses Z-scores to make the readings more consistent across different market conditions.Visual Output: Shows Adaptive CVD + Directional Efficiency along with clear bullish/bearish signal markers.
ProtectedStrong buyers $ sellers with less volume
Strong buyers with less sellers and strong sellers with less buyers are highlighted with green and red dots respectively. The red and green cross on the candles appear when they are delta divergence.
ProtectedBTC Entry and Exit Strategy
One important backtesting assumption: because this is 4H OHLC data, if a candle's high and low touch both a stop and a target during the same bar, OHLC alone cannot tell us which occurred first. This version gives the stop priority in that situation, which is the conservative choice. Also, the script enters on the next 4H candle's open after a signal, rather than assuming an entry at the signal candle's close. This avoids look-ahead bias. I compiled this exact version with the Lipi compiler after fixing the earlier \/parser issue.

Delta bars
alert for delta bars for not looking into the chart every time.You can change the value of the threshold according to your choice.Hope this helps

Barras de Volumen Mayor
Muesta barras de volumen mayor con colores que representan la absorción y la iniciación, aplicar en gráficos centralizados como aquellos del CME group.

Velas de Volumen Mayor
Cambia el color de las velas que poseen volumen mayor. Además, muestra una X sobre las velas para descartar su confirmación operativa, pero siguen siendo validas como base de SR. Emplear en activos centralizado como el CME Group.

Volumen Mayor
Este indicador mide los volúmenes fuertes. Se interpretan como volumen de parada que da paso a la absorción y volumen de continuidad que da paso a la iniciación. Aplicar mejor en activos centralizados con datos de nivel 2 como el CME Group.

Inside Bar Indicator
Inspired by the Inside Bar concept - my second attempt in making inside bar indicator only change the color of the inside bar after the bar close (only truly change when new bar is formed) sigh.... i am not a coder anyway.

CVD- 2 Mode's
Have developed a CVD indicatior using orderflow data, no proxies, it has two mode's Cummulative CVD and Fixed raneg CVD. Cummulaitve show's CVD from the starting date of the assest vs, Fixed range will be helpful to watch CVD movement in a range.