Pin Bar Highlighter//@version=5
indicator("Pin Bar Highlighter", overlay=true)
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
bullPin = (lowerWick >= body * 2) and (close > open)
bearPin = (upperWick >= body * 2) and (close < open)
bullColor = color.rgb(10, 20, 80)
bearColor = color.rgb(255, 20, 150)
barcolor(bullPin ? bullColor : bearPin ? bearColor : na)
ค้นหาในสคริปต์สำหรับ "黄金近20年走势"
Futures Momentum Scanner – jyoti//@version=5
indicator("Futures Momentum Scanner – Avvu Edition", overlay=false, max_lines_count=500)
//------------------------------
// USER INPUTS
//------------------------------
rsiLen = input.int(14, "RSI Length")
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
stLength = input.int(10, "Supertrend Length")
stMult = input.float(3.0, "Supertrend Multiplier")
//------------------------------
// SUPER TREND
//------------------------------
= ta.supertrend(stMult, stLength)
trendUp = stDirection == 1
//------------------------------
// RSI
//------------------------------
rsi = ta.rsi(close, rsiLen)
rsiBull = rsi > 50 and rsi < 65
//------------------------------
// MACD
//------------------------------
= ta.macd(close, macdFast, macdSlow, macdSignal)
macdBull = macd > signal and macd > 0
//------------------------------
// MOVING AVERAGE TREND
//------------------------------
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
trendStack = ema20 > ema50 and ema50 > ema200
//------------------------------
// BREAKOUT LOGIC
//------------------------------
prevHigh = ta.highest(high, 20)
breakout = close > prevHigh
//------------------------------
// FINAL SCANNER LOGIC
//------------------------------
bullishCandidate = trendUp and rsiBull and macdBull and trendStack and breakout
//------------------------------
// TABLE OUTPUT FOR SCANNER FEEL
//------------------------------
var table t = table.new(position.top_right, 1, 1)
if barstate.islast
msg = bullishCandidate ? "✔ BUY Candidate" : "– Not a Setup"
table.cell(t, 0, 0, msg, bgcolor=bullishCandidate ? color.new(color.green, 0) : color.new(color.red, 70))
//------------------------------
// ALERT
//------------------------------
alertcondition(bullishCandidate, title="Scanner Trigger", message="This stock meets Avvu's futures scanner criteria!")
EMA Stack Background HighlighterThis is a simple script that highlights my backround when my criteria for my context timeframe is met, specifically, price is above the 10 EMA, the 10 is above the 20, and the 20 is above the 50 for green and vice versa for red. I use this in a multi timeframe approach similar to mentfx's EVC criteria
EMA 7/21 + SuperTrend INDICADOR CREADO PARA MI ESTRATEGIA That sounds like a complex and multi-layered trading indicator you've developed! Combining an Exponential Moving Average (EMA) crossover with an Average Directional Index (ADX) filter, a Volume filter, and a Supertrend for overall trend confirmation can certainly help to filter out false signals and potentially increase the reliability of your entry and exit points.Here's a breakdown of the components you're using and why this combination can be powerful:📊 Indicator Components and Their Roles1. 7/21 EMA Crossover (Signal Generator)The $7$-period EMA and $21$-period EMA crossover is a common strategy used to generate initial buy or sell signals.Buy Signal: The short-term EMA (7) crosses above the long-term EMA (21).Sell Signal: The short-term EMA (7) crosses below the long-term EMA (21).2. ADX DI Filter (Momentum and Direction)The Average Directional Index (ADX) and its directional indicators ($+DI$ and $-DI$) are key to confirming the strength and direction of the move.Directional Confirmation: The EMA crossover must be confirmed by the appropriate directional index. For a buy, the $+DI$ should be above the $-DI$. For a sell, the $-DI$ should be above the $+DI$.Trend Strength ( NYSE:ADX $): A rising NYSE:ADX $ (typically above 20 or 25) suggests the current trend has sufficient momentum, making the signal more reliable.3. Volume Filter (Conviction)Adding a Volume filter ensures that the price movement accompanying the EMA crossover is supported by significant trading activity.Confirmation: A strong signal (buy or sell) is often accompanied by above-average volume. This suggests that market participants are actively supporting the move, adding conviction to the trade.4. Supertrend (Overall Trend Confirmation)The Supertrend indicator is based on the Average True Range (ATR) and is excellent for identifying the dominant market trend.Trend Alignment: The EMA crossover signal should align with the Supertrend's current signal. For a buy signal, the price should be above the Supertrend line (green). For a sell signal, the price should be below the Supertrend line (red). This helps ensure you are trading with the prevailing trend.📈 Why This is a Powerful CombinationYour indicator is essentially a multi-stage confirmation system:Speed (7/21 EMA): Generates a fast, responsive signal.Momentum (ADX DI): Confirms the direction and strength of the signal.Conviction (Volume): Validates the signal with market participation.Safety/Trend (Supertrend): Ensures the trade is in the direction of the long-term trend.The Informative Panel is a great feature, as it simplifies the decision-making process by summarizing the findings of all these components—e.g., "BUY: EMA Crossover $\checkmark$, +DI > -DI $\checkmark$, High Volume $\checkmark$, Supertrend Green $\checkmark$."💡 Next Steps for RefinementTo finalize and test this indicator, you may want to consider:Parameter Optimization: The best settings for the ADX level (e.g., 20 vs. 25) and the Supertrend ATR parameters may need to be optimized for the specific asset (e.g., stocks, forex) and timeframe you are using.Exit Strategy: Since this primarily focuses on entries, define clear Stop-Loss (perhaps based on the Supertrend line or a recent swing low/high) and Take-Profit (e.g., a fixed Risk/Reward ratio or previous resistance/support levels) rules.Would you like to explore specific parameters for any of these components or look into ways to backtest your strategy?
RSI + Psy + ADXRSI + Psychological Line + ADX (with RCI-replacement logic)
This custom TradingView indicator combines three major technical analysis tools—RSI, Psychological Line (Psy), and ADX—to help traders identify trend strength, market momentum, and overbought/oversold conditions with improved clarity.
1. Multi-Period RSI
The indicator calculates three RSI values:
Short-term RSI (9)
Mid-term RSI (26)
Long-term RSI (52)
These help users observe short-, mid-, and long-term momentum simultaneously.
Threshold lines are drawn at 70, 50, and 30 for standard RSI overbought/oversold analysis.
2. Psychological Line (Psy) with Dynamic Column Display
The Psy indicator counts how many closes within the selected period (default: 12) were higher than the previous close.
Values above 75 indicate overbought markets.
Values below 25 indicate oversold markets.
When Psy crosses these thresholds, it is displayed as a column chart centered at 50, visually expanding upward (overbought) or downward (oversold).
3. ADX Trend Strength with Color Coding
ADX is calculated from DI+ and DI− values (using true range and directional movement).
The ADX line changes color based on trend strength:
Blue: Weak trend (below 20)
Yellow: Moderate trend (20–30)
Red: Strong trend (above 30)
This helps traders easily recognize when the market transitions from low-volatility to strong-trend conditions.
The Map - RMAConcept This indicator is designed to be the ultimate "Map" for intraday traders. Instead of guessing where support and resistance are, it automatically projects Higher Timeframe (HTF) Market Structure onto your chart and combines it with Institutional Volume Analysis. It answers two critical questions instantly: "Where are we?" (Premium vs. Discount) and "Who is trading?" (Whales vs. Retail).
Key Features
Dynamic Market Structure (The Map):
Automatically fetches the Highest High and Lowest Low from a higher timeframe (Default: 4-Hour) over a user-defined lookback period.
Premium Zone (Red): The upper 50% of the range. Ideally used for looking for Short/Sell setups.
Discount Zone (Green): The lower 50% of the range. Ideally used for looking for Long/Buy setups.
Equilibrium (Gray): The 50% midpoint. A key target for mean reversion strategies.
Whale Volume Detection (The Fuel):
Identifies "Whale Candles" where the current volume significantly exceeds the average (e.g., 2x the 20-period average).
Plots visual Bubbles (Green for Up-close, Red for Down-close) to highlight where big money is entering the market.
Filters out noise by only showing bubbles on candles with significant price movement.
Live Dashboard:
A clean table in the top-right corner displays the current Zone status (Premium vs. Discount) and Volume status in real-time.
How to Use
Trend Following: If price breaks out of the H4 High with a Green Whale Bubble, it indicates strong bullish momentum.
Reversal Trading: If price enters the Red (Premium) Zone and prints a Red Whale Bubble (rejection), it suggests institutional selling pressure at resistance.
Confluence: This tool is best used as a "Context Filter" alongside your favorite entry trigger (like a London Breakout or MACD crossover).
Settings
Structure Timeframe: Choose the HTF for your map (Default: 240/4-Hour).
Lookback: How many bars to scan for Highs/Lows (Default: 20).
Whale Multiplier: How much larger than average volume must be to trigger a bubble (Default: 2.0x).
Visuals: Toggle the Zones map on/off to fix chart scaling if needed.
Disclaimer This indicator is for educational and analytical purposes only. Past performance (structure levels) does not guarantee future price action. Always manage your risk.
Liquidity Structure & Sweeps [Visualized]Liquidity Structure & Sweeps | 流动性结构与猎杀
1. Design Philosophy & Logic
This indicator is designed based on Smart Money Concepts (SMC) and Market Microstructure principles. Unlike traditional indicators that rely on lagging averages or repainting fractals, this script focuses on "Objective Structure" and "Liquidity Grabs".
The core design philosophy rests on three pillars:
Zero Repainting (Real-time Integrity): We utilize a strict "Left-Side Confirmation" algorithm. A structure level is only stored in memory when the candle is fully closed (barstate.isconfirmed). This ensures that the historical signals you see are exactly what happened in real-time.
Institutional Memory (Visualized): Markets "remember" key levels. This script draws dashed lines extending from valid pivot points. These lines represent "resting liquidity" (Stop Orders). They remain on the chart until the price interacts with them.
Sweep vs. Breakout: Not all breaches are equal. We specifically look for "Sweeps" (Liquidity Grabs) — where price pierces a level but closes back inside. This is a classic sign of absorption and potential reversal, distinct from a structural breakout.
2. Key Features
Visualized Order Blocks: Automatically draws potential support (Green Dotted) and resistance (Red Dotted) lines based on fractal points.
Wick Detection: Filters out strong momentum breakouts. Signals are only generated when a specific "Wick Ratio" is met, indicating a rejection.
Clean Charts: Features a "Garbage Collection" mechanism. Once a level is swept, the line is removed, and a signal dot is placed. Old, untouched levels are automatically cycled out to prevent chart clutter.
3. How to Use
The Lines (Context):
Red Dotted Line: Buy-side Liquidity (Resistance). Expect potential shorts or breakouts here.
Green Dotted Line: Sell-side Liquidity (Support). Expect potential longs or breakdowns here.
The Signals (Action):
Red Dot (Bearish Sweep): Price spiked above a Resistance Line but closed below it. This suggests long stops were hunted, and bears are stepping in.
Green Dot (Bullish Sweep): Price spiked below a Support Line but closed above it. This suggests short stops were hunted, and bulls are stepping in.
Configuration:
Structure Length: Adjusts sensitivity. Higher values (e.g., 20-50) find major swing points; lower values (e.g., 5-10) find scalping setups.
Wick Filter %: The minimum size of the wick relative to the breakout. Increase this to filter for only the most dramatic rejections.
4. Developer Notes & Considerations
Why do lines disappear? In this logic, liquidity is treated as "Fuel". Once a level is swept (the stop orders are triggered), the fuel is consumed. Keeping the line would clutter the chart with invalid data.
Why is the dot small? The indicator is designed to be part of a toolchain, not a standalone signal. The minimalist design prevents visual interference with price action or other indicators.
1. 设计思路与核心逻辑
本指标基于 聪明钱概念 (SMC) 与 市场微观结构 原理设计。不同于依赖滞后均线或存在重绘问题的传统分形指标,本脚本专注于捕捉 “客观结构” 与 “流动性猎杀 (Liquidity Grabs)”。
核心设计哲学包含三大支柱:
零重绘 (Zero Repainting): 我们采用了严格的“左侧确认”算法。所有的结构位仅在K线完全收盘 (barstate.isconfirmed) 后才会被记录。这保证了您回测看到的信号与实盘完全一致,杜绝“未来函数”陷阱。
可视化的机构记忆: 市场是有记忆的。本脚本会从有效的波段高低点引出虚线。这些虚线代表了“沉睡的流动性”(止损盘聚集区)。它们会一直延伸,直到价格触碰它们。
区分“猎杀”与“突破”: 并不是所有的破位都是一样的。我们专注于识别“扫损(Sweep)”——即价格刺破了关键位,但收盘价收回了关键位内部。这是典型的吸筹或派发信号,与趋势延续的真突破有本质区别。
2. 主要功能
结构可视化: 自动基于分形点绘制潜在的支撑线(绿色虚线)和阻力线(红色虚线)。
插针检测: 过滤掉强势的实体突破。只有当价格出现明显的“长影线”拒绝行为时,才会触发信号。
图表自清洁: 内置“垃圾回收”机制。一旦某个关键位的流动性被猎杀(触发信号),该线条会被自动删除。过旧且未被触碰的线条也会被自动替换,保持图表整洁。
3. 使用指南
线条 (市场语境):
红色虚线: 买方流动性池(阻力位)。
绿色虚线: 卖方流动性池(支撑位)。
信号点 (交易动作):
红色圆点 (看跌猎杀): 价格刺破了红色阻力线,但收盘价回落到线下方。这暗示多头止损被触发,主力可能正在建立空单。
绿色圆点 (看涨猎杀): 价格刺破了绿色支撑线,但收盘价反弹到线上方。这暗示空头止损被触发,主力可能正在建立多单。
参数设置建议:
Structure Length (结构周期): 调整灵敏度。数值越大(如 20-50)锁定大级别波段;数值越小(如 5-10)适合短线剥头皮。
Wick Filter % (影线过滤): 设置影线占价格波动的最小比例。调大该数值可以只看最剧烈的反转信号。
4. 开发者注记与潜在考量
为什么线条会消失? 在本逻辑中,流动性被视为“燃料”。一旦发生猎杀(止损单成交),该位置的燃料即被消耗。移除线条是为了防止无效数据干扰判断。
为什么圆点设计得很小? 该指标旨在成为您交易工具链的一部分,而非唯一的决策依据。极简设计是为了避免干扰裸K形态或其他指标的观察。
===============================================================
这个脚本(我们称之为 Liq Structure Script)本质上是一个基于价格行为(Price Action)的结构猎杀探测器。
以下是详细的深度对比分析:
1. 如何使用? (实战操作手册)
不要把它当作“红灯停绿灯行”的傻瓜指标。把它当作一个**“战场地图”**。
第一阶段:观察结构 (The Setup)
图表上会自动画出 红色虚线(上方压力)和 绿色虚线(下方支撑)。
解读:告诉自己,“这里埋着很多人的止损单”。不要在这里盲目追涨杀跌。
第二阶段:等待猎杀 (The Trigger)
耐心等待价格冲向这些虚线。
关键动作:价格刺破虚线,然后迅速收回。
信号确认:虚线消失,留下一个 红点(顶部猎杀)或 绿点(底部猎杀)。
第三阶段:进场逻辑 (The Execution)
做空逻辑:出现红点 + K线留长上影线 → 说明多头试图突破失败,被主力“倒了一盆冷水”。此时可尝试做空,止损设在刚刚那个最高点上方一点点。
做多逻辑:出现绿点 + K线留长下影线 → 说明空头试图砸盘失败,被主力接住了。
传统爆量是“燃料”,Liq 脚本是“引爆点”。没有引爆点的爆量可能是空转;没有爆量的引爆点可能是假摔。Liq 脚本是一个免费、轻量级、基于K线逻辑的替代品。它不需要你买昂贵的数据服务,它利用的是“图表形态学”中的流动性共识。
结论:如何定位这个工具?
这个脚本不是“预测未来的水晶球”,而是一个**“高胜率区域提示器”**。
用它来找位置(哪里有陷阱?)。
用成交量来做确认(是不是真的有主力介入?)。
用宏观逻辑来定方向(现在该做多还是做空?)。
它是你交易工具链中负责**“微观入场时机(Timing)”**的那一环。
Pivot Reversal Signals - Multi ConfirmationPivot Reversal Signals - Multi-Confirmation System
Overview
A comprehensive reversal detection indicator designed for daytraders that combines six independent technical signals to identify high-probability pivot points. The indicator uses a scoring system to classify signal strength as Weak, Medium, or Strong based on the number of confirmations present.
How It Works
The indicator monitors six key reversal signals simultaneously:
1. RSI Divergence - Detects when price makes new highs/lows but RSI shows weakening momentum
2. MACD Divergence - Identifies divergence between price action and MACD histogram
3. Key Level Touch - Confirms price is at significant support/resistance (previous day high/low, premarket high/low, VWAP, 50 SMA)
4. Reversal Candlestick Patterns - Recognizes bullish/bearish engulfing, hammers, and shooting stars
5. Moving Average Confluence - Validates bounces/rejections at stacked moving averages (9/20/50)
6. Volume Spike - Confirms increased participation (default: 1.5x average volume)
Signal Strength Classification
• Weak (3/6 confirmations) - Small circles for situational awareness only
• Medium (4/6 confirmations) - Regular triangles, viable entry signals
• Strong (5-6/6 confirmations) - Large triangles with background highlight, highest probability setups
Visual Features
• Entry Signals: Green triangles (up) for long entries, red triangles (down) for short entries
• Exit Warnings: Orange X markers when opposing signals appear
• Signal Labels: Show confirmation score (e.g., "5/6") and strength level
• Key Levels Displayed:
o Previous Day High/Low - Solid green/red lines (uses actual daily data)
o Premarket High/Low - Blue/orange circles (4:00 AM - 9:30 AM EST)
o VWAP - Purple line
o Moving Averages - 9 EMA (blue), 20 EMA (orange), 50 SMA (red)
• Background Tinting: Subtle color on strongest reversal zones
Key Level Detection
The indicator uses request.security() to accurately fetch previous day's high/low from daily timeframe data, ensuring precise level placement. Premarket high/low levels are dynamically tracked during premarket sessions (4:00 AM - 9:30 AM EST) and plotted throughout the trading day, providing critical support/resistance zones that often influence price action during regular hours.
Customizable Parameters
• Signal strength thresholds (adjust required confirmations)
• RSI settings (length, overbought/oversold levels)
• MACD parameters (fast/slow/signal lengths)
• Moving average periods
• Volume spike multiplier
• Toggle individual display elements (levels, MAs, labels)
Best Practices
• Use on 5-minute charts for entries, confirm on 15-minute for direction
• Focus on Medium and Strong signals; Weak signals provide context only
• Strong signals (5-6 confirmations) have the highest win rate
• Pay special attention to reversals at premarket high/low - these levels frequently hold
• Previous day high/low often acts as major support/resistance
• Always use proper risk management and stop losses
• Works best in moderately trending markets
Alert Capabilities
Set custom alerts for:
• Strong long/short signals
• All entry signals (medium + strong)
• Exit warnings for open positions
Ideal For
• Daytraders and scalpers (especially SPY, QQQ, and liquid equities)
• Swing traders seeking precise entries
• Traders who prefer confirmation-based systems
• Anyone looking to reduce false signals with multi-factor validation
• Traders who utilize premarket levels in their strategy
Technical Notes
• Uses Pine Script v6
• Premarket hours: 4:00 AM - 9:30 AM EST
• Previous day levels pulled from daily timeframe for accuracy
• Maximum 500 labels to maintain chart performance
• All key levels update dynamically in real-time
________________________________________
Note: This indicator provides signal analysis only and should be used as part of a complete trading strategy. Past performance does not guarantee future results. Always practice proper risk management.
Micro Pullback Entry SystemMicro Pullback Entry System - Quick Reference
The Pattern
▲ ENTRY (first green to break high)
│
┌──┴───┐
│ 1-3 │ ← PULLBACK (red candles)
│ red │ Stop = Low of this zone
└──────┘
│
┌──┴───┐
│ 3+ │ ← THE MOVE (green candles)
│green │ Strong momentum
└──────┘
Pattern Checklist
Requirement: Why It Matters
3+ green candlesConfirms momentum
1-3 red pullback Brief = momentum intact< 50% retracementShallow = buyers in controlVolume on entryConfirms breakout Above EMA Trend support
Status Flow
Scanning... → 📈 TRENDING → 👀 WATCHING → ⏳ FORMING → 🎯 ENTRY!
StatusMeaningActionScanningLooking for setupWait📈 TRENDINGGreen streak buildingMonitor👀 WATCHINGPullback startedPrepare⏳ FORMINGValid pullback readyGet ready!🎯 ENTRY!Signal triggeredExecute
Entry/Stop/Target
LevelLine ColorHow to SetEntryLime solidClose of signal candleStopRed dashedLow of pullbackTarget 1Aqua dottedEntry + (2 × Risk)Target 2Yellow dottedEntry + (3 × Risk)
Example
Entry: $5.00
Stop: $4.80
Risk: $0.20
Target 1 (2R): $5.00 + $0.40 = $5.40
Target 2 (3R): $5.00 + $0.60 = $5.60
Quality Grades
GradeScoreActionA+5/5 ✓Best setup - full sizeA4/5 ✓Good setup - standard sizeB3/5 ✓Average - reduced sizeC2/5 ✓Weak - skip or tiny size
Scoring Factors
✓ Green streak met minimum
✓ Pullback length valid (1-3)
✓ Retracement shallow (<50%)
✓ Volume confirmed
✓ Above EMA
Trade Execution
Entry
Wait for "⏳ FORMING" status
Watch for green candle forming
Entry triggers when green candle closes above pullback high
Enter at market or small limit above current price
Stop Loss
Set at pullback low (red dashed line)
Non-negotiable - this is your max risk
Trade Management
If no immediate follow-through → exit early
Take 50% off at Target 1 (aqua line)
Move stop to breakeven
Let remainder run to Target 2
Settings Guide
Default (Recommended)
Min Green Candles: 3
Min Pullback: 1
Max Pullback: 3
Max Retracement: 50%
Volume Multiplier: 1.2x
EMA Filter: ON (20)
Conservative (Fewer, Better)
Min Green Candles: 4
Min Pullback: 2
Max Pullback: 3
Max Retracement: 40%
Volume Multiplier: 1.5x
EMA Filter: ON (20)
Aggressive (More Signals)
Min Green Candles: 2
Min Pullback: 1
Max Pullback: 4
Max Retracement: 60%
Volume Multiplier: 1.0x
EMA Filter: OFF
Common Mistakes
❌ Entering before signal
Wait for green triangle
"FORMING" ≠ "ENTRY"
❌ Wide stop
Stop must be at pullback low
If too wide, skip the trade
❌ Ignoring volume
Low volume entries fail more often
Look for ✓ in volume row
❌ Fighting trend
Check EMA status
Should show "Above ✓"
❌ Chasing after entry
If you miss entry by 3+ candles, wait for next setup
Don't chase extended moves
Best Setups
A+ Quality Setup ✓
4-5 green candles (strong move)
2 candle pullback (brief)
25-35% retracement (shallow)
2x+ volume on entry
Well above EMA
Stock already up 5%+ on day
Avoid These ✗
Only 2 green candles
4+ candle pullback (losing momentum)
50%+ retracement (too deep)
Below average volume
Below or at EMA
Against market direction
Timeframe Guide
TFSignalsQualityBest For1mMostLowerScalping5mBalancedGoodDay trading15mFewestHigherSwing entries
Quick Decision Tree
1. Status showing "FORMING"?
NO → Wait
YES → Continue
2. Quality grade A or better?
NO → Skip or small size
YES → Continue
3. Volume confirmed (✓)?
NO → Caution, reduce size
YES → Continue
4. Above EMA (✓)?
NO → Skip
YES → Continue
5. Risk acceptable? (Stop not too wide)
NO → Skip
YES → TAKE THE TRADE
Alert Setup
Essential Alert
"Micro Pullback Entry" - Main signal
How to Set
Right-click chart → Add Alert
Condition: Micro Pullback Entry System
Select "Micro Pullback Entry"
Set notification preferences
Combining with Other Indicators
IndicatorHow to Use5 PillarsFind stocks meeting criteria firstGap & GoLook for micro pullbacks after gap breakoutsR2G TrackerConfirm stock is green before enteringFloat RotationHigh rotation + micro pullback = best setupsBull FlagMicro pullback is a "mini" bull flag
Example Trade
Stock: XYZ
Pre-market: Gapped up 15%
9:35 - 9:38: 4 green candles (move from $4.50 to $5.00)
9:39 - 9:40: 2 red candles (pullback to $4.85)
9:41: Green candle breaks $4.90 (pullback high)
ENTRY: $4.92
STOP: $4.82 (pullback low)
RISK: $0.10
TARGET 1: $5.12 (+$0.20 = 2R)
TARGET 2: $5.22 (+$0.30 = 3R)
Result: Hit Target 2 by 9:55 → +$0.30 per share
Key Takeaways
Micro = 1-3 candles - Brief pullback
Entry = First green to break high - Specific trigger
Stop = Pullback low - Tight risk
Quality matters - Focus on A/A+ setups
Breakout or bailout - Exit if no follow-through
Sniper BB + VWAP System (with SMT Divergence Arrows)STEP 1: Load two correlated futures charts.
Example: CL + RB/SI+GC/ NQ+ES
STEP 2: Add Bollinger Bands (20, 2.0) on both.
Optional add (20, 3.0).
STEP 3: Watch for a BB tag on one chart but not the other.
STEP 4: Wait for a reclaim candle back inside the band.
STEP 5: Enter with stop below/above the wick + 3.0 BB.
STEP 6: Scale out midline, then opposite band.
STEP 7: Hold partials when both pairs confirm trend.
*You can take the vwap bands off the chart if it is too cluttered.
Market Position TableMarket Position Table Indicator
Overview
The Market Position Table is a comprehensive multi-timeframe indicator that provides traders with an instant visual snapshot of market position relative to key technical indicators. This tool displays a clean, color-coded table directly on your chart, showing whether price is above or below critical moving averages, the Ichimoku Cloud, and whether the market is in a TTM Squeeze compression.
Key Features
Visual Status Dashboard
Real-time color coding: Green for bullish positioning (above), Red for bearish positioning (below/compressed)
Clean table display: Organized, easy-to-read format that doesn't clutter your chart
Customizable positioning: Place the table anywhere on your chart for optimal viewing
Technical Indicators Monitored
Four Moving Averages (20, 50, 100, 200 period)
Shows whether price is above or below each MA
Helps identify trend direction and strength
Ichimoku Cloud
Displays whether price is above, below, or inside the cloud
Gray color indicates price is within the cloud (neutral zone)
TTM Squeeze Indicator
Shows when the market is in compression (Squeeze ON = Red)
Alerts when the market is expanding (Squeeze OFF = Green)
Helps identify potential breakout opportunities
Flexible Customization
Moving Average Options:
Choose from 5 MA types: SMA, EMA, WMA, VWMA, HMA
Adjust all four MA periods to your preference
Default settings: 20, 50, 100, 200 periods
Timeframe Control:
Lock to Daily: View daily timeframe signals on any chart timeframe
Custom Timeframe: Select any specific timeframe for calculations
Chart Timeframe: Default behavior matches your current chart
Ichimoku Settings:
Customize Tenkan, Kijun, and Senkou B periods
Default: 9, 26, 52 (traditional settings)
Squeeze Settings:
Adjust Bollinger Band length and multiplier
Customize Keltner Channel length and multiplier
Fine-tune sensitivity to match your trading style
Visual Customization:
Table position: 9 placement options on your chart
Table size: Tiny, Small, Normal, or Large
Optional: Toggle MA plot lines on/off
Table Settings: Position and size
Moving Average Settings: Type and periods
Ichimoku Settings: Period adjustments
Squeeze Settings: BB and KC parameters
Timeframe Settings: Lock to daily or use custom timeframe
Interpretation
Moving Averages:
Green (ABOVE): Price is above the MA - bullish signal
Red (BELOW): Price is below the MA - bearish signal
Multiple green MAs indicate strong uptrend
Multiple red MAs indicate strong downtrend
Ichimoku Cloud:
Green (ABOVE): Price above cloud - bullish trend
Red (BELOW): Price below cloud - bearish trend
Gray (INSIDE): Price in cloud - consolidation/neutral
Squeeze Indicator:
Red (ON): Market is in compression - potential breakout setup
Green (OFF): Market is expanding - trend continuation or reversal in progress
Trading Applications
Trend Confirmation:
Use multiple green MAs + price above Ichimoku cloud to confirm strong uptrends
Use multiple red MAs + price below Ichimoku cloud to confirm strong downtrends
Breakout Trading:
Watch for Squeeze ON (red) as compression builds
When Squeeze turns OFF (green), look for directional breakout
Confirm direction with MA alignment
Multi-Timeframe Analysis:
Lock to daily timeframe while trading intraday charts
Ensure intraday trades align with daily trend direction
Example: Only take long setups on 15-min chart when daily shows green MAs
Support/Resistance:
Major MAs (50, 100, 200) often act as dynamic support/resistance
Watch for price reactions when testing these levels
Best Practices
Combine with Price Action: Use the table as confirmation alongside your chart analysis
Multi-Timeframe Confluence: Check that multiple timeframes align for higher probability setups
Don't Trade on Table Alone: Use this as one tool in your complete trading system
Customize to Your Strategy: Adjust MA types and periods to match your trading style
Monitor All Indicators: Look for alignment across all indicators for strongest signals
Tips for Optimal Use
Day Traders: Enable "Lock to Daily" to stay aligned with the daily trend while trading shorter timeframes
Swing Traders: Use default chart timeframe on daily or weekly charts
Trend Followers: Focus on MA alignment - all green or all red indicates strong trends
Breakout Traders: Watch the Squeeze indicator closely for compression/expansion cycles
Position Traders: Use longer MA periods (e.g., 50, 100, 150, 200) for smoother signals
Stochastic Average (2 TFs)“Stoch (2 TFs)” plots two separate Stochastic oscillators from two different timeframes in a single pane and adds an average line of all four values (%K and %D from each timeframe). It is designed to quickly compare short-term vs higher-timeframe momentum and see whether they are aligned or diverging.
The script is an overlay-off oscillator, so it appears in its own window under the price chart.
How it works
The indicator calculates a classic Stochastic (%K and %D) on two user-selectable timeframes:
tf1 (default 30 minutes)
tf2 (default 60 minutes)
For each timeframe it:
Requests the high, low and close series from that timeframe using request.security.
Computes %K as the smoothed position of the close within the lookback high/low range.
Computes %D as a moving average of %K.
So you get four lines in total:
K1 and D1 from timeframe 1
K2 and D2 from timeframe 2
A small table in the top-right of the pane shows which timeframes are currently selected for TF1 and TF2, so you always know what you are looking at even if you change the chart timeframe.
Inputs
%K Length – lookback period used to find highest high and lowest low.
%K Smoothing – smoothing length for the %K line.
%D Smoothing – smoothing length for the %D line.
30 (tf1) – first Stochastic timeframe (default 30m).
%K Color (1) / %D Color (1) – colors for K1 and D1.
60 (tf2) – second Stochastic timeframe (default 60m).
%K Color (2) / %D Color (2) – colors for K2 and D2.
Average Color – color for the current bar average line.
Average Prev Color – color for the previous-bar average line.
You can put this indicator on any chart timeframe; the internals always use the two selected timeframes via request.security.
Visual elements
The pane shows:
Four Stochastic lines:
K1 and D1 (for tf1), K2 and D2 (for tf2), using the input colors.
Three horizontal reference levels:
80 (upper band), 50 (middle), 20 (lower band).
A light blue background band between 80 and 20 to make the overbought/oversold zone easier to see visually.
A 2-cell table in the top-right with the current values of tf1 and tf2.
These elements make it easy to see when each timeframe is overbought, oversold, or in the middle zone, and whether the two timeframes are synchronized or showing divergence.
Average and previous-average lines
At the bottom of the script there is a simple composite measure:
Sum KD adds K1 + D1 + K2 + D2 and divides by 4.
Prev Sum KD does the same for the previous bar ( ).
Both are plotted as separate lines:
Sum KD – current bar average of all four Stochastic values (main composite).
Prev Sum KD – previous bar average (for comparison).
This makes it easy to see whether overall multi-timeframe Stochastic momentum is increasing or decreasing from bar to bar without having to visually average four separate curves.
How to use
Typical uses:
See short- vs higher-timeframe Stochastic at a glance and trade only when they agree.
Look for divergence between TF1 and TF2 (e.g., lower timeframe overbought while higher timeframe still neutral).
Use the average lines (Sum KD and Prev Sum KD) as a simple “multi-TF momentum gauge” for confirmations or filters.
Abacus Community Williams %R + Bollinger %B📌 Indicator Description (Professional & Clear)
Williams %R + Bollinger %B Momentum Indicator (ThinkOrSwim Style)
This custom indicator combines Williams %R and Bollinger %B into a single, unified panel to provide a powerful momentum-and-positioning view of price action. Modeled after the ThinkOrSwim version used by professional traders, it displays:
✅ Williams %R (10-period) – Yellow Line
This oscillator measures the market's position relative to recent highs and lows.
It plots on a 0% to 100% scale, where:
80–100% → Overbought region
20–0% → Oversold region
50% → Momentum equilibrium
Williams %R helps identify exhaustion, trend strength, and potential reversal zones.
✅ Bollinger %B (20, 2.0) – Turquoise Histogram Bars
%B shows where price is trading relative to the Bollinger Bands:
Above 50% → Price is in the upper half of the band (bullish pressure)
Below 50% → Price is in the lower half (bearish pressure)
Near 100% → Price pushing upper band (possible breakout)
Near 0% → Price testing lower band (possible breakdown)
The histogram visually represents momentum shifts in real time, creating a clean profile of volatility and strength.
🎯 Why This Combination Works
Together, Williams %R and Bollinger %B reveal:
Momentum direction
Overbought/oversold conditions
Volatility compression & expansion
Trend continuation vs reversal zones
High-probability inflection points
Williams %R shows oscillation and exhaustion, while %B shows pressure inside volatility bands.
The combination helps identify whether momentum supports the current trend or is weakening.
🔍 Use Cases
Detect early trend reversals
Validate breakouts and breakdowns
Spot momentum failure in price extremes
Confirm pullbacks and continuation setups
Time entries and exits with higher precision
💡 Best For
Swing traders
Momentum traders
Trend-followers
Options traders (for timing premium decay or volatility expansion)
FTAP PRO TREND This indicator plots the 20 and 200 exponential moving averages, colors the 20-period average, and plots the entry signal from the start bar (power bar).
EMA Trend Pro [Hedging & Fixed Risk]
This strategy is a comprehensive trend-following system designed to capture significant market movements while strictly managing risk. It combines multiple Exponential Moving Averages (EMAs) for trend identification, ADX for trend strength filtering, and Volume confirmation to reduce false signals.
Key Features:
Hedging Mode Compatible: The script is designed to handle Long and Short positions independently. This is ideal for markets where trends can reverse quickly or for traders who prefer hedging logic (requires hedging=true in strategy settings).
Professional Risk Management: Unlike standard strategies that use fixed contract sizes, this script calculates Position Size based on Risk. You can define a fixed risk per trade (e.g., 1% of equity or $100 fixed risk). The script automatically adjusts the lot size based on the Stop Loss distance (ATR).
Multi-Stage Take Profit: The strategy scales out positions at 3 different levels (TP1, TP2, TP3) to lock in profits while letting the remaining position ride the trend.
Strategy Logic:
Trend Identification:
Long Entry: EMA 7 > EMA 14 > EMA 21 > EMA 144 (Bullish Alignment).
Short Entry: EMA 7 < EMA 14 < EMA 21 < EMA 144 (Bearish Alignment).
Filters:
ADX Filter: Entries are only taken if ADX (14) > Threshold (default 20) to ensure the market is trending, avoiding chopping ranging markets.
Volume Filter: Current volume must exceed the 20-period SMA volume by 10% to confirm momentum.
Exits & Trade Management:
Stop Loss: Dynamic SL based on ATR (e.g., 1.8x ATR).
Breakeven: Once TP1 is hit, the Stop Loss is automatically moved to Breakeven to protect capital.
Take Profits:
TP1: 1x Risk Distance (30% pos)
TP2: 2x Risk Distance (50% pos)
TP3: 3x Risk Distance (Remaining pos)
Settings Guide:
Risk Type: Choose between "Percent" (of equity) or "Fixed Amount" (USD).
Risk Value: Input your desired risk (e.g., 1.0 for 1% risk).
Fee %: Set your exchange's Taker fee (e.g., 0.05 or 0.06) for accurate backtesting.
ADX Threshold: Adjust to filter out noise (Higher = Stricter trend requirement).
Disclaimer: This script is for educational and backtesting purposes only. Past performance does not guarantee future results. Please use proper risk management.
PivotBoss VWAP Bands (Auto TF) - FixedWhat this indicator shows (high level)
The indicator plots a VWAP line and three bands above (R1, R2, R3) and three bands below (S1, S2, S3).
Band spacing is computed from STD(abs(VWAP − price), N) and multiplied by 1, 2 and 3 to form R1–R3 / S1–S3. The script is timeframe-aware: on 30m/1H charts it uses Weekly VWAP and weekly bands; on Daily charts it uses Monthly VWAP and monthly bands; otherwise it uses the session/chart VWAP.
VWAP = the market’s volume-weighted average price (a measure of fair value). Bands = volatility-scaled zones around that fair value.
Trading idea — concept summary
VWAP = fair value. Price above VWAP implies bullish bias; below VWAP implies bearish bias.
Bands = graded overbought/oversold zones. R1/S1 are near-term limits, R2/S2 are stronger, R3/S3 are extreme.
Use trend alignment + price action + volume to choose higher-probability trades. VWAP bands give location and magnitude; confirmations reduce false signals.
Entry rules (multiple strategies with examples)
A. Momentum breakout (trend-following) — preferred on trending markets
Setup: Price consolidates near or below R1 and then closes above R1 with above-average volume. Chart: 30m/1H (Weekly VWAP) or Daily (Monthly VWAP) depending on your timeframe.
Entry: Enter long at the close of the breakout bar that closes above R1.
Stop-loss: Place initial stop below the higher of (VWAP or recent swing low). Example: if price broke R1 at ₹1,200 and VWAP = ₹1,150, set stop at ₹1,145 (5 rupee buffer below VWAP) or below the last swing low if that is wider.
Target: Partial target at R2, full target at R3. Trail stop to VWAP or to R1 after price reaches R2.
Example numeric: Weekly VWAP = ₹1,150, R1 = ₹1,200, R2 = ₹1,260. Buy at ₹1,205 (close above R1), stop ₹1,145, target1 ₹1,260 (R2), target2 ₹1,320 (R3).
B. Mean-reversion fade near bands — for range-bound markets
Setup: Market is not trending (VWAP flatish). Price rallies up to R2 or R3 and shows rejection (pin bar, bearish engulfing) on increasing or neutral volume.
Entry: Enter short after a confirmed rejection candle that fails to sustain above R2 or R3 (prefer confirmation: close back below R1 or below the rejection candle low).
Stop-loss: Just above the recent high (e.g., 1–2 ATR or a fixed buffer above R2/R3).
Target: First target VWAP, second target S1. Reduce size if taking R3 fade as it’s an extreme.
Example numeric: VWAP = ₹950, R2 = ₹1,020. Price spikes to ₹1,025 and forms a bearish engulfing candle. Enter short at ₹1,015 after the next close below ₹1,020. Stop at ₹1,035, target VWAP ₹950.
C. Pullback entries in trending markets — higher probability
Setup: Price is above VWAP and trending higher (higher highs and higher lows). Price pulls back toward VWAP or S1 with decreasing downside volume and a reversal candle forms.
Entry: Long when price forms a bullish reversal (hammer/inside-bar) with a close back above the pullback candle.
Stop-loss: Below the pullback low (or below S2 if a larger stop is justified).
Target: VWAP then R1; if momentum resumes, trail toward R2/R3.
Example numeric: Price trending above Weekly VWAP at ₹1,400; pullback to S1 at ₹1,360. Enter long at ₹1,370 when a bullish candle closes; stop at ₹1,350; first target VWAP ₹1,400, second target R1 ₹1,450.
Exit rules and money management
Basic exit hierarchy
Hard stop exit — when price hits initial stop-loss. Always use.
Target exit — take partial profits at R1/R2 (for longs) or S1/S2 (for shorts). Use trailing stops for the remainder.
VWAP invalidation — if you entered long above VWAP and price returns and closes significantly below VWAP, consider exiting (condition depends on timeframe and trade size).
Price action exit — reversal patterns (strong opposite candle, bearish/bullish engulfing) near targets or beyond signals to exit.
Trailing rules
After price reaches R2, move stop to breakeven + a small buffer or to VWAP.
After price reaches R3, trail by 1 ATR or lock a defined profit percentage.
Position sizing & risk
Risk per trade: commonly 0.5–2% of account equity.
Determine position size by RiskAmount ÷ (EntryPrice − StopPrice).
If the stop distance is large (e.g., trading R3 fades), reduce position size.
Filters & confirmation (to reduce false signals)
Volume filter: For breakouts, require volume above short-term average (e.g., >20-period average). Breakouts on low volume are suspect.
Trend filter: Only take breakouts in the direction of the higher-timeframe trend (for example, use Daily/Weekly trend when trading 30m/1H).
Candle confirmation: Prefer entries on close of the confirming candle (not intrabar noise).
Multiple confirmations: When R1 break happens but RSI/plotted momentum indicator does not confirm, treat signal as lower probability.
Special considerations for timeframe-aware logic
On 30m/1H the script uses Weekly VWAP/bands. That means band levels change only on weekly candles — they are strong, structural levels. Treat R1/R2/R3 as significant and expect fewer, stronger signals.
On Daily, the script uses Monthly VWAP/bands. These are wider; trades should allow larger stops and smaller position sizes (or be used for swing trades).
On other intraday charts you get session VWAP (useful for intraday scalps).
Example: If you trade 1H and the Weekly R1 is at ₹2,400 while session VWAP is ₹2,350, a close above Weekly R1 represents a weekly-level breakout — prefer that for swing entries rather than scalps.
Example trade walkthrough (step-by-step)
Context: 1H chart, auto-mapped → Weekly VWAP used.
Weekly VWAP = ₹3,000; R1 = ₹3,080; R2 = ₹3,150.
Price consolidates below R1. A large bullish candle closes at ₹3,085 with volume 40% above the 20-bar average.
Entry: Buy at close ₹3,085.
Stop: Place stop at ₹2,995 (just under Weekly VWAP). Risk = ₹90.
Position size: If risking ₹900 per trade → size = 900 ÷ 90 = 10 units.
Targets: Partial take-profit at R2 = ₹3,150; rest trailed with stop moved to breakeven after R2 is hit.
If price reverses and closes below VWAP within two bars, exit immediately to limit drawdown.
When to avoid trading these signals
High-impact news (earnings, macro announcements) that can gap through bands unpredictably.
Thin markets with low volume — VWAP loses significance when volumes are extremely low.
When weekly/monthly bands are flat but intraday price is volatile without clear structure — prefer session VWAP on smaller timeframes.
Alerts & automation suggestions
Alert on close above R1 / below S1 (use the built-in alertcondition the script adds). For higher-confidence alerts, require volume filter in the alert condition.
Automated order rules (if you automate): use limit entry at breakout close plus a small slippage buffer, immediate stop order, and OCO for TP and SL.















