Short-Indicator + Exit-AlertThis simple yet effective indicator is designed for beginners and provides a clear trading signal when three conditions are met:
- The stock price is below the EMA200, indicating a bearish trend.
- The MACD histogram changes from positive to negative, a signal for momentum reversal from bullish to bearish.
- The Volume Oscillator is positive (above the zero line), suggesting increasing trading activity.
Alert: When all three conditions are fulfilled, an alert is triggered for a potential short entry.
- Take Profit (TP): When the price hits the lower boundary of the Donchian Channel, the trade is exited with a profit.
- Stop Loss (SL): When the price touches the upper boundary of the Donchian Channel, the position is closed to limit losses.
Penunjuk dan strategi
Short-Indicator + Exit-AlertThis simple yet effective indicator is designed for beginners and provides a clear trading signal when three conditions are met:
- The stock price is below the EMA200, indicating a bearish trend.
- The MACD histogram changes from positive to negative, a signal for momentum reversal from bullish to bearish.
- The Volume Oscillator is positive (above the zero line), suggesting increasing trading activity.
Alert: When all three conditions are fulfilled, an alert is triggered for a potential short entry.
- Take Profit (TP): When the price hits the lower boundary of the Donchian Channel, the trade is exited with a profit.
- Stop Loss (SL): When the price touches the upper boundary of the Donchian Channel, the position is closed to limit losses.
SPY Movers % Change TableThis indicator displays a table of the 10 top SPY movers which constitute 37% weight on SPY movement.
Swing FX Pro Panel v1Description:
"Swing FX Pro Panel v1" is a professional swing trading strategy tailored for the Forex market and other highly liquid assets. The core logic is based on the crossover of two Exponential Moving Averages (EMA), allowing the strategy to detect trend shifts and generate precise entry signals.
The script includes an interactive performance panel that dynamically displays:
initial capital,
risk per trade (%),
the number of trades taken during a selected period (e.g., 6 months),
win/loss statistics,
ROI (Return on Investment),
maximum drawdown,
win ratio.
Nifty 50 Gap Day High/LowFor Gap up & down days use this
track high & low of 1st candle
if break high then go for call position
and
if break low go for Put position
Custom Moving AveragesThis moving average indicator is a combination of EMA 20 SMA 50 EMA 100 sma 200 it is used full of swing traders
RJLibrary "RJ"
The library is searching the FVG
find_bull_rj(provided_RJs, low_1, high_1, time_3, bar_closed, close_2, open_2, low_2)
Parameters:
provided_RJs (array type from maksym_hayovets/POITypes/6)
low_1 (float)
high_1 (float)
time_3 (int)
bar_closed (bool)
close_2 (float)
open_2 (float)
low_2 (float)
CandleSensei – EMA200, Wick & Pattern Alerts)CandleSensei is an advanced Pine Script designed for traders who need real-time alerts on key price action signals and candlestick patterns. It combines EMA200 analysis, volatility (ATR), wick/body detection, and classical candlestick pattern recognition (Engulfing, Pin Bar, Doji, Marubozu) – all in a single tool.
Key Features:
EMA200 HUD – Displays price deviation from EMA200 with directional arrows (▲ / ▼) and percentage values.
Wick Alerts – Alerts for significant wicks:
WICK ALERT: ↓🐂 3.5% (long lower wick – bullish signal).
WICK ALERT: ↑🐻 4.2% (long upper wick – bearish signal).
Big Body Alerts – Detects strong candle bodies exceeding a customizable threshold.
BIG BODY ALERT: ↑ 5.8%
BIG BODY ALERT: ↓ 4.7%
Candlestick Patterns – Automatic alerts for:
Engulfing (🟢🐂 or 🔴🐻).
Pin Bar (🟢🔨 Hammer, 🔴☄️ Shooting Star).
Doji (⚪ Doji 🟢↑ / 🔴↓).
Marubozu (📏 Marubozu 🟢↑ / 🔴↓).
On-Chart HUD – Shows ATR, price vs EMA200, wick size, and full body % in a compact table.
Why use CandleSensei?
Perfect for swing traders (Daily/Weekly analysis) and intraday traders (1H).
Combines trend direction, volatility, and price action patterns in a single dashboard.
Fully customizable thresholds for wick and body alerts.
FVGLibrary "FVG"
The library is searching the FVG
find_bull_fvg(provided_fvgs, monthly_low_1, monthly_high_3, monthly_time_3, monthly_bar_closed, monthly_high_1)
Parameters:
provided_fvgs (array type from maksym_hayovets/POITypes/1)
monthly_low_1 (float)
monthly_high_3 (float)
monthly_time_3 (int)
monthly_bar_closed (bool)
monthly_high_1 (float)
find_bear_fvg(provided_fvgs, monthly_low_3, monthly_high_1, monthly_time_3, monthly_bar_closed, monthly_low_1)
Parameters:
provided_fvgs (array type from maksym_hayovets/POITypes/1)
monthly_low_3 (float)
monthly_high_1 (float)
monthly_time_3 (int)
monthly_bar_closed (bool)
monthly_low_1 (float)
POITypesLibrary "POITypes"
TODO: add library description here
ZonePOI
Fields:
right (series int)
top (series float)
left (series int)
bottom (series float)
is_tested (series bool)
start_time_test_4H (series int)
end_time_test_4H (series int)
is_covered (series bool)
is_drawn (series bool)
Up/Down Volume with Table (High Contrast)Up/Down Volume with Table (High Contrast) — Script Summary & User Guide
Purpose of the Script
This TradingView indicator, Up/Down Volume with Table (High Contrast), visually separates and quantifies up-volume and down-volume for each bar, providing both a color-coded histogram and a dynamic table summarizing the last five bars. The indicator helps traders quickly assess buying and selling pressure, recent volume shifts, and their relationship to price changes, all in a highly readable format.
Key Features
Up/Down Volume Columns:
Green columns represent volume on bars where price closed higher than the previous bar (up volume).
Red columns represent volume on bars where price closed lower than the previous bar (down volume).
Delta Line:
Plots the net difference between up and down volume for each bar.
Green when up-volume exceeds down-volume; red when down-volume dominates.
Interactive Table:
Displays the last five bars, showing up-volume, down-volume, delta, and close price.
Color-coding for quick interpretation.
Table position, decimal places, and timeframe are all user-configurable.
Custom Timeframe Support:
Calculate all values on the chart’s timeframe or a custom timeframe of your choice (e.g., daily, hourly).
High-Contrast Design:
Table and plot colors are chosen for maximum clarity and accessibility.
User Inputs & Configuration
Use custom timeframe:
Toggle between the chart’s timeframe and a user-specified timeframe.
Custom timeframe:
Set the timeframe for calculations if custom mode is enabled (e.g., "D" for daily, "60" for 60 minutes).
Decimal Places:
Choose how many decimal places to display in the table.
Table Location:
Select where the table appears on your chart (e.g., Bottom Right, Top Left, etc.).
How to Use
Add the Script to Your Chart:
Copy and paste the code into a new Pine Script indicator on TradingView.
Add the indicator to your chart.
Configure Inputs:
Open the indicator settings.
Adjust the timeframe, decimal places, and table location as desired.
Read the Table:
The table appears on your chart (location is user-selectable) and displays the following for the last five bars:
Bar: "Now" for the current bar, then "Bar -1", "Bar -2", etc. for previous bars.
Up Vol: Volume on bars where price closed higher than previous bar, shown in black text.
Down Vol: Volume on bars where price closed lower than previous bar, shown in black text.
Delta: Up Vol minus Down Vol, colored green for positive, red for negative, black for zero.
Close: Closing price for each bar, colored green if price increased from previous bar, red if decreased, black if unchanged.
Interpret the Histogram and Lines:
Green Columns:
Represent up-volume. Tall columns indicate strong buying volume.
Red Columns:
Represent down-volume. Tall columns indicate strong selling volume.
Delta Line:
Plotted as a line (not a column), colored green for positive values (more up-volume), red for negative (more down-volume).
Large positive or negative spikes may indicate strong buying or selling pressure, respectively.
How to Interpret the Table
Column Meaning Color Coding
Bar "Now" (current bar), "Bar -1" (previous bar), etc. Black text
Up Vol Volume for bars with higher closes than previous bar Black text
Down Vol Volume for bars with lower closes than previous bar Black text
Delta Up Vol - Down Vol. Green if positive, red if negative, black if zero Green/Red/Black
Close Closing price for the bar. Green if price increased, red if decreased, black if unchanged Green/Red/Black
Green Delta: Indicates net buying pressure for that bar.
Red Delta: Indicates net selling pressure for that bar.
Close Price Color:
Green: Price increased from previous bar.
Red: Price decreased.
Black: No change.
Practical Trading Insights
Consistently Green Delta (Histogram & Table):
Sustained buying pressure; may indicate bullish sentiment or accumulation.
Consistently Red Delta:
Sustained selling pressure; may indicate bearish sentiment or distribution.
Large Up/Down Volume Spikes:
Big green or red columns can signal strong market activity or potential reversals if they occur at trend extremes.
Delta Flipping Colors:
Rapid alternation between green and red deltas may indicate a choppy or indecisive market.
Close Price Color in Table:
Use as a quick confirmation of whether volume surges are pushing price in the expected direction.
Troubleshooting & Notes
No Volume Data Error:
If your symbol doesn’t provide volume data (e.g., some indices or synthetic assets), the script will display an error.
Custom Timeframe:
If using a custom timeframe, ensure your chart supports it and that there is enough data for meaningful calculations.
High-Contrast Table:
Designed for clarity and accessibility, but you can adjust colors in the code if needed for your personal preferences.
Summary Table Legend
Bar Up Vol Down Vol Delta Close
Now ... ... ... ...
Bar-1 ... ... ... ...
... ... ... ... ...
Colors reflect the meaning as described above.
In Summary
This indicator visually and numerically breaks down buying and selling volume, helping you spot shifts in market sentiment, volume surges, and price/volume divergences at a glance.
Use the table for precise recent data, the histogram for overall flow, and the color cues for instant market context.
COT_OscilatorThe COT Ocsilator 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.
Chaikin Money Flow//@version=5
indicator("WTI Short Breakout Alert", overlay=true)
// === Input Parameters ===
supportLevel = input.float(65.50, title="Breakout Support Level", step=0.01) rsiLength = input.int(14, title="RSI Length") emaLength = input.int(21, title="EMA Length")
// === Calculations ===
ema = ta.ema(close, emaLength)
rsi = ta.rsi(close, rsiLength)
// === Conditions ===
belowEMA = close < ema
rsiBearish = rsi < 50
breakSupport = close < supportLevel
// === Final Alert Condition ===
shortSetup = belowEMA and rsiBearish and breakSupport
// === Plotting ===
plot(supportLevel, title="Support Level", color=color.red, linewidth=1, style=plot.style_line) plotshape(shortSetup, title="Short Entry", location=location.belowbar, color=color.red, style=shape.labeldown, text="SHORT")
// === Alert ===
alertcondition(shortSetup, title="Short Breakout Alert", message="WTI SHORT Setup: Price < EMA21, RSI < 50, and breaking below support!")
SPY Hybrid ORE Strategy v3This Pine Script strategy implements a SPY Hybrid Opening Range Expansion (ORE) Strategy that trades breakouts from the daily opening range during specific market hours (9:30-11:30 AM). The strategy identifies "sucker moves" - situations where the opening range is unusually large compared to historical volatility (ATR) - and then trades breakouts in the opposite direction of the initial move.
For long positions, it enters when price breaks above the previous bar's high after a large opening range in bullish market conditions (price above 50-day SMA), using the opening low as a stop loss and targeting a profit equal to half the opening range. For short positions, it enters on breaks below the previous bar's low during bearish conditions (price significantly below 50-day SMA with bearish momentum), using more aggressive stops and partial profit-taking. The strategy incorporates multiple filters including volatility (ATR), volume, RSI momentum, and includes risk management through position sizing based on account equity and stop distance, along with time-based exits and cooldown periods between trades.
Beta calculatorCalculates the market beta for the stock that is on your screen. You may change the parameters by changing the symbol you are using as benchmark to calculate market beta in the settings. This will affect the market beta you get. VTI is used since it has a theoretical market beta of 1.
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.
KEY MARKET SESSION EU/US RANGE LEVELS - KLT🔹 KEY MARKET SESSION EU/US RANGE LEVELS - KLT
This indicator highlights critical trading levels during the European and U.S. sessions, with Overbought (OB) and Oversold (OS) markers derived from each session's price range.
It’s designed to support traders in identifying key zones of interest and historical price reactions across sessions.
✳️ Features
🕒 Session Recognition
European Session (EU): 08:00 to 14:00 UTC
United States Session (US): 14:30 to 21:00 UTC
The indicator automatically detects the current session and updates levels in real time.
📈 Overbought / Oversold (OB/OS) Levels
Helps identify potential reversal or reaction zones.
🔁 Previous Session OB/OS Crosses
OB/OS levels from the previous session are plotted as white crosses during the opposite session:
EU OB/OS shown during the US session
US OB/OS shown during the EU session
These levels act as potential price targets or reaction areas based on prior session behavior.
🎨 Session-Based Color Coding
EU Session
High/Low: Orange / Fuchsia
OB/OS: Orange / Lime
Previous OB/OS: White crosses during the US session
US Session
High/Low: Aqua / Teal
OB/OS: Aqua / Lime
Previous OB/OS: White crosses during the EU session
🧠 How to Use
Use the OB/OS levels to gauge potential turning points or extended moves.
Watch for previous session crosses to spot historically relevant zones that may attract price.
Monitor extended High/Low lines as potential magnets for price continuation.
🛠 Additional Notes
No repainting; levels are session-locked and tracked in real time.
Optimized for intraday strategies, scalping, and session-based planning.
Works best on assets with clear session behavior (e.g., forex, indices, major commodities).
Trend Buy/Sell Fibonacci Range - KLTThe Trend Buy/Sell Fibonacci Range – KLT indicator identifies bullish and bearish trends based on where the closing price is located within a Fibonacci range calculated from the last N candles (default is 10). Instead of analyzing individual candles, this tool takes a broader view of price action using Fibonacci retracement levels across a dynamic multi-candle range.
How It Works:
Range Calculation
The indicator calculates the highest high and lowest low over the last N candles to define the active price range (default: 10 bars).
Fibonacci Levels
Within this range, Fibonacci levels (0.236, 0.382, 0.5, 0.618, 0.786) are dynamically computed. These levels act as internal thresholds to evaluate bullish or bearish pressure.
Trend Identification (via Close Position):
If the closing price is above the 0.618 level, it indicates strong buy pressure → the candle turns green and an upward triangle appears.
If the closing price is below the 0.382 level, it suggests strong sell pressure → the candle turns red and a downward triangle is displayed.
If the close lies between 0.382 and 0.618, the market is considered neutral, and the candle is gray.
Visual Elements:
Colored candles to immediately spot trend conditions.
Triangle signals (optional) for clear Buy/Sell markers.
Fibonacci level lines plotted on the chart for full context (can be toggled on/off).
Customization Options:
Lookback period (number of candles to calculate the range)
Fibonacci threshold levels (upper/lower)
Show/hide arrows and Fibonacci lines
Why Use This Indicator?
This tool is perfect for traders who want a simple visual method to assess trend strength based on price structure, not indicators derived from lagging moving averages. It offers:
Cleaner market structure analysis
Objective trend zones
Customizable sensitivity
Recommended Use:
Works well in conjunction with support/resistance zones, volume, or momentum indicators.
Applicable to any asset class or timeframe.
Credits:
Developed by KLT, combining structure-based logic with Fibonacci precision.
📊 All-in-One MAs & VWAP (No Pivot)All in One Best Indicator(Udhayan). This Indicator is used in Forex markets to capture most of the trend and make you in profits.
0DTE Expected Move Lines0DTE Expected Move Levels – Manual VIX Input
This indicator calculates and displays intraday expected move zones for SPX or other indices based on a manually entered VIX value. It helps intraday or 0DTE option traders visualize potential price ranges where price is statistically likely to stay.
What it does:
Uses VIX to estimate the daily expected move:
EM = Spot × (VIX / 100) × √(1 / 365)
Draws horizontal lines at:
±1× EM → suggested short strike range
±1.5× EM → more conservative range
Ideal for Iron Condors, Straddles, Butterflies, or short premium strategies
Features:
Clean visual markers using line.new() (no plot(), so works on all TradingView plans)
Manual VIX input for full flexibility
Lightweight and fast – updates with every bar
✅ Works best on SPX, SPY, ES, or MES charts.