Asian & London Session Two-Color Candlesthis script use to find the asian and london session with different candle colours.
Indicatori e strategie
تلوين الشموع حسب الحجم (يومي أو متوسط)📊 Indicator Name:
Candle Coloring Based on Volume Change (Flexible Comparison)
🎯 Purpose of the Indicator:
This indicator colors candlesticks based solely on changes in volume, regardless of price direction. It helps traders visualize unusual volume activity and potential accumulation or distribution zones.
It also displays the percentage change in volume above each candle — based on a comparison method chosen by the user.
⚙️ User Inputs:
Comparison Method (Mode):
"Compare with Previous Day":
The volume of the current candle is compared with the volume of the previous candle.
"Compare with Average of N Days":
The volume is compared with a moving average of volume over a number of past days (e.g., 10 days).
Average Length (for mode 2):
Used only when "Compare with Average" is selected.
Defines the number of days over which to calculate the volume average.
Minimum % Change to Show Label:
A threshold that controls when the percentage label appears.
Prevents label clutter for insignificant volume changes.
🎨 Candle Coloring Logic:
Condition Meaning Candle Color
Current volume > reference volume High activity 🟢 Green
Current volume < reference volume Low activity 🔴 Red
Nearly equal volumes Normal ⚪ Gray
🏷️ Volume Change Label:
The indicator displays a percentage change label above the candle.
For example:
If volume increased by 45% → label shows +45.00%.
If the change exceeds ±50%, the label turns yellow to indicate a significant spike.
✅ Key Benefits:
Quickly detects unusual volume activity (e.g., spikes, drops).
Enhances classic price-action analysis with volume context.
Flexible comparison:
Day-to-day for short-term traders.
Moving average for swing and position traders.
Clean, minimalist design with conditional labels.
🔍 Use Case Examples:
🔴 Red candle on price rise → weak rally (low participation).
🟢 Green candle on price drop → potential distribution.
⚪ Gray candles → sideways or stable behavior.
👤 Who Should Use It?
Day traders and scalpers monitoring volume strength.
Technical analysts who focus on volume-price behavior.
Traders who track accumulation/distribution patterns.
SG CBC Table - Full 10min & 2minBased on SG CBC Table has 10 min and 2 min CBC status and GC. Also customizable table colors of the background can be changed or made transparent. Indicator Updates every 10 minutes on a 10 minute chart and every 2 minutes on a 2 minute chart
Moon High/Low Lines with Labels and DatesPre marked highs & lows of full moon and no moon with a customizable lookback period up to 365 days. Use these as support & resistance in your existing set up.
COT Comm OsciThe COT Ocsillator Indicator is a quantitative analysis tool that uses the positioning of so-called Commercials from the weekly Commitments of Traders (COT) report published by the CFTC. It is designed to detect extreme hedging behavior by institutional participants and translates it into a normalized scale from 0 to 100. The goal is to provide early indication of potential market reversals or overextensions.
What is the "Commercial Index"?
Commercials are market participants with a direct connection to the underlying asset – such as producers, processors, or large-scale users of commodities. They are often referred to as "Smart Money" due to their fundamental market insight and hedging purpose.
The Commercial Index measures where the current net position of Commercials (Long - Short) stands within a user-defined historical lookback window:
Index = 100: the most bullish net position in the selected period.
Index = 0: the most bearish net position.
How does the indicator work?
Data Source: The script uses the latest TradingView/LibraryCOT/4, which provides structured access to official COT data.
Calculation:
Weekly long and short positions of Commercials are requested based on the selected root symbol (e.g., "HG" for Copper).
Net position is calculated as: Net = Long - Short.
This value is normalized within the selected historical range (e.g., 150 weeks) between the highest and lowest net positions.
Result: A smooth oscillator ranging from 0 to 100 is plotted.
How to use the indicator?
Select your target future market (e.g., "GC" for Gold, "CL" for Crude Oil, "HG" for Copper).
Optionally adjust the three time windows to observe short-, mid-, and long-term sentiment (e.g., 125, 250, 500 weeks).
Watch for extreme readings:
Above 80–100: Commercials are heavily net long.
Below 20–0: Commercials are heavily net short.
These extremes are especially relevant when combined with price action, seasonality, or technical signals.
What makes this script unique?
Objective sentiment evaluation based on real institutional positioning.
Three timeframes shown in parallel for multi-horizon analysis.
No smoothing or distortion – raw positioning is visualized cleanly.
Useful in futures markets, where hedging behavior is a major driver.
Tips for Use:
Best viewed on weekly daily or charts (e.g., COMEX:HG1!, NYMEX:CL1!, CBOT:ZW1!).
Combine with technical setups or external sentiment tools for confirmation.
Can be used as a core building block in COT-based strategies or signal generation systems.
This indicator helps you track the footprints of Smart Money – and anticipate where the market might turn.
Current Hourly Open Line with Sweep DetectionThis indicator marks out the high and low of the current hourly open candle.
Stats show, if the current hourly candle takes the high or low of the previous 1H candle there is a chance price returns to the hourly open depending on the time the sweep on the high or low occurred.
There is a high chance >75% price returns to hourly open of current candle if the sweep happens in the first 20 minutes.
There is a medium chance 50% price returns to hourly open of current candle if the sweep happens in the 20-40 minute range of the current candle.
There is a low 25% chance if sweep happens from :40-:59 minutes of the hour.
We use this to spot manipulation on the hourly timeframe, we only want to target hourly open if it happens in the first 20 minutes. We then want to trade in opposite direction of the first move of the hourly, w/ context of course.
The indicator / line will change colors based on the time the first sweep occurred. You can change them to how you want. For default, blue is just the hourly open with no sweep yet.
Green means go, and the sweep happens within the first 20 minutes, Yellow is medium chance, and Red is small chance.
Equal Highs and Lows (Line Between Matches Only)marks out equal highs and lows with a solid red line and solid green line. Only marks out till the next candle
Synthetic VX3! & VX4! continuous /VX futuresTradingView is missing continuous 3rd and 4th month VIX (/VX) futures, so I decided to try to make a synthetic one that emulates what continuous maturity futures would look like. This is useful for backtesting/historical purposes as it enables traders to see how their further out VX contracts would've performed vs the front month contract.
The indicator pulls actual realtime data (if you subscribe to the CBOE data package) or 15 minute delayed data for the VIX spot (the actual non-tradeable VIX index), the continuous front month (VX1!), and the continuous second month (VX2!) continually rolled contracts. Then the indicator's script applies a formula to fairly closely estimate how 3rd and 4th month continuous contracts would've moved.
It uses an exponential mean‑reversion to a long‑run level formula using:
σ(T) = θ+(σ0−θ)e−kT
You can expect it to be off by ~5% or so (in times of backwardation it might be less accurate).
Volatility Normalized Deviation OscillatorThis indicator is used for string traders. It shows what is the highest and lowest point of index less than 60% greater than 60% indicator.
Portfolio Tracker ARJO (V-01)Portfolio Tracker ARJO (V-01)
This indicator is a user-friendly portfolio tracking tool designed for TradingView charts. It overlays a customizable table on your chart to monitor up to 15 stocks or symbols in your portfolio. It calculates real-time metrics like current market price (CMP), gains/losses, and stoploss breaches, helping you stay on top of your investments without switching between multiple charts. The table uses color-coding for quick visual insights: green for profits, red for losses, and highlights breached stoplosses in red for alerts. It also shows portfolio-wide totals for overall performance.
Key Features
Supports up to 15 Symbols: Enter stock tickers (e.g., NSE:RELIANCE or BSE:TCS) with details like buy price, date, units, and stoploss.
Symbol: The stock ticker and description.
Buy Date: When you purchased it.
Units: Number of shares/units held.
Buy Price: Your entry price.
Stop Loss: Your set stoploss level (highlighted in red if breached by CMP).
CMP: Current market price (fetched from the chart's timeframe).
% Gain/Loss: Percentage change from buy price (color-coded: green for positive, red for negative).
Gain/Loss: Total monetary gain/loss based on units.
Optional Timeframe Columns: Toggle to show % change over 1 Week (1W), 1 Month (1M), 3 Months (3M), and 6 Months (6M) for historical performance.
Portfolio Summary: At the top of the table, see total % gain/loss and absolute gain/loss for your entire portfolio.
Visual Customizations: Adjust table position (e.g., Top Right), size, colors for positive/negative values, and intensity cutoff for gradients.
Benchmark Index-Based Header: The title row's background color reflects NIFTY's weekly trend (green if above 10-week SMA, red if below) for market context.
Benchmark Index-Based Header: The title row's background color reflects NIFTY's weekly trend (green if above 10-week SMA, red if below) for market context.
How to Use It: Step-by-Step Guide
Add the Indicator to Your Chart: Search for "Portfolio Tracker ARJO (V-01)" in TradingView's indicator library and add it to any chart (preferably Daily timeframe for accuracy).
Input Your Portfolio Symbols:
Open the indicator settings (gear icon).
In the "Symbol 1" to "Symbol 15" groups, fill in:
Symbol: Enter the ticker (e.g., NSE:INFY).
Year/Month/Day: Select your buy date (e.g., 2024-07-01).
Buy Price: Your purchase price per unit.
Stoploss: Your exit price if things go south.
Units: How many shares you own.
Only fill what you need—leave extras blank. The table auto-adjusts to show only entered symbols.
Customize the Table (Optional):
In "Table settings":
Choose position (e.g., Top Right) and size (% of chart).
Toggle "Show Timeframe Columns" to add 1W/1M/3M/6M performance.
In "Color settings":
Pick colors for positive (green) and negative (red) cells.
Set "Color intensity cutoff (%)" to control how strong the colors get (e.g., 10% means changes above 10% max out the color).
Interpret the Table on Your Chart:
The table appears overlaid—scan rows for each symbol's stats.
Look at colors: Greener = better gains; redder = bigger losses.
Check CMP cell: Red means stoploss breached—consider selling!
Portfolio Gain/Loss at the top gives a quick overall health check.
For Best Results:
Use on a Daily chart to avoid CMP errors (the script will warn if on Weekly/Monthly).
Refresh the chart or wait for a new bar if data doesn't update immediately.
For Indian stocks, prefix with NSE: or BSE: (e.g., BSE:RELIANCE).
This is for tracking only—not trading signals. Combine with your strategy.
If no symbols show, ensure inputs are valid (e.g., buy price > 0, valid date).
Finally, this tool makes it quite easy for beginners to track their portfolios, while also giving advanced traders powerful and customizable insights. I'd love to hear your feedback—happy trading!
tiktok strat5 minute timeframe only!!!
first 15 minutes of market open is a range
trades breakouts on that range
William's Awesome Oscillator (AO) - Log-scaledA 5-34-5 MACD plotted as a histogram, aka William's Awesome Oscillator, scaled to log price
Channel breakoutcreates a "channel" of the highest and lowest value of the past 20 bars
trades breakouts of that channel
works for almost any timeframe on various different assets, though I'd recommend testing first
Four Trading SessionsIve adapted this from someone else's script to include 4 sessions instead of 3
TradingView Indicator Description: Trading Sessions
Overview:
The "Trading Sessions" indicator, written in Pine Script v5, visually highlights major forex trading sessions (Tokyo, London, New York, and Sydney) on intraday charts. It displays session ranges as colored boxes, with optional open/close lines, average price lines, and labels showing session names, tick ranges, and average prices. Users can customize session times, time zones, colors, and display options.
Key Features:
Customizable Sessions: Supports up to four trading sessions (Tokyo, London, New York, Sydney) with user-defined names, time ranges, and time zones (e.g., "Asia/Tokyo", "America/New_York").
Visual Elements:
Draws semi-transparent boxes to mark session price ranges (high/low).
Optional dashed lines for session open and close prices.
Optional dotted line for the session's average price.
Labels displaying session name, tick range, and/or average price (configurable).
Time Zone Support: Specify time zones using IANA database names (e.g., "Australia/Sydney") or GMT notation, with a recommendation for IANA to handle daylight savings.
Display Options: Toggle session names, open/close lines, tick range, and average price visibility.
Intraday Restriction: Works only on intraday timeframes, with an error for daily/weekly/monthly charts.
Performance Optimized: Limits boxes, lines, and labels to 500 each to ensure smooth performance.
Inputs:
General Settings:
Show session names, open/close lines, tick range, and average price (all enabled by default).
Per Session (Tokyo, London, New York, Sydney):
Enable/disable session display.
Custom session name (e.g., "Tokyo").
Session time range (e.g., "0900-1500" for Tokyo).
Time zone (e.g., "Asia/Tokyo").
Session color (semi-transparent blue, orange, green, purple by default).
How It Works:
The script checks if the current bar falls within a session’s time range (adjusted for the specified time zone).
For each active session, it creates a box spanning the session’s high/low and updates it bar-by-bar.
Optional open/close lines and an average price line are drawn and updated dynamically.
Labels display user-selected metrics (name, range, average price) at the bottom of each session box.
Sessions reset daily, ensuring accurate representation across days.
Use Case:
Ideal for forex traders who want to analyze price action during specific trading sessions. The indicator helps identify session-specific volatility, key price levels, and trends, with clear visual cues and customizable settings.
Limitations:
Only works on intraday timeframes.
Limited to 500 boxes, lines, and labels to prevent performance issues.
Requires accurate time zone settings for proper session alignment.
Example:
Enable the Tokyo and New York sessions, set their respective time zones, and toggle on all display options to see colored boxes, open/close lines, average price lines, and labels with tick ranges and averages for each session.
Momentum 8% 4% 9MMomentum 8% 4% 9M is a simple yet effective visual indicator designed to highlight significant daily price moves and high volume activity on your stock charts.
Features:
Daily Price Move Highlights:
Background turns green when the daily price gain is equal to or greater than 8%, signaling strong bullish momentum.
Background turns red when the daily price drop is equal to or less than -4%, indicating notable bearish moves.
High Volume Marker:
Displays a small yellow upward triangle below the bar on days when the trading volume exceeds 9 million, helping you easily spot volume spikes.
This indicator provides clear visual cues directly on your price chart, making it easier to spot days of unusual market activity without cluttering your chart with excessive labels. It is ideal for traders looking to quickly identify big moves and volume surges for further analysis or trading decisions.
How it works:
The script calculates the daily percentage change from the previous close and compares it with predefined thresholds (8% up, 4% down). Volume is checked against the threshold of 9 million shares. Appropriate background colors and shape markers are then plotted accordingly.
Yellow Dots at 20th, 60th, 120th Last Close//@version=6
indicator("Yellow Dots at 20th, 60th, 120th Last Close", overlay=true)
var label dotLabel20 = na
var label dotLabel60 = na
var label dotLabel120 = na
if barstate.islast
if na(dotLabel20)
dotLabel20 := label.new(bar_index , close , "⬤", color=color.new(color.white, 100), textcolor=color.yellow, size=size.tiny)
else
label.set_x(dotLabel20, bar_index )
label.set_y(dotLabel20, close )
if na(dotLabel60)
dotLabel60 := label.new(bar_index , close , "⬤", color=color.new(color.white, 100), textcolor=color.yellow, size=size.tiny)
else
label.set_x(dotLabel60, bar_index )
label.set_y(dotLabel60, close )
if na(dotLabel120)
dotLabel120 := label.new(bar_index , close , "⬤", color=color.new(color.white, 100), textcolor=color.yellow, size=size.tiny)
else
label.set_x(dotLabel120, bar_index )
label.set_y(dotLabel120, close )
(MA with colored trend background)MA with colored trend background is a versatile trend-detection indicator that allows users to choose between three types of moving averages:
EMA (Exponential Moving Average)
KAMA (Kaufman Adaptive Moving Average)
Kijun-sen (from the Ichimoku system)
The indicator automatically detects trend shifts based on candlestick interactions with the selected MA line, and visually reflects the current trend direction using dynamic background coloring. Its goal is to help traders quickly interpret trend strength and direction—without relying on multiple indicators.
How it works
The indicator follows this logic to detect bullish and bearish conditions:
Bullish signal (green trend):
When the candle closes above the selected MA and both the open and close are above the MA, a bullish trend is signaled and the chart background turns green.
Bearish signal (red trend):
When the candle closes below the MA and both the open and close are below it, a bearish trend is triggered and the background turns red.
The background color remains until an opposite signal appears, ensuring a consistent visual representation of the current trend phase.
What it does and why it’s useful
Unlike standard moving average indicators that only plot lines, KINSKI Flexi Trend MA provides:
Flexibility to switch between different MA types (EMA, KAMA, or Kijun), allowing users to adapt it to various market environments.
Visual context via background color that enhances clarity—even when scanning multiple charts or working across timeframes.
KAMA uses fixed internal parameters (fast=2, slow=30) to provide a responsive, noise-filtering MA line.
Kijun-sen is calculated as the midpoint between the highest high and lowest low over a user-defined period, similar to its role in Ichimoku.
This combination of visual clarity and analytical flexibility makes the indicator highly suitable for:
Trend-following strategies
Breakout confirmation
Scalping (on lower timeframes)
Swing trading
How to use it
Select the MA type from the dropdown:
EMA (standard exponential moving average)
KAMA (adaptive smoothing)
Kijun-sen (Ichimoku mid-line)
Adjust the MA length depending on your trading style or timeframe:
e.g., EMA 50 for medium-term trend, Kijun 9 for faster signals.
Observe the background color:
Green → bullish trend in progress.
Red → bearish trend in progress.
Background color change may serve as an entry or exit confirmation.
Additional explanation for tracking this indicator:
When we're in a bullish trend, the background is green. We can see a narrow red background appearing when there is a certain pullback. The narrow sections of the colored background indicate that a pullback is active, and we can expect a return to the bullish side. We then return to the green zone. This is also a good indicator during consolidations because it visually shows us that the color changes in the background, as well as their same width, are consistent. This indicates that we should avoid trading during this period.
SQZPROaltStanding on the shoulders of John Carter (Trade The Markets and Simpler Trading) along with Drecken, LazyBear, Makit0 and Beardy_Fred. This version of the Squeeze Pro compares Bollinger Band Width to Keltner Channel Width in determining one of four conditions: no squeeze (BBW > KCW 2x), moderate/wide squeeze (BBW < KCW 2x but > KCW 1.5x), original squeeze (BBW < KCW 1.5x but > KCW1x) and tight squeeze (BBW < KCW 1x). Other approaches compared upper and lower channel values and I found that confusing in some circumstances. Directly comparing the band widths made more sense to me. This version provides the same signals most of the time, but this approach cleared up my confusion. {Happy emoji}
🗓️ Day Separator🗓️ Day Separator – Visual Day Markers for Your Chart
This script adds automatic vertical lines to visually separate each trading day on your chart. It helps you quickly identify where each day starts and ends — especially useful for intraday and scalping strategies.
✅ Features:
Distinct colored lines for each weekday (Monday to Friday)
Optional day-of-week labels (toggle on/off)
Custom label position (top or bottom of the chart)
Works on any timeframe
Whether you're tracking market sessions or reviewing daily price action, this tool gives you a clean structure to navigate your charts with more clarity.
Customizable EMA & SMA ComboThis indicator plots a customizable set of Exponential Moving Averages (EMAs) and Simple Moving Averages (SMAs) to help identify trends, dynamic support/resistance, and momentum shifts.
Included Moving Averages:
EMAs: 8, 21, 34, 55, 89
SMAs: 50, 100, 200
Features:
Toggle visibility for each moving average
Adjust length of each EMA/SMA individually
Color-coded lines for quick identification
This tool is ideal for trend traders, swing traders, or anyone who wants to visually track short-, medium-, and long-term momentum in one clean overlay.