อินดิเคเตอร์ Pine Script®
รูปแบบชาร์ต
TRADING BITE - Supply Demand Marker V3.1Supply & Demand Zone Indicator with Volume Analysis
Description:
Automatically identifies key supply and demand candles and highlights potential reversal zones. Integrated volume analysis validates market moves, helping traders make more informed entry and exit decisions. Perfect for spotting high-probability trades and understanding market structure at a glance.
Features:
Highlights Supply & Demand zones automatically
Marks key reversal candles
Volume-based validation for stronger signals
Easy-to-read visual alerts for trading decisions
Disclaimer / No Liability Notice:
This indicator is provided for educational and informational purposes only. It does not guarantee profits or predict future market movements. Trading financial instruments involves substantial risk of loss, and you should only trade with money you can afford to lose.
By using this indicator, you acknowledge that you assume full responsibility for any trading decisions made based on its signals. The developer accepts no liability for any losses, damages, or financial consequences that may result from using this tool.
Always perform your own analysis and consider consulting a licensed financial advisor before making trading decisions. Past performance is not indicative of future results.
You have multiple customization options to adjust according to your own demand. if you need help with understanding of the indicator and how to use it, get back to us and will help you as soon as we can,
Best of Luck
TRADING BITE
อินดิเคเตอร์ Pine Script®
Institutional Reload Zones //@version=5
indicator("MSS Institutional Reload Zones (HTF + Sweep + Displacement) ", overlay=true, max_boxes_count=20, max_labels_count=50)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Inputs
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
pivotLeft = input.int(3, "Pivot Left", minval=1)
pivotRight = input.int(3, "Pivot Right", minval=1)
htfTf = input.timeframe("60", "HTF Timeframe (60=1H, 240=4H)")
emaFastLen = input.int(50, "HTF EMA Fast", minval=1)
emaSlowLen = input.int(200, "HTF EMA Slow", minval=1)
atrLen = input.int(14, "ATR Length", minval=1)
dispMult = input.float(1.2, "Displacement ATR Mult", minval=0.5, step=0.1)
closeTopPct = input.float(0.25, "Close within top %", minval=0.05, maxval=0.5, step=0.05)
sweepLookbackBars = input.int(60, "Sweep lookback (bars)", minval=10, maxval=500)
sweepValidBars = input.int(30, "Sweep active for N bars", minval=5, maxval=200)
cooldownBars = input.int(30, "Signal cooldown (bars)", minval=0, maxval=300)
extendBars = input.int(200, "Extend zones (bars)", minval=20)
showOB = input.bool(true, "Show Pullback OB zone")
showFib = input.bool(true, "Show 50-61.8% zone")
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// HTF trend filter
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
htfClose = request.security(syminfo.tickerid, htfTf, close)
htfEmaFast = request.security(syminfo.tickerid, htfTf, ta.ema(close, emaFastLen))
htfEmaSlow = request.security(syminfo.tickerid, htfTf, ta.ema(close, emaSlowLen))
htfBull = (htfEmaFast > htfEmaSlow) and (htfClose >= htfEmaFast)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// LTF structure pivots
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
atr = ta.atr(atrLen)
ph = ta.pivothigh(high, pivotLeft, pivotRight)
pl = ta.pivotlow(low, pivotLeft, pivotRight)
var float lastSwingHigh = na
var float lastSwingLow = na
if not na(ph)
lastSwingHigh := ph
if not na(pl)
lastSwingLow := pl
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Sweep filter (simple + robust)
// “sweep” = breaks below lowest low of last N bars and reclaims (close back above that level)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
sweepLevel = ta.lowest(low, sweepLookbackBars)
sweepNow = (low < sweepLevel) and (close > sweepLevel)
var int sweepUntil = na
if sweepNow
sweepUntil := bar_index + sweepValidBars
sweepActive = not na(sweepUntil) and (bar_index <= sweepUntil)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Displacement filter
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
cRange = high - low
closeTopOk = close >= (high - cRange * closeTopPct)
dispOk = (cRange >= atr * dispMult) and closeTopOk and (close > open)
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// MSS bullish (filtered)
// base MSS: close crosses above last swing high
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
baseMssBull = (not na(lastSwingHigh)) and ta.crossover(close, lastSwingHigh)
var int lastSignalBar = na
cooldownOk = na(lastSignalBar) ? true : (bar_index - lastSignalBar >= cooldownBars)
mssBull = baseMssBull and htfBull and sweepActive and dispOk and cooldownOk
if mssBull
lastSignalBar := bar_index
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Find last bearish candle before MSS for OB zone
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
f_lastBearish(_lookback) =>
float obH = na
float obL = na
int found = 0
for i = 1 to _lookback
if found == 0 and close < open
obH := high
obL := low
found := 1
= f_lastBearish(30)
// Impulse anchors for fib zone (use lastSwingLow to current high on MSS bar)
impLow = lastSwingLow
impHigh = high
fib50 = (not na(impLow)) ? (impLow + (impHigh - impLow) * 0.50) : na
fib618 = (not na(impLow)) ? (impLow + (impHigh - impLow) * 0.618) : na
fibTop = (not na(fib50) and not na(fib618)) ? math.max(fib50, fib618) : na
fibBot = (not na(fib50) and not na(fib618)) ? math.min(fib50, fib618) : na
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Boxes (delete previous, draw new) — SINGLE LINE calls only
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
var box obBox = na
var box fibBox = na
if mssBull
if showOB and not na(obHigh) and not na(obLow)
if not na(obBox)
box.delete(obBox)
obBox := box.new(left=bar_index, top=obHigh, right=bar_index + extendBars, bottom=obLow, bgcolor=color.new(color.gray, 82), border_color=color.new(color.gray, 30))
if showFib and not na(fibTop) and not na(fibBot)
if not na(fibBox)
box.delete(fibBox)
fibBox := box.new(left=bar_index, top=fibTop, right=bar_index + extendBars, bottom=fibBot, bgcolor=color.new(color.teal, 85), border_color=color.new(color.teal, 35))
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
// Visuals
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
plotshape(mssBull, title="MSS Bull (Filtered)", style=shape.labelup, text="MSS✔", size=size.tiny, color=color.new(color.green, 0), textcolor=color.white, location=location.belowbar)
plot(htfEmaFast, title="HTF EMA Fast", color=color.new(color.orange, 80))
plot(htfEmaSlow, title="HTF EMA Slow", color=color.new(color.purple, 80))
อินดิเคเตอร์ Pine Script®
stelaraX - Auto FibonaccistelaraX – Auto Fibonacci
stelaraX – Auto Fibonacci is an automatic Fibonacci plotting indicator that detects recent pivot highs and pivot lows and draws Fibonacci retracement and extension levels across the latest swing range. The script updates dynamically whenever a new pivot is confirmed, providing an always-current Fibonacci map without manual drawing.
For advanced AI-based chart analysis and automated Fibonacci interpretation, visit stelarax.com
Core logic
The indicator detects swing pivots using a user-defined pivot lookback:
* pivot highs are detected using pivot high confirmation
* pivot lows are detected using pivot low confirmation
When a new pivot is confirmed and both a recent high and low are available, the script:
* defines the swing range between the latest pivot high and pivot low
* draws Fibonacci levels across that range
* extends the levels forward by a configurable number of bars
The plotted level set includes retracements and extensions:
* -0.618 and -0.272
* 0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
* 1.272 and 1.618
Extensions can be enabled or disabled via a dedicated setting.
Visualization
Fibonacci levels are plotted as horizontal lines and labeled with:
* the Fibonacci ratio
* the corresponding price value
Colors are assigned based on level type:
* 0 and 1 levels use a dedicated highlight color
* 0.5 uses a key level color
* standard retracement levels use a base fib color
* extension levels use a separate extension color
When a new pivot forms, the indicator clears the previous Fibonacci drawings and redraws the full set to keep the chart clean and current.
Use case
This indicator is intended for:
* automatic Fibonacci retracement mapping on the latest swing
* identifying potential reaction levels for pullbacks and continuations
* projecting extension targets beyond the current range
* level-based confluence with structure, liquidity, and zones
* multi-timeframe Fibonacci alignment
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
อินดิเคเตอร์ Pine Script®
RSI(5) on RSI(14)RSI(5) on RSI(14)
This indicator is displayed in a separate pane and works on all timeframes.
It combines a classic RSI with a secondary RSI calculated on the RSI values themselves, allowing deeper analysis of momentum and internal strength.
Indicator Logic
The indicator consists of two components:
RSI (period 14) calculated from price data (default: Close).
RSI (period 5) calculated on the values of RSI(14), equivalent to Previous Indicator’s Data in MetaTrader.
This structure helps to:
identify overbought and oversold zones using the primary RSI,
observe acceleration, deceleration, and momentum shifts inside the RSI itself using the secondary RSI.
Visualization
RSI(14) is plotted as a configurable colored line.
RSI(5) on RSI(14) is plotted as a thin black line on top of the main RSI.
The indicator scale is fixed between 0 and 100.
Levels
20 and 80 — configurable oversold and overbought levels:
adjustable values,
customizable color,
line width,
line style (solid, dashed, dotted).
50 level:
black,
thin,
dashed,
acts as a mid-level equilibrium reference.
Inputs
Users can adjust:
RSI(14) period,
RSI(5) period,
price source for RSI(14),
colors and line widths,
level values and styles for 20 / 80.
Use Cases
This indicator can be used for:
momentum and strength analysis,
detecting internal RSI momentum shifts,
trend confirmation and filtering,
standalone oscillator analysis or as part of a larger trading system.
อินดิเคเตอร์ Pine Script®
stelaraX - Supply & Demand ZonesstelaraX – Supply & Demand Zones
stelaraX – Supply & Demand Zones is a price action indicator designed to automatically draw supply and demand zones based on pivot structure and candle confirmation. The script highlights potential institutional reaction areas and extends zones forward for easy planning and level-based analysis.
For advanced AI-based chart analysis and automated zone interpretation, visit stelarax.com
Core logic
The indicator detects zones using pivot logic with a user-defined lookback period.
Supply zones are created when:
* a pivot high is confirmed
* the candle at the pivot reference point is bearish (close below open)
Demand zones are created when:
* a pivot low is confirmed
* the candle at the pivot reference point is bullish (close above open)
Zone boundaries are defined using the pivot candle range:
* supply zone uses the pivot high as the top and the candle body high as the bottom
* demand zone uses the pivot low as the bottom and the candle body low as the top
Visualization
The script draws zones directly on the chart using extended boxes:
* supply zones are displayed in red tones
* demand zones are displayed in green tones
Each zone is extended forward by a configurable number of bars to keep the level visible for future price interaction. Zone colors and border styles are fully customizable.
The indicator maintains a clean chart by limiting the total number of active zones for both supply and demand.
Use case
This indicator is intended for:
* identifying key supply and demand reaction zones
* level-based trading and confluence analysis
* planning entries and exits around structural areas
* mapping potential reversal and continuation locations
* multi-timeframe zone tracking
For a fully automated AI-driven chart analysis solution, additional tools and insights are available at stelarax.com
Disclaimer
This indicator is provided for educational and technical analysis purposes only and does not constitute financial advice or trading recommendations. All trading decisions and risk management remain the responsibility of the user.
อินดิเคเตอร์ Pine Script®
Multi-Period Key Levels & SeparatorsPeriod Levels & Separators – D/W/M/Q/Y
Comprehensive higher timeframe levels indicator displaying key price levels and period separators for Daily, Weekly, Monthly, Quarterly, and Yearly timeframes.
Features:
• Current & previous period Open lines
• Previous period High / Low (PDH/PDL, PWH/PWL, PMH/PML, etc.)
• Previous period midpoint (½ level) — shown on lower timeframes
• Weekly & Monthly Highest/Lowest Close of period (HCOW, LCOW, HCOM, LCOM)
• First Trading Day of the Month High/Low with optional background fill
• Smart label merging — automatically combines labels when levels are very close (configurable tolerance)
• Customizable period separators (daily, weekly, monthly, quarterly, yearly)
• Day of week labels (Mon–Sat) on lower timeframes
• Multiple visibility controls — hide levels/separators on higher timeframes
• Unlimited or limited history mode
• Optional alerts on break of previous period high/low
Ideal for:
• Anyone using higher timeframe structure & key levels in their analysis
Settings include:
- Master toggles for each timeframe
- Individual colors, styles & widths
- Label size & text color
- Merge tolerance for overlapping levels
- Timezone selection
- Hide rules for cleaner charts on higher TFs
Enjoy cleaner, more structured charts with all major period levels in one place.
Feedback & suggestions always welcome.
อินดิเคเตอร์ Pine Script®
อินดิเคเตอร์ Pine Script®
[src] [uxo, @envyisntfake] accurate strike -> futures conversioni accidetnally clicked protected script and not open source the script lolololol
no trader should ever fear a tool that they rely on to be hidden unless its a niche concept
check out @envyisntfake discord / github, i used his convertor as a base, i only improved the porting to make this live, and added smoothing to make the conversions better rather than manually inputting it into his calculator
อินดิเคเตอร์ Pine Script®
อินดิเคเตอร์ Pine Script®
อินดิเคเตอร์ Pine Script®
Larry Williams Short-Term Swing (LWS)automated swing trading using larry williams
it identifies swing highs and swing lows while excluding volatility moves like outside or inside bars.
Can be used effectively by combining the indicator on 2 time frames and taking entry on smaller time frame when the signals allign
อินดิเคเตอร์ Pine Script®
อินดิเคเตอร์ Pine Script®
Bullish & Bearish Kickerettings You Can Adjust
Require Minimum Kick Amount - Ensures the gap is significant enough (default 1%)
Only Show Open Equals Low/High kickers - Stricter filter:
Bullish: current candle's low equals its open (strong buying)
Bearish: current candle's high equals its open (strong selling)
Arrow Colors - Customize bullish (blue) and bearish (red) colors
Trading Interpretation
Bullish Kicker: Strong buying pressure, potential entry for long positions
Bearish Kicker: Strong selling pressure, potential entry for short positions or exit longs
อินดิเคเตอร์ Pine Script®
Trend Strength + SSL Channel TableHOW TO READ THIS (POWERFUL COMBO)
Trend Strength = timing
SSL Channel = directional bias
Best trade conditions:
Bullish Trend + Strong/Medium + SSL Bullish
Bearish Trend + Strong/Medium + SSL Bearish
Avoid:
Exhaustion + SSL disagreement → chop / fakeouts
This table is now a high-quality trade filter, not just information.
อินดิเคเตอร์ Pine Script®
Trend Strength + SSL Channel TableThis strategy is a time-in-trend awareness and exhaustion framework rather than a directional signal by itself. It uses a Hull Moving Average–based trend definition to continuously identify whether the market is in a bullish or bearish phase, then measures how long that trend typically lasts by averaging the durations of recent historical trends in the same direction. As a new trend unfolds, the system tracks how many bars have already closed and compares that progress against the trend’s historical “probable length.” The result is a live, adaptive estimate of where the current move sits within its natural life cycle, independent of price targets or indicators like RSI or MACD.
อินดิเคเตอร์ Pine Script®
Onsa PulseSimilar metric in usage to say something like RSI. More testing is needed for
thresholds, but when we see a very high or very low pulse, it is indication that
at least a temporary reversal may be underway. PULSE is a the second
derivative to price. When we hit major extremes, this suggests price
reversion. Major extremes circled on chart.
The green circles show a high Pulse and therefore market temporary tops.
The red circles show a low Pulse and therefore market temporarily bottoms.
อินดิเคเตอร์ Pine Script®
Onsa TrendsTrend Algorithm is best utilized on longer timeframes in my short
experience utilizing them. Trendlines often suggest there is more
of a move left in said directions. There is limited testing on this,
and results will be varied. Red indicates for more weakness and
further downside. Green for more upside.
Bottom right on the TREND algorithm has Breadth (similar to
Breadth.app website) and TRIN labeled. Breadth and Trend guides
can be found inside ONSA Discord. myonsa.com
อินดิเคเตอร์ Pine Script®
Onsa LevelsLevels shows levels based on a few metrics and should be relatively simple to follow as
Supply and Demand Zones. You can turn lines on and off by utilizing the settings button.
myonsa.com to subscribe and find a fun group to trade with.
อินดิเคเตอร์ Pine Script®
Onsa GammaTo be used with other protocols to showcase gamma lines on tradingview. This will not work for forever, but it is sufficient for the time being.
อินดิเคเตอร์ Pine Script®
Onsa ScalpScalp Algorithm. Works on 1 minute chart. Should be used in conjunction with
gamma. and traded in areas where there is high (positive) or low (negative) gamma.
Note: From limited testing and feedback from over 2 dozen testers... Long signals
seem overall better than the Short.
Can subscribe to myonsa.com for gamma data.
อินดิเคเตอร์ Pine Script®
Onsa SwingSwing System
Swing Algorithm is designed to work for longer timeframes. Is also best used with
gamma levels, which can be found on Myonsa.com
อินดิเคเตอร์ Pine Script®
3-Candle Rejection Setup DetectorHere's a comprehensive description for the 3-Candle Rejection + EMA Strategy:
3-Candle Rejection + EMA Strategy - Complete Description
Overview:
A powerful intraday trading strategy that combines price action rejection patterns with moving average trend confirmation. This strategy identifies exhaustion points in the market where momentum players get trapped, then confirms entries using EMA 9/20 crossovers for optimal timing.
Strategy Components:
1. 3-Candle Rejection Pattern
The core setup identifies classic "trap" formations where price extends too far and gets rejected:
Bearish Rejection (SHORT Setup):
Candle 1: Establishes a range (base candle)
Candle 2: Breaks ABOVE Candle 1, creating bullish momentum (minimum 40% engulfing)
Candle 3: Pushes even HIGHER but fails to hold - creates large upper wick (minimum 20% rejection) and closes back down below Candle 2's close
Bullish Rejection (LONG Setup):
Candle 1: Establishes a range (base candle)
Candle 2: Breaks BELOW Candle 1, creating bearish momentum (minimum 40% engulfing)
Candle 3: Pushes even LOWER but fails to hold - creates large lower wick (minimum 20% rejection) and closes back up above Candle 2's close
2. EMA Trend Confirmation
EMA 9 (Fast - Blue line): Responds quickly to price changes
EMA 20 (Slow - Red line): Provides trend direction
Bullish Confirmation: EMA 9 above or crossing above EMA 20
Bearish Confirmation: EMA 9 below or crossing below EMA 20
Entry Logic:
LONG Entries:
Bullish 3-candle rejection pattern completes
EMA 9/20 shows bullish alignment (cross or already trending up)
Within allowed trading session
No existing position
Daily trade limit not exceeded
SHORT Entries:
Bearish 3-candle rejection pattern completes
EMA 9/20 shows bearish alignment (cross or already trending down)
Within allowed trading session
No existing position
Daily trade limit not exceeded
Exit Strategy:
Fixed Targets:
Take Profit: 160 ticks (40 points for NQ) - Default 2:1 Risk/Reward
Stop Loss: 80 ticks (20 points for NQ)
Dynamic EMA Exit (Optional):
Exit LONG positions when EMA 9 crosses below EMA 20 (trend reversal)
Exit SHORT positions when EMA 9 crosses above EMA 20 (trend reversal)
Key Parameters:
Pattern Detection:
Minimum Engulfing: 40% (how much Candle 2 must break through Candle 1)
Minimum Rejection: 20% (size of the rejection wick on Candle 3)
Minimum Expansion: 5 points (how far Candle 3 must extend beyond Candle 2)
Moving Averages:
Fast EMA: 9 periods
Slow EMA: 20 periods
Risk Management:
Default Risk/Reward: 2:1
Position Sizing: Fixed (1 contract default)
Daily Trade Limit: 5 trades maximum
Session Filter:
NY Session: 9:30 AM - 4:00 PM ET (default enabled)
London Session: 3:00 AM - 11:30 AM ET (optional)
Asian Session: 6:00 PM - 3:00 AM ET (optional)
Strategy Philosophy:
This strategy capitalizes on failed breakouts and exhaustion moves. When momentum traders push price too far in one direction (Candle 2 breaking Candle 1, then Candle 3 extending even further), they often get trapped when price reverses. The large rejection wick on Candle 3 shows that buyers/sellers couldn't hold the extreme level.
The EMA confirmation ensures we're trading WITH the emerging trend after the rejection, not against it. This dual-filter approach (rejection pattern + trend alignment) significantly improves win rate by avoiding counter-trend setups.
Best Use Cases:
Ideal For:
NQ/ES Futures - High liquidity, clear rejection patterns
1-5 Minute Charts - Scalping and day trading
Trending Markets - EMA filter keeps you on right side
Session-Based Trading - NY session has best volume/volatility
Market Conditions:
Works best in trending or ranging markets with clear rejections
Less effective in choppy, low-volume conditions
Optimal during high-volume sessions (NY open, London/NY overlap)
Visual Indicators:
On Chart:
Blue line (EMA 9) and Red line (EMA 20)
Green/Red boxes highlighting 3-candle patterns
Entry labels showing "LONG/SHORT" with EMA status
Exit labels for EMA-based exits
Small triangles marking EMA crossovers
Info Table (Top Right):
Current session and trend status
Active position information
EMA values and trend direction
Pattern detection status
Trades today counter
Risk parameters (target/stop)
Performance Optimization:
For Scalping (Quick Trades):
Use EMA exits: ON
Tighter stops: 40-60 ticks
Max trades: 10 per day
For Higher Win Rate:
Min Rejection: 30-40%
Min Engulfing: 60%
Trade NY session only
For Larger Profits:
Disable EMA exits
Larger targets: 3:1 or 4:1 R/R
Let winners run to full target
Risk Disclosure:
This strategy is designed for active intraday trading and requires:
Understanding of futures trading and leverage
Proper risk management (never risk more than 1-2% per trade)
Real-time monitoring or automation
Practice on demo/paper trading first
Past performance does not guarantee future results. Always backtest thoroughly on historical data before live trading.
Recommended Timeframes:
Primary: 1-minute chart (original specification)
Alternative: 3-minute or 5-minute for less noise
EMA Settings: Optimized for 1-5 minute timeframes
Summary:
A professional-grade algorithmic strategy combining price action rejection patterns with moving average trend filters. Designed for traders who want high-probability setups with clear entry/exit rules and built-in risk management. The strategy excels at identifying trapped traders and capitalizing on reversals while maintaining trend alignment for optimal risk/reward.
This description can be used for:
Strategy documentation
Publishing on TradingView
Educational materials
Trading journals
Performance reporting
อินดิเคเตอร์ Pine Script®






















