ICT Index ScheduleNew ICT student here, decided to compile the daily schedule and salient levels for London and New York index sessions into one place to aid my learning – thought others might benefit from this too :)
The script works with whatever timezone setting, however make sure to change your timezone to New York time if you want to have the proper time-price alignment (I personally find it helpful when studying).
Here's a legend of all the elements displayed at once:
London only:
New York only:
// Couldn't find a comprehensive script with all the elements included, s/o to @the1dv for their Days of Week script.
Cari dalam skrip untuk "smart"
Liquidity Heatmap (Nephew_Sam_)Liquidity Heatmap
This indicator plots a heatmap of resting liquidity above and below swing lows and multiple timeframes
The darker the color is or the larger the zone is, the more liquidity is lying there. If you think there are too many zones, you can increase the timeframes in the settings or just disable it.
Liquidity simply means orders such as stoplosses, buy/sell stops.
Disclaimer: You are free to use this code but your should be open source too
Automatic Order Block + Imbalance by D. BrigagliaThis script combines automatic orderblock and imbalance tracking.
Bullish OB - Blue
Bullish Imbalance - Green
Bearish OB - Red
Bearish Imbalance - Orange
Please note that the actual definitions of orderblock and imbalance are not respected in this script for the sake of simplicity. Scripts that are too complex may overfit some particular chart. Since there is no way to translate the actual ob and imb definitions into pinescript language, I decided to keep it simple.
Ideally, you want to see a bullish OB followed by buy side imbalance, or viceversa. OBs that are broken weakly are generally invalidated, ones that are broken strongly generally become breakers, and you can use them as good support/resistance levels.
Also, a good thing you can do when an OB and an imbalance match, is going in the lower timeframes and catching the structure reversal in the OB or imbalance zone. That may provide excellent RR trades. Always trade with OB that confirm the HTF trend.
Nothing in my content on tradingview is considerable investment advice.
[FrizLabz] FVGFVG indicator --
Allows your Charts to stay CLEAN for your T.A. by plotting the FVGs on top of the Candles inside of its Borders
FVGs can also be turned off and you can Remove the Bar Color only
Each FVG has a tooltip that you can hover your mouse over to get the (Type of FVG, Size, Top, Middle, Bottom, Time)
FVGs Using Plots so that they go all the way back in history you can have more than 500 on the chart
Uses 4 Plots to achieve this 4 are used to prevent the fill() from carrying over to the next bar if there are 2 FVGs
Can remove Bar Color - Theres no option to change Bar Color because it will cover up the FVG
Hope you guys Enjoy,
PVSRA Volume Price - Some people say "Price Action is King". I say, we cannot know how the MMs (Market Makers) will move price next, period. But price tends to consolidate above key SR when MMs are filling short orders for SM (Smart Money) and long orders for DM (Dumb Money), and price tends to consolidate below key SR when MMs are filling long orders for SM and short orders for DM. The MMs are also "SM", and they tend to do the other SMs "one better"! This means that after the MMs fill the SM/DM orders, they might move price a bit further in an attempt to stop out some of those SM executed orders and sucker in more DM; both giving liquidity for the MMs to add to their own SM side position. Yes, the MMs are bastards. But the point is that could leave price not "nicely" above or below a SR anymore, yet more consolidation can occur.
Volume - Increases in activity denote increase in interest. But, is it long or short interest? Where is price in the bigger picture when this is happening? Is it at relative highs, or lows in the overall price action? And if a high volume bar is for a candle which you can examine by going to lower TF charts, you might see where in the spread of that candle the most volume occurred, high or low! Using volume is about taking note of relative increases in volume and what price is doing at the same time. Are the better volumes favoring the lower or the higher prices, as the MMs waffle price up and down? And do the volumes get particularly notable when the MMs take price above or below key SR?
S&R - Read all about S&R at "Baby Pips.com". What I want you to realize here is that the whole, half and quarter numbered price levels (hereinafter referred to as "Levels") are the most important SR of all in this market! Not because price stops, pauses, proceeds or reverses there, but because it is above or below these levels that important consolidation (MMs filling SM orders) takes place. Once SM long orders are filled, they become interested in placing orders to close them at higher prices, and hence the MMs will be moving price higher, eventually. Once SM short orders are filled, they become interested in placing orders to close them at lower prices, and hence the MMs will be moving price lower, eventually.
PVSRA - If we can spot consolidations above/below key SR, examine the overall price action on various TF charts, and take note of where the notable increases in volume have most recently occurred (did volume favor relative highs or lows), then we can build a consensus about what kind of orders the MMs have most recently been filling; buying to open longs or close shorts, or selling to open shorts or close longs. And we can get a better idea if things will next become bullish or bearish. And once PA confirms our bullish or bearish PVSRA results, by recognizing the importance of Levels we can look beyond current PA in the direction it is going and look to historic PA S&R (consolidation around key Levels) to come up with candidates for where the price might be headed. And bull or bear swings typically run in terms of 100+, 150+, 200+ pips, .....etc. And now you know why.
Okay. Now, if this is your first introduction to PVSRA, and having just read the above, you are likely scratching your head and still confused. That is normal. I will tell you a secret about the market and why you have a right to be confused. The secret is this. The market cannot be defined by mathematics nor by immutable logic. This is why the most advanced mathematicians over a century have never even come close to cracking the market. It cannot be done. Something else, other than math and immutable logic is the fundamental operand in the market. Have you ever watched a child attempt a jigsaw puzzle for the first time? And watched as that child grew and attempted more of them, and more complex ones? What is at work in the market I will elaborate on later, but for now trust me in this. We need to apply ourselves to learning how to do PVSRA just as a child attacks learning how to do jigsaw puzzles. And we must continue doing PVSRA, because in time our mind will "learn" when we have just picked up an important piece of the puzzle, and that we know where it goes! Developing the skill of PVSRA is an art form. We must not allow ourselves to feel badly if we miss clues. PVSRA is an art form that takes time to perfect. Over time our skill will grow and our "read" of the unpredictable market will improve. We must take to ongoing learning and application of PVSRA.
Introduction to How the Market Really Works
Does anybody remember the "lil' Abner" cartoons in the Sunday papers? Let me draw for you a mental picture of how the market really works.....
Imagine Daddy Yokum ferociously racing a buckboard wagon up and down the steep inclines and declines in the rough, rocky mountain road that has sharp turns and a sheer cliff on one side. The wagon wheels are spewing rocks off the side of the cliff! Even Daddy Yokum's shotgun is going off due to the jolting of the buckboard! Daddy Yokum has a demented look on his face, but he is smiling! The horse has a wild look in it's eyes and is frothing at the mouth. There are two passengers being tossed around in the back of the buckboard, terror stricken! Now, let's pan back from this cartoon picture and place the labels needed. On the side of the wagon is the sign "Market Pricing". The demented, smiling Daddy Yokum, is the Market Maker. The passengers being tossed around are the buyers and sellers.
.....Got it? Market prices are not determined by the buyers and sellers. They are determined by the Robber Bank Market Makers (MMs).
MMs are Market Manipulators of Price, and Thieves!
The "market" is the sole creation of the Robber Banks that "make the market". While it serves the world of commerce, they run it to make profits. And they opened the market up to foster prolific currency trading by others for the sole purpose of making more profits. They move prices up and down to "create liquidity" to fill the orders of SM (Smart Money) and DM (Dumb Money), for the commissions they make by filling the orders. When they have some orders above the current price and some below the current price, who do you think determines the sequence of direction and distance the price is going to move so these orders can be filled? And always - since they know how they are going to move price next - they take positions themselves to make additional profits.
They do this by:
1. Manipulating price to sucker into the market DM that is taking the wrong side position.
2. Manipulating price to sucker into the market SM that is taking the right side position, but too soon, and later manipulating price to hit their stops.
They have total control of pricing, and by these actions they effectively "steal" from others the money to fill their own "right side" positions before moving the price to the next area they have decided on for filling orders, and for taking profit on their positions built beforehand. Don't get me wrong. I do not object to the market volatility these thieving Robber Banks create. We need it. But we also need to understand what these people are like, the cloth they are cut from. They are crooks, and we have to be extra careful about trading in the market they operate. On some special days you can see them in their true colors. We should witness it. Take note of it. Speak of it. And remember it!
Bitfinex Spot PremiumOverview
A tool to display the spot price premium of Bitfinex coins vs the other big 3 exchanges.
Premium is calculated against:
- Coinbase
- Binance
- FTX
The average is calculated through volume weighting. The absolute difference between the Bitfinex spot price and the calculated average is then displayed on the histogram.
Interacting with the tool
Colours: Green bars indicate a positive premium (Bitfinex spot price is greater than the average), Red bars indicate a negative premium. The ability to grey out smaller premiums is also enabled with the "Grey Small Vals" checkbox, this can be used to further emphasise larger premiums.
Ticker: The ticker input allows you to detect the Bitfinex premium for any coin traded within all 4 exchanges (Bitfinex, Coinbase, Binance, FTX). Just input the coins ticker symbol, for example, "BTC", "ETH", "UNI".
Indicator Ideology
Bitfinex is known for being the home of crypto "smart money". Therefore, positive premiums indicate stronger buying from "smart money". Although this premium is a good sign of bullish/ bearish market conditions, for example, consecutive days of a negative Bitfinex premium have been pretty good at indicating short term tops in BTC, this indicator should only be used as a confirmation signal.
Sniper DragonThis indicator improvement from Indicator | MCDX
I make some revise with adding rsi line and range. Also, hardcoded sensitive value to the rsi base, period etc.
Sniper Dragon created for help trader to identify smart money and momentum using RSI .
The rsi base also hard coded with sensitive rsi value that will get accurate value.
How to use this indicator:-
Histrogram Color legend
1. Green Color - Retailers
2. Yellow Color - Institution
3. Red Color - Smart Money
- the more red color in one bar is prefer for long position
- full yellow color indicate will good for mid position or short term position.
- if more green color then red and yellow indicate that the price likely going down. need to be careful here. the seller is in overpower.
- if more red color increasing, its indicate that the buyers momentum come in. A powerful buying interest.
Black Line RSI using RSI 9
- help trader to indentify current momentum.
- RSI range area already scale to fit in with the histogram.
- RSI scale range:-
- RSI 40-50 : signal overbought. standby for sell
- RSI 25-35 : indecision signal. might sideway. if before got above 35 can buy.
- RSI 0-15 : signal oversold. standby for buy
Horizontal Line Range
- red line :- indicate max range for the momentum. need to standby to sell.
- green line:- indicate lower min range for the momentum. can ready for buy if black line cross up the horizontal range.
L1 Moving Average Fingerprint for Long EntryLevel: 1
Background
This script combines moving average processing with highest high and lowest low to disclose the "fingerprint" of a specific trading pair to describe its unique behavior.
Function
Moving Average Fingerprint for Long Entry is a Level 1 pine script. It utilize several moving average of inherent highest high and lowest low and combine them with customized fingerprint coefficients to depict the unique behavior of a specific trading pair across multiple markets for long entry point identification.
Key Signal
FingerPrint1~6 are basic-level fingerprints with moving average of highest high and lowest low.
FingerPrint7~8 are composite fingerprint definitions with coefficients/weights,where coefficients/weights need to be tuned to discover the inherent "fingerprint" of a specific trading pair.
FingerPrint10~12 are composite fingerprint calculation for long entry alerts
ReadytoLong is a long entry filter where long entry point may happen within it. By using crossover() function to a customized threshold value, you can define accurate long entries.
Pros and Cons
Pros:
1. Combine moving average and extreme points to disclose a trading pair behavior.
2. Smart to tune specific set of parameters to obtain unique fingerprints of trading pairs.
3. Smart position sizing scheme by adjusting the threshold values.
Cons:
1. Require tune input parameters for each trading pair in a specific period and time frame.
2. Only long entry was studied, no short entry and re-entry are available yet to form as a trading system.
3. "ReadytoLong" is an inaccurate range where multiple long entries may happen at improper points in chop market.
4. Complex input parameters to obtain a unique fingerprint set.
Remarks
Although I wrote pine script for more than two years, this is the first script published in the community. I will publish more with my works in this platform.
Hope the community can improve this concept and make it as a trading system.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Effort v RewardThis is the same as my Effort v Reward script but instead is an overlay that changes the background color rather than using a pane at the bottom. A little less info but more at a glance.
Best strategy for TradingView (fake)Hello everyone! I want to show you this strategy so you don't fall for the tricks of scammers. On TradingView, you can write an algorithm (probably more than one) that will show any profit you want: from 1% to 100,000% in one year (maybe more)! This can be done, for example, using the built-in linebreak () function and several conditions for opening long and short.
I am sure that sometimes scammers show up on TradingView showing their incredible strategies. Will a smart person sell a profitable quick strategy? When a lot of people start using the quick strategy, it stops working. Therefore, no smart person would sell you a quick strategy. It is acceptable to sell slow strategies: several transactions per month - this does not greatly affect the market.
So, don't fall for the tricks of scammers, write quick strategies yourself.
About this strategy, I can say that the linebreak () function does not work correctly in it. Accordingly, the lines are not drawn correctly on the chart. They are drawn in such a way as to show the maximum profit. I watched this algorithm on a 1m timeframe - no lines are drawn in real time. This is a fake!
NYSE Volume UP FLOW VS Down FLOW ULTIMATE VOLDNYSE Volume UP FLOW VS Down FLOW ULTIMATE StokedStocks
BASED OFF THE VOLD INDEX
The VOLD (also $VOLD) is the difference between the up volume and down volume on the NYSE. i.e. NYSE $UVOL minus $DVOL; the net up volume.
If you consider that VOLD is the net value between UVOL (up volume) and DVOL (down volume) then you need to understand these two to understand VOLD.
UVOL or DVOL are a total of the volume on all stocks that are up or down in price. Up or down is based on the previous session's closing price. The size of the stock's price change is irrelevant.
If the stock is up only $.01, then its volume is grouped into the UVOL total. If that stock's price then drops by $.02 it will be down $.01 and the day's volume for that stock will now be grouped with the DVOL total.
Note that when a stock moves from being an up stock to a down stock its volume will be removed from the UVOL total and added to the DVOL total. Say the stocks volume is 1 million shares when it moves from up to down. The DVOL will increase by 1 million and the UVOL will decrease by 1 million which means that VOLD will decrease by 2 million.
NYSE Up/Down Volume Ratio is often used as a barometer for stocks trading on all U.S. Exchanges even though it is calculated based on stocks listed on the New York Stock Exchange.
NYSE Up/Down ratio represents the volume of NYSE stocks that are advancing divided by the volume of declining stocks.
The volume of advancing stocks or upside volume is the sum of the volume or the number of shares traded associated with stocks that closed higher.
The downside volume is the total number of shares traded that are associated with stocks that closed lower.
The interpretation of the NYSE Up/Down ratio is rather simple. A value higher than one indicates that there is more volume associated with up stocks than with down stocks and it is usually interpreted as a bullish signal.
Obviously, a bearish signal occurs when the NYSE Up/Down ratio is lower than one, which tells us that there are more volume associated with down stocks than with up stocks.
Check out my other indicators and website stokedstocks.wordpress.com for tons of free stock training books and pictures and settings
Market BuySell RatioA script using 1m small candle size (configurable) to compute the volume of buy (up) vs sell (down) candles (instead of actual market buy vs sell orders which are not available in pine script).
It then plots the buy vs sell ratio as an oscillator below the cart.
This gives traders an idea of current order flow in the market.
To compute the small candles this script uses the "Smart Volume" script which can be found here:
CCI Extreme and OBV DivergenceThis is my second set of two indicators combined utilize Multi time frame analysis of 5 minutes and 15 minutes.
CCI:
Green = uptrending
Red = downtrending
Bright Green = overbought, look to go SHORT
Bright Red = oversold, look to go LONG
OBV:
this use to predict the market direction buy drawing trend line.
It is also very good indicator to sport Smart Money moment. When price move higher but OBV trend lower, smart money is taking profit and reversing their position, look to go Short to you spot this type of divergence.
Also else already not there is no holy grail indicator so I also use this set of indicator to improve the signal
HTF OHLC Candle + 50% @MaxMaseratiHTF OHLC Candle + 50% @MaxMaserati
This advanced multi-timeframe indicator displays higher timeframe OHLC data as visual candle boxes and extended key levels on lower timeframe charts, providing essential context for institutional trading decisions.
Core Functionality:
Multi-Timeframe Box Display:
Main Timeframe Box (Default H4): Shows complete higher timeframe candles as colored boxes with separate body and wick visualization, including bullish (green) and bearish (red) candle representation with customizable transparency levels.
Independent Box 2 (Default M15): Secondary timeframe display with lime/fuchsia color scheme, allowing traders to monitor intermediate timeframes simultaneously with different visual styling.
Independent Box 3 (Default H1): Third independent timeframe with blue/orange color scheme, providing additional context for multi-timeframe analysis and confluence identification.
OHLC Level Analysis:
Each timeframe box includes individual Open, High, Low, and Close level lines with customizable colors and visibility settings. These levels act as key support and resistance zones that institutional traders often respect.
50% Retracement Levels:
Automatic calculation and display of 50% levels between each timeframe's high and low, representing critical equilibrium zones where price often finds support or resistance during retracements.
Extended Line System:
Current Live Timeframe Extended Lines: Real-time extension of the forming candle's Open, High, Low, and 50% levels with customizable line weights and label positioning.
TF2 Extended Lines (Default H4): Previous completed candle's key levels extended forward, showing immediate higher timeframe reference points for current price action.
TF3 Extended Lines (Default Daily): Longer-term reference levels from daily or weekly timeframes, providing macro trend context and major institutional levels.
Key Features:
Smart Timeframe Detection: Only displays boxes for timeframes higher than the current chart timeframe, preventing redundant information and maintaining chart clarity.
Global Box Limit Control: Intelligent cleanup system that maintains optimal performance by limiting total displayed elements while preserving the most recent and relevant timeframe periods.
Comprehensive Customization: Full control over colors, transparency, line weights, label sizes, and visibility for each timeframe component, allowing personalized setups for different trading styles.
Label System: Automatic timeframe identification labels (H4, M15, D1, etc.) positioned on each box for instant timeframe recognition and clear multi-timeframe organization.
Current Candle Options: Optional display of forming/current candles for each timeframe, enabling real-time monitoring of developing price action and potential setup completion.
This indicator is essential for traders utilizing multi-timeframe analysis, institutional trading concepts, and higher timeframe confluence strategies, providing clear visual representation of key levels and candle structures that drive major market movements.
Squeeze Pro Momentum BAR color - KLTDescription:
The Squeeze Pro Momentum indicator is a powerful tool designed to detect volatility compression ("squeeze" zones) and visualize momentum shifts using a refined color-based system. This script blends the well-known concepts of Bollinger Bands and Keltner Channels with an optimized momentum engine that uses dynamic color gradients to reflect trend strength, direction, and volatility.
It’s built for traders who want early warning of potential breakouts and clearer insight into underlying market momentum.
🔍 How It Works:
📉 Squeeze Detection:
This indicator identifies "squeeze" conditions by comparing Bollinger Bands and Keltner Channels:
When Bollinger Bands are inside Keltner Channels → Squeeze is ON
When Bollinger Bands expand outside Keltner Channels → Squeeze is OFF
You’ll see squeeze zones classified as:
Wide
Normal
Narrow
Each represents varying levels of compression and breakout potential.
⚡ Momentum Engine:
Momentum is calculated using linear regression of the price's deviation from a dynamic average of highs, lows, and closes. This gives a more accurate representation of directional pressure in the market.
🧠 Smart Candle Coloring (Optimized):
The momentum color logic is inspired by machine learning principles (no hardcoded thresholds):
EMA smoothing and rate of change (ROC) are used to detect momentum acceleration.
ATR-based filters help remove noise and false signals.
Colors are dynamically assigned based on both direction and trend strength.
🧪 How to Use It:
Look for Squeeze Conditions — especially narrow squeezes, which tend to precede high-momentum breakouts.
Confirm with Momentum Color — strong colors often indicate trend continuation; fading colors may signal exhaustion.
Combine with Price Action — use this tool with support/resistance or patterns for higher probability setups.
Recommended For:
Trend Traders
Breakout Traders
Volatility Strategy Users
Anyone who wants visual clarity on trend strength
📌 Tip: This indicator works great when layered with volume and price action patterns. It is fully non-repainting and supports overlay on price charts.
Daily Weekly Monthly Highs & Lows [Dova Lazarus]Daily Weekly Monthly Highs & Lows
📊 Overview
This Pine Script indicator displays key support and resistance levels by plotting the highs and lows from Daily, Weekly, and Monthly timeframes on your current chart. It's designed as an educational tool to help traders understand multi-timeframe analysis and identify significant price levels.
🎯 Key Features
Multi-Timeframe Support & Resistance
- Daily Levels: Shows previous daily highs and lows
- Weekly Levels: Displays weekly highs and lows
- Monthly Levels: Plots monthly highs and lows
- Smart Display: Only shows relevant timeframes based on your current chart timeframe
Fully Customizable Appearance
- Individual Colors: Set unique colors for each timeframe
- Line Styles: Choose between Solid, Dashed, or Dotted lines
- Line Width: Adjust thickness from 1-4 pixels
- Lookback Periods: Control how many historical levels to display
User-Friendly Options
- Enable/Disable: Toggle any timeframe on/off
- Line Extension: Option to extend lines into the future
- Clean Interface: Organized settings groups for easy configuration
🔧 Settings
Timeframes Group
- Show Daily/Weekly/Monthly Levels: Enable or disable each timeframe
- Lookback Periods: Number of historical levels to display (1-10)
Line Settings Group
- Color: Choose custom colors for each timeframe
- Style: Select line appearance (Solid/Dashed/Dotted)
- Width: Set line thickness (1-4 pixels)
Display Options Group
- Extend Lines Forward: Project lines 20 bars into the future
📈 How to Use
1. Add to Chart: Apply the indicator to any timeframe chart
2. Configure Timeframes: Enable the timeframes you want to see
3. Customize Appearance: Set colors and line styles for easy identification
4. Identify Levels: Use the plotted levels as potential support/resistance zones
5. Plan Trades: Look for price reactions at these key levels
💡 Trading Applications
- Support & Resistance: Identify key price levels where reversals may occur
- Entry Points: Look for bounces or breaks at these levels
- Stop Loss Placement: Use levels to set logical stop losses
- Target Setting: Previous highs/lows can serve as profit targets
- Multi-Timeframe Analysis: Understand the bigger picture context
🎓 Educational Value
This indicator is perfect for:
- Learning Pine Script: Clean, well-commented code structure
- Understanding Multi-Timeframe Analysis: See how different timeframes interact
- Practicing Technical Analysis: Identify key support/resistance concepts
- Code Study: Full variable names and detailed comments for learning
⚙️ Technical Details
- Version: Pine Script v6
- Overlay: True (plots directly on price chart)
- Max Lines: 500 (handles multiple timeframes efficiently)
- Compatibility: Works on all timeframes (shows relevant levels only)
🔍 What Makes This Different
- Educational Focus: Designed for learning with clear code structure
- Simplified Interface: Easy-to-use settings without overwhelming options
- Visual Clarity: Clean line display with customizable appearance
- Practical Application: Real trading tool, not just a demonstration
📋 Requirements
- TradingView account (any plan)
- Basic understanding of support/resistance concepts
- Any chart timeframe (indicator adapts automatically)
🚀 Quick Start
1. Add indicator to your chart
2. Default settings work great out of the box
3. Customize colors if desired (Green=Daily, Orange=Weekly, Red=Monthly)
4. Watch for price reactions at the plotted levels
5. Use as part of your technical analysis toolkit
---
*This indicator is designed as an educational tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results.*
Order Block + Liquidity Sniper by TradingNexus🧠 Order Block + Liquidity Sniper by TradingNexus
📌 How the Indicator Works – Explanation of Visual Elements
🔺 Triangles – Liquidity Sniper Signals
Green triangle below candle (▲): This is a Bullish Liquidity Sniper Signal. It indicates that price swept liquidity below a Swing Low, triggering stop-losses, and then returned back above a bullish Order Block zone. This suggests potential institutional buying interest and could mark a strong buy opportunity.
Red triangle above candle (▼): This is a Bearish Liquidity Sniper Signal. It shows that price swept above a Swing High to collect liquidity and then returned below a bearish Order Block zone. This implies possible institutional selling after a liquidity hunt and may signal a short entry.
🟢 Circles – Order Block Zones
Green circle (●): Represents a Bullish Order Block area – typically the last bearish candle before a strong bullish move. Price returning to this zone may react due to renewed institutional buying.
Red circle (●): Marks a Bearish Order Block – the last bullish candle before a strong bearish move. These zones may act as resistance when price revisits.
✖️ Crosses – Liquidity Zones
Purple cross (+): Identifies a Swing High liquidity level – a short-term high where many stop-loss orders are likely clustered.
Orange cross (+): Marks a Swing Low liquidity zone – a key area where stop orders from long positions may reside.
This indicator seeks precise institutional-style entries by detecting when price:
Sweeps liquidity at a recent swing high or low;
Then reacts from a valid Order Block zone.
The triangle markers highlight potential Sniper entries, while circles and crosses help visualize the key zones that underpin these moves.
Use this tool to improve timing, context, and confidence in your trades – especially when combining with SMC or price action frameworks.
Built by TradingNexus – designed for price action traders who use Smart Money Concepts (SMC).
cd_sweep&cisd_CxOverview:
When the price is at a significant zone/level on a higher time frame (HTF), and it sweeps (breaks through and then closes back below/above) the high or low of the previous HTF candle, it is common to look for a Change in State of Delivery (CISD) on a lower time frame (LTF) to enter a trade.
This model can be summarized as:
HTF Sweep → LTF CISD (Optional: SMT / Divergences)
________________________________________
Working Principle & Details:
1. The indicator monitors price action on the selected HTF and tracks any sweep (violation) of the previous HTF candle's high or low. Simultaneously, it identifies CISD levels on the LTF. If SMT is enabled, it will appear as a label on the chart.
When both HTF sweep and LTF CISD conditions are met, the indicator marks the chart at the open of the next candle and triggers an alert if set.
CISD levels are tracked and updated whenever a new HTF high/low is formed.
2. The indicator monitors the formation of entry models on up to six selected pairs, displaying results in two separate tables:
o HTF Sweep Query Table: Monitors live HTF candles and reports pairs that meet the sweep condition.
o CISD Table: Displays the pairs where a valid entry model has formed. A "🔥" symbol indicates the condition has occurred.
3. Bias Visualization:
Based on the selected HTF, a visual band is shown at the bottom of the chart using the chosen bullish/bearish colors.
Bias is determined by:
o Candle closing above/below the previous one suggesting continuation.
o A failed close after a sweep implying potential reversal.
4. HTF Candles:
Displays HTF candles based on the user-defined time frame.
5. Optional SMT (Smart Money Technique):
Must be enabled in the menu and requires the correlated pair to be entered correctly for accurate results.
Displayed only as a visual confirmation, not a requirement for model formation.
If the currently open symbol sweeps the previous candle while the correlated symbol does not (or vice versa), an "SMT" label appears on the chart.
6. Color & Table Positioning:
Controlled via the settings menu.
________________________________________
Warnings:
• The indicator only marks CISDs that form at HTF high/low zones.
• Entering every time the model forms does not guarantee profitability.
• Waiting for the model to appear at significant HTF levels/zones increases the likelihood of success.
• HTF and LTF selections should follow commonly accepted combinations or user-tested time frames.
• If you want to trigger alerts only for symbols entered in the indicator, ensure the "Use indicator alerts" option is enabled.
• To set alerts for the TradingView watchlist instead, disable the "Use indicator alerts" option.
________________________________________
Feel free to share your thoughts and suggestions.
Happy trading! 💫
Stock Table📊 Professional Stock Market Table - Pine Script v5
🎯 Overview
This is a comprehensive, real-time stock monitoring table designed for TradingView that transforms your chart into a professional trading dashboard. Built with Pine Script v5, it displays live market data for up to 10 customizable securities in an organized, color-coded table format.
________________________________________
🚀 Core Capabilities
📈 Real-Time Data Processing
• Live Price Feeds: Direct integration with TradingView's request.security() function
• Multi-Timeframe Support: Adapts to any chart timeframe automatically
• Instant Updates: Refreshes on every bar close with current market data
• Cross-Market Coverage: Supports stocks, forex, crypto, indices, commodities
• Data Accuracy: Uses lookahead=barmerge.lookahead_off for historical accuracy
🎨 Advanced Visual Customization
• 9 Strategic Positions: Place anywhere on chart (all corners, centers, middle positions)
• Dynamic Layout: 1-5 column configurations with auto-calculating rows
• 4 Size Options: Tiny, Small, Normal, Large text sizing
• Professional Color Scheme: Customizable background, headers, text colors
• Smart Color Coding: Green/red price change indicators with neutral states
📊 Intelligent Table Structure
• Auto-Responsive Design: Table dimensions adjust based on column count
• Professional Headers: Optional Symbol | Price | Change column headers
• Compact Data Display: Symbol name, current price, absolute & percentage change
• Clean Formatting: Precise decimal places, proper alignment, readable layout
• Error Handling: Handles null data, division by zero, invalid symbols gracefully
________________________________________
🔧 Technical Specifications
Data Architecture
- Stock Data Arrays: Dynamic string and float arrays for efficient data management
- Security Requests: Individual request.security() calls for each symbol
- Real-time Processing: Uses barstate.islast for optimal performance
- Memory Management: Efficient array operations with proper cleanup
Performance Optimizations
• Conditional Rendering: Only processes data on the latest bar
• Efficient Memory Usage: Clears and rebuilds table data on each update
• Minimal Resource Impact: Lightweight code structure with no unnecessary loops
• Fast Execution: Direct data access without complex calculations
Symbol Processing
• Exchange Extraction: Automatically removes exchange prefixes (NASDAQ:, NYSE:)
• Clean Display Names: Shows only ticker symbols (AAPL, GOOGL, etc.)
• Flexible Input: Accepts any TradingView-supported symbol format
• Error Resilience: Continues operation even if some symbols fail
________________________________________
🎛️ User Controls & Settings
Securities Configuration
• 10 Customizable Slots: Input any combination of stocks, ETFs, crypto, forex
• Global Market Support: Works with any TradingView-supported instrument
• Easy Symbol Changes: Simple dropdown interface for quick modifications
• Default Professional Portfolio: Pre-loaded with major tech and financial stocks
Layout Customization
Position Options:
├── Top: Left, Center, Right
├── Middle: Left, Center, Right
└── Bottom: Left, Center, Right
Column Configurations:
├── 1 Column: 10 rows (vertical list)
├── 2 Columns: 5 rows (balanced view)
├── 3 Columns: 4 rows (compact display)
├── 4 Columns: 3 rows (wide format)
└── 5 Columns: 2 rows (ultra-wide)
Visual Customization
• Background Control: Transparency settings (0-90%)
• Header Styling: Toggle headers with custom colors
• Text Appearance: Four size options with color controls
• Change Indicators: Separate colors for up/down movements
• Professional Theming: Dark theme optimized for trading environments
________________________________________
💼 Professional Trading Advantages
Market Monitoring
✅ Multi-Asset Oversight: Monitor diverse portfolios in one view
✅ Quick Performance Scan: Instant visual identification of winners/losers
✅ Real-Time Alerts: Color changes provide immediate market feedback
✅ Space Efficient: Minimal chart real estate usage
✅ Always Visible: Persistent display regardless of chart zooming
Decision Making Support
✅ Comparative Analysis: Side-by-side performance comparison
✅ Trend Recognition: Immediate color-coded trend identification
✅ Portfolio Balance: Quick assessment of position performance
✅ Market Correlation: Observe sector movements simultaneously
✅ Risk Management: Rapid identification of adverse movements
Workflow Integration
✅ Chart Integration: Seamlessly blends with existing chart analysis
✅ Non-Intrusive: Doesn't interfere with technical analysis
✅ Customizable Placement: Adapts to any chart layout preference
✅ Professional Appearance: Suitable for client presentations
✅ Multi-Monitor Setup: Works perfectly on secondary displays
________________________________________
🔬 Technical Implementation Details
Pine Script Architecture
Data Flow:
Input Symbols → Security Requests → Data Processing → Table Creation → Visual Rendering
Key Functions:
├── get_name(): Symbol parsing and cleaning
├── get_table_position(): Dynamic positioning system
├── get_table_size(): Responsive sizing control
├── Array Management: Efficient data storage and retrieval
└── Table Operations: Creation, clearing, and population
Security & Reliability
• Error Handling: Comprehensive null checks and data validation
• Fallback Systems: Graceful degradation for missing data
• Performance Monitoring: Optimized for minimal CPU usage
• Memory Safety: Proper array cleanup and resource management
• Version Compatibility: Built for Pine Script v5 standards
Advanced Features
• Dynamic Calculations: Real-time percentage and absolute change computation
• Conditional Formatting: Context-aware color application
• Responsive Design: Auto-adjusting layout based on configuration
• Professional Typography: Optimized text sizing and spacing
• Cross-Platform Compatibility: Works on all TradingView platforms
________________________________________
📱 Use Cases & Applications
Day Trading
• Monitor watchlist stocks during active trading sessions
• Quick identification of breakout opportunities
• Real-time portfolio performance tracking
• Sector rotation analysis
Portfolio Management
• Long-term investment monitoring
• Diversification balance assessment
• Performance comparison across holdings
• Risk exposure evaluation
Market Analysis
• Sector strength comparison
• Market correlation studies
• Index component analysis
• Cross-asset performance review
Professional Trading
• Client portfolio dashboards
• Trading room displays
• Educational presentations
• Research and analysis support
________________________________________
🎯 Competitive Advantages
Versus Standard Watchlists
✅ Visual Integration: Embedded directly in charts
✅ Customizable Layout: Flexible positioning and sizing
✅ Professional Appearance: Trading-room quality display
✅ Real-Time Updates: Immediate price and change updates
Versus External Tools
✅ No Additional Software: Built into TradingView platform
✅ Synchronized Data: Uses same data source as charts
✅ Customizable Symbols: Not limited to pre-defined lists
✅ Cost Effective: No additional subscription fees
Versus Basic Pine Scripts
✅ Professional Quality: Production-ready code standards
✅ Error Resilience: Comprehensive error handling
✅ User-Friendly: Intuitive settings and controls
✅ Performance Optimized: Minimal resource consumption
________________________________________
🔧 Installation & Setup
Quick Start
1. Copy Pine Script code to TradingView Pine Editor
2. Add to chart - table appears with default settings
3. Customize symbols through indicator settings
4. Adjust position and appearance as needed
Optimization Tips
• Position table to avoid interfering with chart analysis
• Use 2-3 columns for optimal readability
• Choose contrasting colors for better visibility
• Regular symbol updates for current market focus
________________________________________
This Professional Stock Market Table represents a complete solution for serious traders and investors who demand real-time, customizable, and visually integrated market monitoring directly within their chart analysis workflow. 📊🚀
Cross-Correlation Lead/Lag AnalyzerCross-Correlation Lead/Lag Analyzer (XCorr)
Discover which instrument moves first with advanced cross-correlation analysis.
This indicator analyzes the lead/lag relationship between any two financial instruments using rolling cross-correlation at multiple time offsets. Perfect for pairs trading, market timing, and understanding inter-market relationships.
Key Features:
Universal compatibility - Works with any two symbols (stocks, futures, forex, crypto, commodities)
Multi-timeframe analysis - Automatically adjusts lag periods based on your chart timeframe
Real-time correlation table - Shows current correlation values for all lag scenarios
Visual lead/lag detection - Color-coded plots make it easy to spot which instrument leads
Smart "Best" indicator - Automatically identifies the strongest relationship
How to Use:
Set your symbols in the indicator settings (default: NQ1! vs RTY1!)
Adjust correlation length (default: 20 periods for smooth but responsive analysis)
Watch the colored lines:
• Red/Orange: Symbol 2 leads Symbol 1 by 1-2 periods
• Blue: Instruments move simultaneously
• Green/Purple: Symbol 1 leads Symbol 2 by 1-2 periods
Check the table for exact correlation values and the "Best" relationship
Interpreting Results:
Correlation > 0.7: Strong positive relationship
Correlation 0.3-0.7: Moderate relationship
Correlation < 0.3: Weak/no relationship
Highest line indicates the optimal timing relationship
Popular Use Cases:
Index Futures : NQ vs ES, RTY vs IWM
Sector Rotation : XLF vs XLK, QQQ vs SPY
Commodities : GC vs SI, CL vs NG
Currency Pairs : EURUSD vs GBPUSD
Crypto : BTC vs ETH correlation analysis
Technical Notes:
Cross-correlation measures linear relationships between two time series at different time lags. This implementation uses Pearson correlation with adjustable periods, calculating correlations from -2 to +2 period offsets to detect leading/lagging behavior.
Perfect for quantitative analysts, pairs traders, and anyone studying inter-market relationships.
90/30 Minute Cycle BoxesThis indicator automatically draws time-based cycle boxes to help visualize market structure and cyclical behavior.
Features:
90-Minute Primary Cycles: Highlights each 90-minute interval with a colored box, showing the high and low of that period.
30-Minute Sub-Cycles: Each 90-minute box is divided into 3 sub-boxes representing 30-minute phases.
Multi-Timeframe Compatible: Works on all timeframes, adapting dynamically to your chart.
Visual Clarity: Alternating box colors make it easy to track price action within and across cycles.
This tool is ideal for traders who use time cycles in their analysis, especially those applying ICT, Smart Money Concepts, or time-based market theories.
PSX OBV Divergence Labels (1H/4H/1D/1W, Enhanced)This script identifies and labels bullish and bearish OBV divergences on the price chart, specifically optimized for swing trading in the Pakistan Stock Exchange (PSX) but also works well across global equities, indices, and crypto.
🔍 What It Does
📈 Bullish OBV Divergence (Green “BUY” label):
Price makes a new low while OBV forms a higher low — suggesting accumulation and a potential reversal.
📉 Bearish OBV Divergence (Red “SELL” label):
Price makes a new high while OBV forms a lower high — indicating distribution and potential weakness.
All signals are confirmed on candle close and filtered for smart volume and OBV stability, helping reduce noise and false positives.
⚙️ How It Works
OBV Divergence Lookback: Scans the last N bars (default 20) for divergence patterns
Volume Spike Filter: Bullish divergences are only considered valid if volume exceeds a smoothed average × multiplier
OBV Slope Confirmation: Confirms that OBV is moving in the expected direction across recent bars before signaling
Multi-Timeframe Support: Designed for 1H, 4H, 1D, and 1W timeframes — ideal for position and swing traders
📈 Best Use Cases
✅ PSX stocks (KSE100, KMI30)
✅ Crypto, indices, or commodities where volume data is available
✅ Works best when combined with price action, support/resistance, or market structure
📎 Parameters
OBV Divergence Lookback: Length of historical window to evaluate OBV vs. price divergence
Volume Smoothing: Period for volume moving average
Volume Spike Multiplier: Threshold for volume strength (default = 1.0x)
OBV Stability Confirmation Bars: OBV must show consistent direction across this many bars before confirming divergence
🧠 Pro Tip
Use divergence signals in confluence with:
Fair Value Gaps
Market Structure Breaks (BMS)
HTF Order Blocks or key SR levels
… for much stronger trade setups.
SMC Concepts - Labels OnlySMC Concepts – Labels Only is a clean and minimalistic indicator designed for traders who apply Smart Money Concepts (SMC) in their analysis. It displays essential market structure signals using simple text labels only, without any colors, boxes, or graphical overlays — allowing for a clear and distraction-free chart view.