Liquidity Retest Strategy (Apicode) - TP/SL Lines FixedTechnical Documentation:
1. Purpose and underlying concept
This strategy targets a common behavior in liquid markets: liquidity sweeps around meaningful support/resistance levels, followed by a retest and rejection (reversal) with confirmation.
The core thesis is that many initial “breaks” are not continuation moves, but rather stop-runs and order harvesting. After the sweep, price reclaims the level and closes back on the opposite side, offering a structured entry with defined risk.
The strategy includes:
Support/Resistance detection via pivots
Dynamic selection of the “working” level using an ATR-based proximity window
Rejection validation via candle structure (wick + close)
Optional filters: volume, VWAP-like bias, and EMA trend
Risk management with static TP/SL (ATR-based or %), plus trailing stop (ATR-based or %), with per-trade lines plotted
2. Main components
2.1. Volatility metric: ATR
atr = ta.atr(atrLength) is used in two essential places:
Level selection (proximity to S/R): prevents trading levels that are too far from current price.
Sweep validation (minimum wick size): requires the wick to extend beyond the level by a volatility-relative amount.
Optionally, ATR can also be used for:
Static TP/SL (when usePercent = false)
Trailing stop (when useTrailPercent = false)
2.2. Building S/R levels with pivots
Pivots are detected using:
pivotHigh = ta.pivothigh(pivotLookback, rightBars)
pivotLow = ta.pivotlow(pivotLookback, rightBars)
Each confirmed pivot is stored in arrays:
resistanceLevels for resistance
supportLevels for support
The array size is capped by maxLevels, which reduces noise and manages chart resource usage (lines).
2.3. Selecting the “best” level each bar
On each bar, a single support S and/or resistance R candidate is chosen:
Support: nearest level below price (L < price)
Resistance: nearest level above price (L > price)
Only levels within atr * maxDistATR are considered
This produces dynamic “working levels” that adapt to price location and volatility.
2.4. Rejection pattern (retest + sweep)
After selecting the working level:
Support rejection (long setup)
Conditions:
Low touches/crosses support: low <= S
Close reclaims above: close > S
Bullish candle: close > open
Sufficient wick below the level (liquidity sweep): (S - low) >= atr * minWickATR
This aims to capture a stop sweep below support followed by immediate recovery.
Resistance rejection (short setup)
Symmetric conditions:
High touches/crosses resistance: high >= R
Close rejects back below: close < R
Bearish candle: close < open
Sufficient wick above the level: (high - R) >= atr * minWickATR
2.5. Optional filters
Final signals are the rejection pattern AND enabled filters:
1.- Volume filter
High volume is defined as: volume > SMA(volume, 20) * volMult
When useVolFilter = true, setups require relatively elevated participation
2.- VWAP-like bias filter
A VWAP-like series is computed over vwapLength (typical price weighted by volume)
When useVWAPFilter = true:
- Longs only if close > vwap
- Shorts only if close < vwap
3.- EMA trend filter
Uptrend if EMA(fast) > EMA(slow)
When useTrendFilter = true:
- Longs only in uptrend
- Shorts only in downtrend
2.6. Backtest time window (time filter)
To keep testing focused and reduce long-history noise:
useMaxLookbackDays enables the filter
maxLookbackDays defines how many days back from timenow entries are allowed
Entries are permitted only when time >= startTime.
3. Entry rules and position control
3.1. Entries
strategy.entry('Long', strategy.long) when longSetup and no long position is open
strategy.entry('Short', strategy.short) when shortSetup and no short position is open
No pyramiding is allowed (pyramiding = 0). Position gating is handled by:
Long allowed if strategy.position_size <= 0
Short allowed if strategy.position_size >= 0
4. Risk management: TP/SL and trailing (with plotted lines)
4.1. Detecting entry/exit events
Events are identified via changes in strategy.position_size:
LongEntry: transition into a long
shortEntry: transition into a short
flatExit: transition back to flat
This drives per-trade line creation, updates, and cleanup of state variables.
4.2. Static TP/SL
On entry, entryPrice := strategy.position_avg_price is stored.
Percent mode (usePercent = true)
Long:
staticSL = entryPrice*(1 - slPerc/100)
staticTP = entryPrice*(1 + tpPerc/100)
Short:
staticSL = entryPrice*(1 + slPerc/100)
staticTP = entryPrice*(1 - tpPerc/100)
ATR mode (usePercent = false)
Long:
staticSL = entryPrice - atrAtEntry*slATR
staticTP = entryPrice + atrAtEntry*tpATR
Short:
staticSL = entryPrice + atrAtEntry*slATR
staticTP = entryPrice - atrAtEntry*tpATR
4.3. Trailing stop (custom)
While a position is open, the script tracks the most favorable excursion:
Long: hhSinceEntry = highest high since entry
Short: llSinceEntry = lowest low since entry
A trailing candidate is computed:
Percent trailing (useTrailPercent = true)
Long: trailCandidate = hhSinceEntry*(1 - trailPerc/100)
Short: trailCandidate = llSinceEntry*(1 + trailPerc/100)
ATR trailing (useTrailPercent = false)
Long: trailCandidate = hhSinceEntry - atr*trailATR
Short: trailCandidate = llSinceEntry + atr*trailATR
Then the effective stop is selected:
Long: slUsed = max(staticSL, trailCandidate) when useTrail is enabled
Short: slUsed = min(staticSL, trailCandidate) when useTrail is enabled
If useTrail is disabled, slUsed remains the static stop.
Take profit remains static:
tpUsed = staticTP
Exit orders are issued via:
strategy.exit(..., stop=slUsed, limit=tpUsed)
4.4. Per-trade TP/SL lines
On each entry, two lines are created (SL and TP) via f_createLines().
During the trade, the SL line updates when trailing moves the stop; TP remains fixed.
On exit (flatExit), both lines are finalized on the exit bar and left on the chart as historical references.
This makes it straightforward to visually audit each trade: entry context, intended TP, and trailing evolution until exit.
5. Visualization and debugging
BUY/SELL labels with configurable size (xsize)
Debug mode (showDebug) plots the chosen working support/resistance level each bar
Stored pivot levels are drawn using reusable line slots, projected a fixed 20 bars to the right to keep the chart readable and efficient
6. Parameter guidance and practical notes
pivotLookback / rightBars: controls pivot significance vs responsiveness. Lower rightBars confirms pivots earlier but can increase noise.
maxDistATR: too low may reject valid levels; too high may select distant, less relevant levels.
minWickATR: key quality gate for “real” sweeps. Higher values reduce frequency but often improve signal quality.
Filters:
Volume filter tends to help in ranges and active sessions.
VWAP bias is useful intraday to align trades with session positioning.
EMA trend filter is helpful in directional markets but may remove good mean-reversion setups.
Percent TP/SL: provides consistent behavior across assets with variable volatility, but is less adaptive to sudden regime shifts.
Percent trailing: can capture extensions well; calibrate trailPerc per asset/timeframe (too tight = premature exits).
7. Known limitations
Pivot-derived levels are a heuristic; in strong trends, valid retests may be limited.
The time filter uses timenow; behavior may vary depending on historical context and how the platform evaluates “current time.”
TP/SL and trailing are computed from bar OHLC; in live trading, intrabar sequencing and fills may differ from bar-close simulation.
Forecasting
SMC Ultra-Fast: ALL-IN & Auto-Signal [Fixed]How to Use the SMC Pro Indicator: ALL-IN & Dynamic S/R is designed to help you trade following the "Smart Money" quickly and accurately. The usage steps are as follows:
1. Reading Entry Signals
🔥 ALL-IN BUY/SELL: This is the most accurate signal, generated by a breakout of a key support level (Pivot) combined with unusually high trading volume (1.5 times higher) and confirmation from the EMA trend.
Fast Buy/Sell (Small Triangle): This is a supplementary signal when the EMA Fast line crosses the EMA Slow line. It's suitable for finding opportunities to "Follow the Trend" or add to positions when the trend strengthens.
2. Managing Targets (TP/SL/Entry)
When the ALL-IN signal appears, the system will immediately draw three lines to the right of the graph:
Gray line (ENTRY): The price point where you should open an order.
Blue line (TP): Profit target. Calculated using a Risk:Reward Ratio of 2.0 (adjustable).
Red line (SL): Stop-loss point calculated from the ATR value for safety.
3. Using Support and Resistance Boxes (Dynamic Zones)
Green box (Support): Zone with strong buying pressure. If the price tests this level and doesn't break below, there's a high chance of a rebound.
Red box (Resistance): Zone with accumulated selling pressure. If the price tests this level and fails to break through, there's a chance of a pullback.
Disappearance of boxes: When the price "breaks through" the bar, these boxes automatically disappear to indicate that the zone has been broken, and the system will immediately start looking for a new, stronger zone.
4. Auto-Reset System (Completion of Trade)
When the price hits the TP or SL line, the system will mark an "X" on the screen.
The old target line will be immediately deleted to clear the position, making the chart look clean and ready for a new ALL-IN signal.
💡 Additional Tip:
Candlestick color: Trade Buy when the candlestick is green, and trade Sell when the candlestick is red.
If the candlestick is orange, it means the market is sideways. It is recommended to wait for a clear ALL-IN signal before entering a trade.
Yearly Projection ExplorerThis indicator helps you understand how the current market period has behaved historically by overlaying the same date window from previous years and projecting it forward from today’s price.
The script works the following way:
Aligns past years to today’s calendar date
Normalizes all paths to the last close at the start
Projects historical performance X bars forward
Displays each year as a separate performance path
Calculates and plots the mean (average) projection for quick reference
🔧 How It Works
Number of Years: choose how many past years to include (e.g. last 10, 20, or 25 years)
Projection Length: choose how many bars (days) ahead to project
Each line shows how the market moved during the same period in a specific year
Labels show the year and total return at the projection end
The mean line highlights the average historical outcome
🧠 Why This Is Useful
Identify seasonal tendencies
Compare current price action to historical analogs
Visualize best / worst historical outcomes
Set realistic expectations for short-term moves
Add context to discretionary or systematic decisions
This tool does not predict the future, but it provides a powerful historical framework to assess what has been typical, rare, or extreme for the current market window.
⚠️ Notes
Script works on timenow variable for now, and you might see unexpected periods if today is a day off.
Results depend on the selected timeframe and instrument
Past performance is not a guarantee of future results
Designed for analysis and context, not standalone signals
SMC Ultra-Fast: ALL-IN & Auto-Signal [Fixed]buy sell
📊 SMC Ultra-Fast: ALL-IN & Auto-Signal - Pine Script V5 Code Analysis
This code is a TradingView indicator designed to identify accurate and fast trading signals, specifically "ALL-IN" signals generated by pivot point breakouts combined with unusually high volume. It also automatically sets Take Profit (TP) and Stop Loss (SL) based on a defined Risk:Reward (RR) ratio.
SMC Ultra-Fast: ALL-IN & Auto-Signal [Fixed]Designed to help traders who know absolutely nothing about the market.
And for those whose signals don't disappear, once it goes up, it stays up. 90 percent chance of beating the market.
PA Signal Levels: Final Fix tomgoodcar win v1📚 คำอธิบายวิธีใช้งานและหลักการทำงานของอินดิเคเตอร์ "PA Signal Levels: Final Fix"อินดิเคเตอร์นี้ถูกออกแบบมาเพื่อการเทรดระยะสั้น/กลาง (Swing/Day Trading) โดยใช้กลยุทธ์ที่เน้นการ จับสัญญาณกลับตัว (Reversal) เมื่อราคาวิ่งออกไปถึงขอบเขตที่ไกลเกินไปของช่องทางแนวโน้ม (Channel)1. 🎯 หลักการทำงานของสัญญาณ (Buy/Sell Logic)อินดิเคเตอร์นี้รวมหลักการวิเคราะห์ทางเทคนิค 2 ส่วนเข้าด้วยกันเพื่อสร้างสัญญาณที่แม่นยำ:A. Linear Regression Channel (ช่องทางแนวโน้ม)อินดิเคเตอร์จะสร้างช่องทาง (Band) โดยใช้การถดถอยเชิงเส้น (Linear Regression) เพื่อกำหนดแนวโน้มหลัก และขีดเส้น Upper Band (แนวต้านพลวัต) และ Lower Band (แนวรับพลวัต) โดยมีค่าเบี่ยงเบนมาตรฐาน (StdDev) เป็นตัวกำหนดความกว้างUpper Band: ราคาที่สูงเกินไป (Overbought Zone)Lower Band: ราคาที่ต่ำเกินไป (Oversold Zone)การใช้งาน: ใช้เป็นตัวกรองสัญญาณ โดยสัญญาณจะเกิดเมื่อราคาอยู่ 'นอก' หรือ 'ติด' ขอบเขตเหล่านี้เท่านั้นB. Price Action (Engulfing Candlestick)ใช้รูปแบบแท่งเทียน Engulfing ที่แข็งแกร่ง (แท่งปัจจุบันกลืนกินแท่งก่อนหน้าทั้งหมด) เพื่อยืนยันการกลับตัวจากขอบเขตของ Channelสัญญาณ BUY (Bullish): เกิด Bullish Engulfing ในขณะที่แท่งเทียนนั้นต่ำกว่าหรือใกล้กับ Lower Bandสัญญาณ SELL (Bearish): เกิด Bearish Engulfing ในขณะที่แท่งเทียนนั้นสูงกว่าหรือใกล้กับ Upper Band2. 💰 การกำหนดความเสี่ยงและผลตอบแทน (SL/TP Calculation)เมื่อมีสัญญาณเกิดขึ้น อินดิเคเตอร์จะคำนวณและวาดระดับราคาสำคัญโดยอัตโนมัติ:ระดับราคาการคำนวณตามโค้ดบทบาทในการเทรดEntry Price (EP)ราคาปิด (close) ของแท่งเทียนที่เกิดสัญญาณจุดเริ่มต้นของการเข้าซื้อขายStop Loss (SL)คำนวณจาก Risk Size โดยใช้ค่า Lowest Low (สำหรับ Buy) หรือ Highest High (สำหรับ Sell) ย้อนหลังไปตามจำนวน SL Lookback (3 แท่ง)จุดออกเมื่อการวิเคราะห์ผิดพลาด โดยอิงตามแนวรับ/แนวต้านย่อยRisk Sizeระยะห่างระหว่าง EP กับ SLขนาดของความเสี่ยง (1R) ที่ใช้กำหนด TPTake Profit (TP1, 2, 3)$\text{EP} \pm (\text{Risk Size} \times \text{TP Ratio})$ระดับทำกำไรตามอัตราส่วนความเสี่ยงต่อผลตอบแทนที่ตั้งไว้ (1:1, 1:2, 1:3)กำลังคิดนี่คือคำแปลภาษาอังกฤษแบบมืออาชีพสำหรับคู่มือการใช้งานอินดิเคเตอร์ของคุณครับ: 📚 User Guide and Methodology: "PA Signal Levels: Final Fix" Indicator This indicator is designed for Short-to-Medium term trading (Swing/Day Trading), utilizing a strategy focused on catching reversals when the price reaches extreme boundaries of the trend channel. 1. 🎯 Buy/Sell Signal Logic The indicator combines two core technical analysis principles to generate high-accuracy signals: A. Linear Regression ChannelThe indicator constructs a channel based on Linear Regression to define the primary trend. It plots an Upper Band (Dynamic Resistance) and a Lower Band (Dynamic Support), with the width determined by Standard Deviation (StdDev). Upper Band: Overbought Zone (Price is too high).Lower Band: Oversold Zone (Price is too low).Usage: Acts as a signal filter; signals are only triggered when the price is "outside" or "touching" these boundaries. B. Price Action (Engulfing Candlestick)It uses strong Engulfing patterns (where the current candle completely engulfs the previous one) to confirm a reversal from the channel boundaries. BUY Signal (Bullish): A Bullish Engulfing occurs while the candle is below or near the Lower Band.SELL Signal (Bearish): A Bearish Engulfing occurs while the candle is above or near the Upper Band. 2. 💰 Risk and Reward Management (SL/TP Calculation) Once a signal is triggered, the indicator automatically calculates and plots key price levels: Price Level Calculation LogicTrading RoleEntry Price (EP)Closing price (close) of the signal candle.The starting point of the trade.Stop Loss (SL)Calculated based on the Lowest Low (for Buy) or Highest High (for Sell) over the SL Lookback period (3 candles).Exit point if the analysis is wrong, based on recent swing levels.Risk SizeThe distance between EP and SL.Represents 1 unit of risk (1R) used to determine TP levels.Take Profit (TP1, 2, 3)\(EP\pm (RiskSize\times TPRatio)\)Profit-taking levels based on the set Reward-to-Risk ratios (e.g., 1:1, 1:2, 1:3).คำศัพท์เทคนิคเพิ่มเติม: Reversal: การกลับตัวExtreme boundaries: ขอบเขตที่ไกลเกินไป (สุดโต่ง)Dynamic Support/Resistance: แนวรับ/แนวต้านที่เคลื่อนที่ตามราคาStandard Deviation (StdDev): ค่าเบี่ยงเบนมาตรฐานReward-to-Risk ratios: อัตราส่วนผลตอบแทนต่อความเสี่ยง
NQ 2026 Strategic Levels + Market MemoryTitle: NQ Strategic Levels 2026: Volume Profile & Market Memory
Description: This indicator plots the critical institutional levels for NQ (Nasdaq-100) heading into 2026. It is designed to help traders visualize the "Market Structure" map based on the 2025 yearly volume profile and key historical events.
How it Works: The script projects three dynamic "Zones" and three fixed "Historical Markers" to the right of your chart. It does not clutter the past price action; it focuses on future price discovery.
1. The 2026 Active Zones (Boxes):
🛑 Resistance (Supply Zone): Derived from the "Trapped Buyers" of late 2025. This is where overhead supply is likely to cause profit-taking.
⚖️ The Pivot (Equilibrium): Based on the Q4 2025 High Volume Node (HVN). This is the "Line in the Sand." Above this zone, the weekly bias is Bullish. Below it, the bias shifts to Bearish/Correction.
💰 The Buy Zone (Support): The Yearly Value Area Low (VAL). This represents the strongest institutional support and a high-probability area for "Buy the Dip" programs.
2. The 2025 Market Memory (Dashed Lines):
Triple Witch Liquidity: The December 2025 rejection high.
AI Summer Breakout: The key breakout level from mid-2025 that flipped from resistance to support.
Tariff Scare Floor: The macro bottom established during the volatility of April 2025.
How to Use:
Trend Followers: Watch the Pivot Zone. If price holds above it, target the Resistance Zone.
Mean Reversion Traders: Look for rejections at the Resistance Zone or bounces at the Buy Zone.
Risk Management: Use the Historical Markers as invalidated points or profit targets.
Disclaimer: These levels are based on volume analysis and historical price action. Not financial advice. Trade at your own risk.
SMC Ultra-Fast: ALL-IN & Auto-Signal [Fixed]How to Use the SMC Pro Indicator: ALL-IN & Dynamic S/R is designed to help you trade following the "Smart Money" quickly and accurately. The usage steps are as follows:
1. Reading Entry Signals
🔥 ALL-IN BUY/SELL: This is the most accurate signal, generated by a breakout of a key support level (Pivot) combined with unusually high trading volume (1.5 times higher) and confirmation from the EMA trend.
Fast Buy/Sell (Small Triangle): This is a supplementary signal when the EMA Fast line crosses the EMA Slow line. It's suitable for finding opportunities to "Follow the Trend" or add to positions when the trend strengthens.
2. Managing Targets (TP/SL/Entry)
When the ALL-IN signal appears, the system will immediately draw three lines to the right of the graph:
Gray line (ENTRY): The price point where you should open an order.
Blue line (TP): Profit target. Calculated using a Risk:Reward Ratio of 2.0 (adjustable).
Red line (SL): Stop-loss point calculated from the ATR value for safety.
3. Using Support and Resistance Boxes (Dynamic Zones)
Green box (Support): Zone with strong buying pressure. If the price tests this level and doesn't break below, there's a high chance of a rebound.
Red box (Resistance): Zone with accumulated selling pressure. If the price tests this level and fails to break through, there's a chance of a pullback.
Disappearance of boxes: When the price "breaks through" the bar, these boxes automatically disappear to indicate that the zone has been broken, and the system will immediately start looking for a new, stronger zone.
4. Auto-Reset System (Completion of Trade)
When the price hits the TP or SL line, the system will mark an "X" on the screen.
The old target line will be immediately deleted to clear the position, making the chart look clean and ready for a new ALL-IN signal.
💡 Additional Tip:
Candlestick color: Trade Buy when the candlestick is green, and trade Sell when the candlestick is red.
If the candlestick is orange, it means the market is sideways. It is recommended to wait for a clear ALL-IN signal before entering a trade.
วิธีใช้งานอินดิเคเตอร์ SMC Pro: ALL-IN & Dynamic S/R นี้ออกแบบมาเพื่อให้คุณเทรดตามรอย "เจ้ามือ" (Smart Money) ได้อย่างรวดเร็วและแม่นยำที่สุด โดยมีขั้นตอนการใช้งานดังนี้ครับ:
1. การอ่านสัญญาณจุดเข้า (Entry Signals)
🔥 ALL-IN BUY/SELL: เป็นสัญญาณที่มีความแม่นยำสูงสุด เกิดจากการเบรคเอาท์แนวสำคัญ (Pivot) ร่วมกับมีแรงซื้อขาย (Volume) สูงกว่าปกติ 1.5 เท่า และเทรนด์ของ EMA ยืนยัน
Fast Buy/Sell (สามเหลี่ยมเล็ก): เป็นสัญญาณเสริมเมื่อเส้น EMA Fast ตัดกับ EMA Slow เหมาะสำหรับใช้หาจังหวะ "Follow Trend" หรือเข้าเพิ่มไม้เมื่อเทรนด์เริ่มแข็งแกร่ง
2. การจัดการเป้าหมาย (TP/SL/Entry)
เมื่อสัญญาณ ALL-IN ปรากฏ ระบบจะวาดเส้น 3 เส้นไปทางด้านขวาของกราฟทันที:
เส้นสีเทา (ENTRY): จุดราคาที่คุณควรเปิดออเดอร์
เส้นสีน้ำเงิน (TP): เป้าหมายทำกำไร ซึ่งคำนวณจากค่า Risk:Reward Ratio ที่ 2.0 เท่า (ตั้งค่าได้)
เส้นสีแดง (SL): จุดตัดขาดทุนที่คำนวณจากค่า ATR เพื่อความปลอดภัย
3. การใช้งานกล่องแนวรับ-แนวต้าน (Dynamic Zones)
กล่องสีเขียว (Support): โซนที่มีแรงซื้อหนาแน่น หากราคาลงมาทดสอบแล้วไม่หลุด มีโอกาสเด้งกลับสูง
กล่องสีแดง (Resistance): โซนที่มีแรงขายสะสม หากราคาวิ่งขึ้นไปทดสอบแล้วไม่ผ่าน มีโอกาสย่อตัวลง
การหายไปของกล่อง: เมื่อราคา "ปิดแท่งทะลุ" กล่องเหล่านี้จะหายไปโดยอัตโนมัติ เพื่อบอกว่าโซนนั้นถูกทำลายแล้ว และระบบจะเริ่มหาโซนใหม่ที่แข็งแกร่งกว่าให้ทันที
4. ระบบ Auto-Reset (จบงาน)
เมื่อราคาเคลื่อนที่ไปชนเส้น TP หรือ SL ระบบจะทำเครื่องหมาย "X" บนหน้าจอ
เส้นเป้าหมายเก่าจะถูกลบออกทันที เพื่อล้างสถานะให้กราฟดูสะอาดและพร้อมสำหรับสัญญาณ ALL-IN รอบใหม่ครับ
💡 เคล็ดลับเพิ่มเติม:
สีแท่งเทียน: เทรดหน้า Buy เมื่อแท่งเทียนสีเขียว และเทรดหน้า Sell เมื่อแท่งเทียนสีแดง
หากแท่งเทียนเป็น สีส้ม หมายถึงตลาดกำลังเลือกทาง (Sideway) แนะนำให้รอสัญญาณ ALL-IN ที่ชัดเจนก่อนเข้าเทรดครับ
Smart stock Uptrend Forecaster by Prawindesigned by Prawin for trying to forecast the trend of stocks.
~ News @JoechartzLive Economic Calendar by Toodegrees with custom modifications.
The dots get their info straight from what the table shows so you must have it set to "Today" if you want the desired experience.
DCA + VA (Value Averaging) | UA versionDCA + VA (Value Averaging) | UA version
DCA + VA is a practical portfolio simulator for TradingView that compares two long-term investing approaches on any symbol:
• DCA (Dollar-Cost Averaging) — invest a fixed amount on a fixed schedule.
• VA (Value Averaging) — invest (and optionally sell) to keep the invested part of the portfolio close to a target growth path.
The indicator is plotted in a separate lower pane and is designed for realistic capital efficiency analysis, including the effect of cash sitting idle (“cash drag”).
What you see on the chart
• Two thick yellow lines
— DCA line: portfolio value under classic DCA
— VA line: portfolio value under Value Averaging
• Trade dots
— Small green dots : buys
— Small red dots : sells (VA only, if enabled)
• UA table + right-side labels
— key portfolio metrics for both strategies
Core assumptions
• Trades are executed at bar close ( close )
• Dividends and broker commissions are ignored (for now)
• Optional tax logic is available for VA sells: tax is applied to realized profit using average cost basis
Line mode
• Капітал+Кеш (default): shows total portfolio value = holdings + cash (honest “cash drag”)
• Лише капітал : shows holdings value only (invested part)
DCA logic (classic)
Start from Start date .
On each scheduled period ( Week / Month / Half-year / Year ) the script:
• adds the deposit amount to cash
• buys the asset for that amount (if cash is available)
VA logic (Value Averaging)
VA maintains a target value for the invested holdings (asset value only, cash not included ).
On each VA step:
Regular deposit is added to VA cash
Target is updated by period growth g (derived from annual CAGR and selected frequency)
If holdings value is below target → buy using cash (optionally add extra if enabled)
If holdings value is above target and selling is enabled → sell down to target (cash increases; optional profit tax applies)
Target update formula:
Target = Target × (1 + g) + Regular deposit
Optional controls
• Sell excess ( vaSellExcess ): allow sells when above target
• Add extra on drawdowns ( vaAddExtra ): allow additional contributions when cash isn’t enough
• Max extra per period ( vaMaxExtra ): cap extra contributions ( 0 = unlimited )
• Tax on sells ( vaUseTax / vaTaxRate ): apply tax to realized profit (average cost basis)
Table metrics (UA)
For both DCA and VA:
• Накопичено — total contributed cash
• Інвестовано — current invested cost basis
• Кеш — cash balance
• Капітал — portfolio value (based on selected line mode)
• Прибуток % — ROI in percent
• CAGR стратегії — annualized return based on elapsed time
Best use (recommended settings)
• Best timeframe: 1W
Weekly candles make long-term simulations cleaner and more realistic: less noise, fewer “micro” fluctuations, and more stable periodic triggers for DCA/VA steps.
• Recommended workflow:
Set chart timeframe to 1W
Choose deposit frequency (usually Тиждень or Місяць )
Start with Капітал+Кеш to see true cash drag
Compare DCA vs VA using Прибуток % and CAGR (not only absolute $)
• How to interpret results:
— If VA has higher capital but lower ROI %, it usually means you contributed more (extra funding enabled).
— If VA sells rarely, your target path may be aggressive (high CAGR + large deposits), so holdings don’t exceed the target often.
Notes
• If VA shows higher capital but lower profit % , it usually means more total contributions (extra funding enabled).
• Sells can be rare if the target path grows aggressively (high CAGR + large deposits).
XAUUSD 240m Pivot PointsThis Indicator helps you to automatically find pivot point S1 S2 S3 R1 R2 and R3 for each and every candle that occurs in 4 hr tf
NOVA - SessionsKey Features:
Three Major Sessions:
Asia (Tokyo):** Draws the overnight consolidation range (High/Low/Mid).
London:** Draws the breakout session range.
New York:** Draws the reversal/continuation session range (aligned with the Stock Market Open).
Smart Timezone Logic:
All sessions are calculated using their **local** exchange times (e.g., Tokyo time for Asia, NY time for NYSE) but display correctly on your chart in Amsterdam time. You never have to adjust for Daylight Savings.
Support & Resistance:
The Highs, Lows, and Midpoints extend to the right, allowing you to see how previous sessions act as support or resistance later in the day.
Daily Open:
Marks the exact opening price at Midnight to help you determine if price is "premium" (expensive) or "discount" (cheap) for the day.
Midnight VWAP:
A volume-weighted average price that resets every night, acting as a dynamic "fair value" line for the day.
Clean Visuals:
Completely customizable. You can toggle background boxes, lines, and text labels to keep your chart clean.
In short:
It automates the "boring work" of marking up your chart every morning so you can focus purely on price action.
CME Quarterly ShiftsCME Quarterly Shifts - Institutional Quarter Levels
Overview:
The CME Quarterly Shifts indicator tracks price action based on actual CME futures contract rollover dates, not calendar quarters. This indicator plots the Open, High, Low, and Close (OHLC) for each quarter, with quarters defined by the third Friday of March, June, September, and December - the exact dates when CME quarterly futures contracts expire and roll over.
Why CME Contract Dates Matter:
Institutional traders, hedge funds, and large market participants typically structure their positions around futures contract expiration cycles. By tracking quarters based on CME rollover dates rather than calendar months, this indicator aligns with how major institutional players view quarterly timeframes and position their capital.
Key Features:
✓ Automatic CME contract rollover date calculation (3rd Friday of Mar/Jun/Sep/Dec)
✓ Displays Quarter Open, High, Low, and Close levels
✓ Vertical break lines marking the start of each new quarter
✓ Quarter labels (Q1, Q2, Q3, Q4) for easy identification
✓ Adjustable history - show up to 20 previous quarters
✓ Fully customizable colors and line widths
✓ Works on any instrument and timeframe
✓ Toggle individual OHLC levels on/off
How to Use:
Quarter Open: The opening price when the new quarter begins (at CME rollover)
Quarter High: The highest price reached during the current quarter
Quarter Low: The lowest price reached during the current quarter
Quarter Close: The closing price from the previous quarter
These levels often act as key support/resistance zones as institutions reference them for quarterly performance, rebalancing, and position management.
Settings:
Display Options: Toggle quarterly break lines, OHLC levels, and labels
Max Quarters: Control how many historical quarters to display (1-20)
Colors: Customize colors for each level and break lines
Styles: Adjust line widths for OHLC levels and quarterly breaks
Best Practices:
Combine with other Smart Money Concepts (liquidity, order blocks, FVGs)
Watch for price reactions at quarterly Open levels
Monitor quarterly highs/lows as potential targets or stop levels
Use on higher timeframes (4H, Daily, Weekly) for clearer institutional perspective
Pairs well with monthly and yearly levels for multi-timeframe confluence
Perfect For:
ICT (Inner Circle Trader) methodology followers
Smart Money Concepts traders
Swing and position traders
Institutional-focused technical analysis
Traders tracking quarterly performance levels
Works on all markets: Forex, Indices, Commodities, Crypto, Stocks
PA Signal Pro: Full Labels & SR Zones tomgoodcar999 To help you use the PA Signal Pro: Ultimate Scalper indicator most effectively, I've summarized the reading method and trading strategies in the following steps:
1. Reading the signals on the screen
After installing the code, you will see three main components:
Support and Resistance Zones:
Red box (RES): This is the resistance level, where selling pressure tends to enter.
Green box (SUP): This is the support level, where buying pressure tends to wait.
There is always a price number indicated on the right edge of the box.
BUY/SELL Signals:
Appear when a Price Action (Engulfing) pattern occurs, when the price touches the upper or lower boundary of the indicator.
Trade Lines:
Blue (ENTRY): The point where you should enter your order.
Red (SL): Stop Loss point.
Green/Blue (TP1-3): Take Profit points in order of risk.
2. Scalping Strategy
For the most accurate trading, use PA signals in conjunction with support and resistance zones:
BUY Order Entry (Uptrend):
Look for: Price flowing down to touch or enter the green box (SUP).
Wait for the signal: For the word BUY to appear on the candlestick.
Enter Order: Open a Buy order at the ENTRY price.
Target: Set a take profit target at TP1 (quick profit) or TP2-3 (large profit).
SELL Order Entry (Downtrend):
Look for: Price bouncing up to touch or enter the red box. (RES)
Waiting for a signal: Wait for the word SELL to appear on the candlestick.
Entering an order: Open a Sell position at the ENTRY price.
Target: Set the order close at TP1, TP2, or TP3, depending on your risk tolerance.
3. Observing Warning Symbols (Hit Markers)
The indicator will help monitor your screen with symbols on the candlestick:
🎯 (Target): Appears when the price reaches TP1 (It is recommended to move the SL to cover the stop-loss point to prevent losses).
❌ (Cross): Appears when the price retraces and hits the SL point (You should accept the stop-loss according to the system).
4. Additional Tips (Pro Tips)
Timeframe: It is recommended to use 1m, 5m, or 15m timeframes for short-term profit taking (Scalping).
Settings (Inputs): * If you feel there are too few signals, adjust the Signal StdDev down (e.g., 0.6).
To take profits faster, adjust the TP1 Ratio to 0.3 or 0.4.
Discipline: If the price hits... If you've hit your Stop Loss (SL) and a ❌ symbol appears, stop and wait for a new signal. You shouldn't retaliate with a quick buy/sell trade.
Futures Psychological Levels PROFutures Psychological Levels PRO – Professional Usage Guide
Indicator Overview
This elite psychological levels tool dynamically plots the most institutionally relevant round-number clusters across futures markets (ES, NQ, YM, CL, GC, SI, BTC, and custom instruments). It separates levels into three hierarchical tiers — Major, Tradable, and Sniper — while intelligently filtering distant levels using an ATR-based proximity engine. The result is a clean, adaptive overlay that scales perfectly from scalping precision on 1-minute charts to big-picture context on daily/weekly timeframes.
Core Philosophy
Psychological levels are where order flow clusters: stops, limits, and institutional positioning accumulate around round numbers. This indicator turns static round numbers into a dynamic decision framework by:
Prioritizing confluence zones
Reducing clutter in ranging or low-volatility environments
Highlighting only price-relevant levels in real time
Key Features
Instrument Presets – One-click optimized spacing for major futures contracts
Three-Tier Hierarchy – Major (institutional anchors), Tradable (active defense zones), Sniper (precise entry/exit triggers)
ATR Proximity Filter – Automatically hides irrelevant distant levels
Zones or Lines – Visual magnet areas or clean horizontal lines
Price Labels & Summary Table – Instant reference for next major levels above/below
Full Customization – Colors, thickness, styles, and manual overrides
How to Best Use This Indicator (Professional Workflow)
Select the Correct Instrument Preset
Start with the built-in preset matching your chart (e.g., "ES (S&P 500)" for /ES or MES). This instantly applies battle-tested increments. Use "Custom" only for non-standard assets (forex pairs, micros with different tick values, or crypto alts).
Match Settings to Your Trading Style & Timeframe
Reading the Levels – Decision Framework
Major Levels (thick red by default): Highest probability reaction zones. Expect strong reversals, breakouts with volume, or liquidity sweeps. Treat as primary support/resistance.
Tradable Levels (orange): Active trader defense zones. Excellent for limit order placement, partial profit taking, or fading weak moves.
Sniper Levels (thin gray): Precision entries/exits, stop runs, and scalping targets. Confluence with order blocks or volume profile nodes dramatically increases edge.
Trade Setup Examples
Rejection Play: Price approaches a Major level from below → long wick rejection + close back inside → enter in direction of rejection with stop beyond wick extremity.
Break & Retest: Clean breakout through Tradable/Major → retest as new support/resistance → enter on confirmation candle.
Liquidity Sweep: Price briefly breaches Sniper/Major (stop hunt) → rapid reclaim → aggressive counter-trend entry.
Confluence Boost: When a level aligns with daily/weekly open, VWAP, or prior high/low volume node → dramatically increase position size or conviction.
Risk Management Integration
Always place stops just beyond the next logical level (typically a Sniper or Tradable beyond your entry zone). Use the summary table to quickly identify invalidation points. Target the next level in the direction of your bias for minimum 1:2 risk-reward (often 1:3–1:5 achievable at Major levels).
Pro Optimization Tips
High-volatility sessions (NY open, FOMC, NFP): Increase ATR Multiplier slightly to avoid excessive clutter.
Low-volatility Asian/range sessions: Decrease ATR Multiplier for tighter precision.
Combine with Volume Profile (Fixed Range or Session) to confirm high-volume nodes at psych levels.
Pair with anchored/session VWAP for additional confluence layers.
On higher timeframes, disable Sniper levels and zones entirely for minimalist structural analysis.
Important Disclaimer
This indicator is a professional decision-support tool, not a standalone trading system. All trading involves substantial risk of loss. Past performance is not indicative of future results. Always conduct your own analysis, manage risk appropriately, and consider your financial situation before placing trades.
Mastering psychological levels is one of the highest-edge concepts in institutional trading. Used correctly, this indicator gives you the same reference framework that prop desks and market makers watch every day. Trade smart, stay disciplined, and let price action at these levels guide your executions.
BTC - StableFlow: Pit-Stop & Refuel EngineBTC – StableFlow: Pit-Stop & Refuel Engine | RM
Strategic Context: The Institutional Gas Station In the high-speed race of the crypto markets, Stablecoins (USDT, USDC, DAI) represent the Fuel, and Bitcoin is the Race Car. Most traders only look at the car's speed (Price), but they ignore the gas tank. The StableFlow Engine is a telemetry dashboard designed to monitor the "Fuel Pressure" within the ecosystem, identifying exactly when the car is being refueled and when it is running on empty.
The Telemetry Logic: How to Read the Race
The indicator operates on a Relative Velocity model. We aren't just looking at how many Stablecoins exist; we are measuring the Acceleration of Stablecoin Market Cap relative to the Acceleration of BTC Price.
1. The Fuel Reservoir (The Histogram)
• Cyan Zones (Refuel): The gas station is open. Institutional "Dry Powder" is flowing into stables faster than it is being spent on BTC. The tank is filling up.
• Orange Zones (Exhaust): The "Overdrive." The car is driving faster than the gas can be pumped. Price is outperforming the stablecoin supply—this is unsustainable and usually precedes a stall.
2. Lap Transitions (The Grey Lines)
These vertical markers signify a Regime Shift . They trigger the moment the momentum crosses the zero-axis, visually distinguishing the transition between a "Net-Refueling" period and a "Net-Exhaustion" period. While not used as direct entry signals, they define the Macro Lap we are currently in.
Operational Playbook: The Pit-Stop Signals
We don't just buy because the tank is full; we buy when the car exits the pits and begins to accelerate. This is captured by our proprietary Pit-Stop Pips.
• Blue Pip (Pit-Stop Buy): Triggered when the Refuel momentum has peaked and is now rotating back into the market. The refuel is complete; the car is rejoining the race with a full tank.
• Red Pip (Exhaust Sell): Triggered when the price acceleration has overextended relative to its fuel source and begins to "roll over." The tank is near empty; time for a tactical pull-back.
Settings & Calibration: The Pit Wall Dashboard
Signal Mode & Logic The engine features a dual-mode signaling system to adapt to different market conditions (or your personal preferred logic):
• Consecutive Mode: Best for high-velocity trends. Fires a pip after n bars of momentum reversal (Default: 2 bars).
• Percentage (%) Mode: Best for structural fades. Fires a pip when the momentum retraces by a specific percentage (e.g., 15%) from its local peak, regardless of the bar count.
Recommended Calibration
While the engine is versatile across various timeframes, the Weekly (1W) chart is the preferred setting for identifying high-conviction macro signals. Lower timeframes provide tactical speed, but the 1W frame offers significantly cleaner signals by filtering out the daily market noise.
Weekly (1W) — The Macro Signal (Preferred): * Velocity Lookback: 20 | Smoothing: 5.
Peak Lookback: 25 (Represents roughly half a year of telemetry data). This is a good starting point for identifying major cycle rotations.
Daily (1D) — The Tactical Pulse: * Velocity Lookback: 20 | Smoothing: 5.
Peak Lookback: 25 (Represents one trading month of telemetry). Useful for active swing traders looking for entry/exit timing within an established macro trend.
Technical Documentation
Data Sourcing & Aggregation The script utilizes request.security to aggregate a "Big Three" Stablecoin Market Cap (USDT + USDC + DAI). This prevents "False Exhaustion" signals caused by capital simply migrating between different stablecoin assets.
Mathematical Foundation The core engine calculates the Rate of Change (ROC) for the Aggregate Stablecoin Supply and BTC Price over a synchronized lookback window.
Formula Logic: Fuel Pressure = EMA ( ROC(Stables) - ROC(BTC) )
The Pit-Stop Pips utilize a local peak-finding algorithm via ta.highest and ta.lowest within a rolling 25-bar window to calculate the Relative Retracement Magnitude . This ensures signals are mathematically tied to the volatility of the current market regime.
The Dual-Fuel Framework: StableFlow x Liquisync
The StableFlow Engine is designed to function as the tactical counterpart to the Liquisync: Macro Pulse Engine . While Liquisync monitors the Global Supply Line (the "Tanker Truck" of M2 Liquidity moving from Central Banks toward the track with a 60-day lead), StableFlow measures the Immediate Fuel Pressure (the "Dry Powder" already in the pit lane, ready to be pumped into the car).
By using both indicators in tandem, you can follow the Dual-Fuel Strategy: Liquisync identifies the fundamental macro regime, while StableFlow identifies the specific "Refuel" and "Exhaustion" pivots within that regime. We will be providing a comprehensive breakdown of this synchronized telemetry in our upcoming Substack Masterclass: The Dual-Fuel Architecture.
Risk Disclaimer & Credits
The StableFlow is a thematic macro tool tracking on-chain liquidity proxies. Stablecoin data is subject to exchange reporting delays. This is not financial advice; it is a telemetry model for institutional education. Rob Maths is not liable for losses incurred via use of this model.
Tags:
indicator, bitcoin, btc, stablecoins, usdt, flow, liquidity, macro, refuel, institutional, robmaths, Rob Maths
Hookes Kinetics | IkkeOmarHooke's Kinetics: A Physics-Based Volatility System
This indicator applies the principles of Hooke's Law to financial time series data to model market volatility as a system of potential and kinetic energy.
Theoretical Foundation: Hooke's Law In physics, Hooke's Law states that the force (F) needed to extend or compress a spring by some distance (x) scales linearly with respect to that distance: F = -kx, where k is the spring constant.
Potential Energy (PE): PE = 0.5 * k * x^2 Kinetic Energy (KE): Energy possessed due to motion.
In this system, we treat Price Action as a spring. Compression (Potential Energy): When price consolidates, volatility compresses. The "spring" is being wound up. Energy is accumulated, not released. Release (Kinetic Energy): When price breaks out of compression, potential energy transforms into kinetic energy. The spring snaps back, driving price motion.
Indicator Mechanics The Hooke's Kinetics oscillator visualizes this energy transfer cycle to identify trend origins and exhaustion points.
Accumulating Energy (Potential): The Blue Area represents the buildup of Potential Energy. This occurs during periods of low volatility (consolidation). The algorithm detects when price variance drops below a threshold (representing spring compression) and aggregates this "stored force" over time. As long as the price remains compressed, the Blue potential energy grows.
Energy Conversion (Kinetic Release): The Red Histogram represents Kinetic Energy. When volatility expands significantly (a breakout), the system triggers a release event. The accumulated Blue potential energy is discharged and converted into the Red kinetic spike. This marks the moment the "spring" is released.
Trend Direction & Decay: Once the Kinetic Energy (Red spike) appears, the "explosive" phase is active. As the Red histogram decays (lowers back to zero), the market enters a coasting phase. The trend direction is established by the price movement during the initial Kinetic release. Traders observe the price vector as the Red energy dissipates to confirm the prevailing trend.
Reversion Signals (Bonus): Extreme peaks in Kinetic Energy (exceptionally high Red spikes) indicate a maximum extension of the spring. Just as a physical spring oscillates, extreme kinetic release often precedes a mean reversion. If price action opposes the direction of the Kinetic decay, it signals a likely reversal.
Visual Reference Referencing the chart above: Blue Ramp: Note the linear buildup of the blue area during sideways price action. This is the "loading" phase. Red Spike: Note the immediate drop in Blue and spike in Red coinciding with the green highlight circles on the chart. These are the breakout points. Green Circles: These highlight the specific candles where Potential converted to Kinetic, marking the optimal entry or decision points.
Code Description
The system defines market state using a composite variable "k" (Stiffness), which combines Price Volatility (NATR) and Relative Volume (RVOL).
k_price = range_natr != 0 ? 1.0 - ((natr - lowest_natr) / range_natr) : 0 k = (k_price * price_weight) + (k_vol * vol_weight) Here, we normalize volatility relative to a historical lookback. High values of "k" indicate high compression—this is the "winding" of the spring.
if is_compressed potential_energy := potential_energy + k kinetic_energy := kinetic_energy * DECAY_RATE When the market is tighter than the user-defined "stiff_thresh", the system accumulates Potential Energy. Note that Kinetic Energy actively decays during this phase, simulating friction or inertia slowing down price movement.
else drain_factor = (1.0 - k) transfer = potential_energy * drain_factor potential_energy := potential_energy - transfer kinetic_energy := (kinetic_energy * DECAY_RATE) + (transfer * ENERGY_MULT) This acts as the conservation of energy. We do not reset Potential to zero instantly; we drain it. The "drain_factor" ensures that a violent expansion (low k) drains potential energy faster than a mild move. This transferred energy is scaled up and added to the Kinetic state.
Note - AMPLITUDE MATTERS!
Observe the amplitude of the Kinetic Energy - higher peaks are more significant. Lower values are usually artifacts, but they can indicate mean reversion on a smaller scale while price remains within a range.
Smart Money Zones (FVG + OB) + MTF Trend Panel## Overview
Professional-grade institutional trading zones indicator that identifies **Fair Value Gaps (FVG)** and **Order Blocks (OB)** - key price inefficiencies where smart money operates. Includes a comprehensive **Multi-Timeframe Trend Panel** for complete market context at a glance.
## Core Features
### 🎯 Fair Value Gaps (FVG)
Fair Value Gaps occur when price moves so aggressively that it leaves an "imbalance" or "gap" in the market structure. These zones often act as magnets where price returns to find liquidity.
**Detection Logic:**
- **Bullish FVG**: When current candle's low is above the high of the candle 2 bars ago
- **Bearish FVG**: When current candle's high is below the low of the candle 2 bars ago
- Requires strong impulse candle (configurable body percentage threshold)
- Color-coded zones: Green for bullish, Red for bearish
### 📦 Order Blocks (OB)
Order Blocks represent the last opposite candle before a significant price move - the zone where institutional orders were placed before the breakout.
**Detection Logic:**
- Identifies the last bearish candle before a strong bullish breakout (Bullish OB)
- Identifies the last bullish candle before a strong bearish breakout (Bearish OB)
- Validates breakout strength using ATR multiplier (1.2x default)
- Color-coded zones: Blue for bullish, Orange for bearish
### 📊 Multi-Timeframe Trend Panel
Real-time trend analysis across **7 timeframes** displayed in an elegant dashboard:
- **1 Minute** - Ultra short-term scalping
- **5 Minutes** - Short-term momentum
- **15 Minutes** - Intraday swings
- **30 Minutes** - Session trends
- **1 Hour** - Multi-session trends
- **4 Hours** - Daily structure
- **Daily** - Long-term direction
**Visual Indicators:**
- 🟢 Green circle = Bullish trend
- 🔴 Red circle = Bearish trend
- Clean, professional table design with customizable position and size
## Intelligence Features
### 🧠 Zone Strength Rating
Every zone is automatically classified by strength based on size relative to ATR:
- **VERY STRONG** - 2.0x ATR or more (major institutional zones)
- **STRONG** - 1.5x to 2.0x ATR (significant zones)
- **MEDIUM** - 1.0x to 1.5x ATR (moderate zones)
- **WEAK** - Below 1.0x ATR (minor zones)
Strength rating helps you prioritize which zones to trade from!
### 📉 Smart Mitigation Tracking
Zones automatically track how much they've been "filled" or mitigated:
- Calculates penetration percentage as price enters the zone
- Zones turn **gray** when 50%+ mitigated or fully filled
- Option to **auto-delete** mitigated zones to keep chart clean
- Live zones extend dynamically with price action
### 🎨 Trend Filter (Optional)
When enabled, only shows zones aligned with the current trend:
- Uses customizable MA period (default 50)
- Bullish zones only appear in uptrend
- Bearish zones only appear in downtrend
- Reduces noise and false signals significantly
## Customization Options
### Display Settings
- Toggle FVGs and OBs independently
- Adjust max zones per type (5-200)
- Choose to remove or gray out mitigated zones
- Color customization for all zone types
### Detection Parameters
- **Min Impulse Body %**: Controls how strong the impulse candle must be (0.3-1.0)
- **Order Block Lookback**: How many bars to look back for OB validation (5-50)
- **ATR Length**: Period for ATR calculation (5-50)
### Trend Filter
- Enable/disable trend filtering
- Adjustable MA period for trend determination
### MTF Panel
- Show/hide the trend panel
- 4 position options: Top Right, Top Left, Bottom Right, Bottom Left
- 3 size options: Small, Normal, Large
- Customizable MA period for trend calculation across all timeframes
## Trading Applications
### 1. **Liquidity Grab Entries**
Wait for price to sweep a zone (50%+ mitigation) then enter on reversal. Smart money often "hunts" these zones before the real move begins.
### 2. **Confluence Trading**
Look for zones that align with:
- Multiple timeframe trends showing same direction
- Multiple FVGs/OBs stacking in same area
- Key support/resistance levels
### 3. **Breakout Confirmation**
Use Order Blocks to confirm the strength of breakouts. Strong OBs indicate institutional participation.
### 4. **Retracement Entries**
Enter when price returns to a fresh, unmitigated zone in the direction of the higher timeframe trend.
### 5. **Range Trading**
Identify FVG zones at range extremes - price often reverses at these inefficiencies.
## How It Works
**Fair Value Gaps** form when the middle candle creates such aggressive movement that it leaves a price gap between the high/low of surrounding candles. Institutional traders know these gaps get filled.
**Order Blocks** mark the origin of major moves. The last opposite-colored candle before a breakout is where large orders were placed. Price often returns to these zones for "retests" before continuing.
**Mitigation** happens when price returns to fill these zones. The indicator tracks this automatically, showing you which zones are still "fresh" and which have been used up.
## Best Practices
✅ **Use higher timeframe trends** - Always check the MTF panel before taking trades
✅ **Trade fresh zones** - Unmitigated zones (not gray) have the highest probability
✅ **Combine with price action** - Look for rejection wicks and engulfing candles at zones
✅ **Respect zone strength** - VERY STRONG and STRONG zones are most reliable
✅ **Use trend filter** - Especially on lower timeframes to reduce false signals
❌ **Don't overtrade** - Not every zone will react, wait for confirmation
❌ **Don't ignore context** - Check the MTF panel for conflicting trends
❌ **Don't chase** - Wait for price to come to the zone, don't enter mid-zone
## Technical Details
- **Non-repainting**: All zones are drawn on confirmed candles only
- **Performance optimized**: Uses efficient array management with per-type caps
- **Real-time updates**: Zones extend and track mitigation as price moves
- **Universal compatibility**: Works on all markets and timeframes
## Recommended Settings by Style
**Scalping (1m-5m charts):**
- Max zones: 10-15
- Use trend filter: ON
- MTF Panel: Focus on 1m-15m trends
- Remove mitigated: ON (keep chart clean)
**Day Trading (5m-1H charts):**
- Max zones: 15-20
- Use trend filter: ON
- MTF Panel: Focus on 15m-4H trends
- Remove mitigated: OFF (track zone history)
**Swing Trading (1H-D charts):**
- Max zones: 20+
- Use trend filter: Optional
- MTF Panel: Focus on 1H-1D trends
- Remove mitigated: OFF (important zones persist)
---
## Perfect For
- Smart Money Concept (SMC) traders
- ICT methodology followers
- Institutional order flow traders
- Price action traders seeking key zones
- Multi-timeframe analysis enthusiasts
**Compatible with all markets:** Forex, Crypto, Stocks, Indices, Commodities, Futures
*Trade where the institutions trade. Follow the smart money.*
Smart Money Zones (FVG + OB) + MTF Trend Panel## Overview
Professional-grade institutional trading zones indicator that identifies **Fair Value Gaps (FVG)** and **Order Blocks (OB)** - key price inefficiencies where smart money operates. Includes a comprehensive **Multi-Timeframe Trend Panel** for complete market context at a glance.
## Core Features
### 🎯 Fair Value Gaps (FVG)
Fair Value Gaps occur when price moves so aggressively that it leaves an "imbalance" or "gap" in the market structure. These zones often act as magnets where price returns to find liquidity.
**Detection Logic:**
- **Bullish FVG**: When current candle's low is above the high of the candle 2 bars ago
- **Bearish FVG**: When current candle's high is below the low of the candle 2 bars ago
- Requires strong impulse candle (configurable body percentage threshold)
- Color-coded zones: Green for bullish, Red for bearish
### 📦 Order Blocks (OB)
Order Blocks represent the last opposite candle before a significant price move - the zone where institutional orders were placed before the breakout.
**Detection Logic:**
- Identifies the last bearish candle before a strong bullish breakout (Bullish OB)
- Identifies the last bullish candle before a strong bearish breakout (Bearish OB)
- Validates breakout strength using ATR multiplier (1.2x default)
- Color-coded zones: Blue for bullish, Orange for bearish
### 📊 Multi-Timeframe Trend Panel
Real-time trend analysis across **7 timeframes** displayed in an elegant dashboard:
- **1 Minute** - Ultra short-term scalping
- **5 Minutes** - Short-term momentum
- **15 Minutes** - Intraday swings
- **30 Minutes** - Session trends
- **1 Hour** - Multi-session trends
- **4 Hours** - Daily structure
- **Daily** - Long-term direction
**Visual Indicators:**
- 🟢 Green circle = Bullish trend
- 🔴 Red circle = Bearish trend
- Clean, professional table design with customizable position and size
## Intelligence Features
### 🧠 Zone Strength Rating
Every zone is automatically classified by strength based on size relative to ATR:
- **VERY STRONG** - 2.0x ATR or more (major institutional zones)
- **STRONG** - 1.5x to 2.0x ATR (significant zones)
- **MEDIUM** - 1.0x to 1.5x ATR (moderate zones)
- **WEAK** - Below 1.0x ATR (minor zones)
Strength rating helps you prioritize which zones to trade from!
### 📉 Smart Mitigation Tracking
Zones automatically track how much they've been "filled" or mitigated:
- Calculates penetration percentage as price enters the zone
- Zones turn **gray** when 50%+ mitigated or fully filled
- Option to **auto-delete** mitigated zones to keep chart clean
- Live zones extend dynamically with price action
### 🎨 Trend Filter (Optional)
When enabled, only shows zones aligned with the current trend:
- Uses customizable MA period (default 50)
- Bullish zones only appear in uptrend
- Bearish zones only appear in downtrend
- Reduces noise and false signals significantly
## Customization Options
### Display Settings
- Toggle FVGs and OBs independently
- Adjust max zones per type (5-200)
- Choose to remove or gray out mitigated zones
- Color customization for all zone types
### Detection Parameters
- **Min Impulse Body %**: Controls how strong the impulse candle must be (0.3-1.0)
- **Order Block Lookback**: How many bars to look back for OB validation (5-50)
- **ATR Length**: Period for ATR calculation (5-50)
### Trend Filter
- Enable/disable trend filtering
- Adjustable MA period for trend determination
### MTF Panel
- Show/hide the trend panel
- 4 position options: Top Right, Top Left, Bottom Right, Bottom Left
- 3 size options: Small, Normal, Large
- Customizable MA period for trend calculation across all timeframes
## Trading Applications
### 1. **Liquidity Grab Entries**
Wait for price to sweep a zone (50%+ mitigation) then enter on reversal. Smart money often "hunts" these zones before the real move begins.
### 2. **Confluence Trading**
Look for zones that align with:
- Multiple timeframe trends showing same direction
- Multiple FVGs/OBs stacking in same area
- Key support/resistance levels
### 3. **Breakout Confirmation**
Use Order Blocks to confirm the strength of breakouts. Strong OBs indicate institutional participation.
### 4. **Retracement Entries**
Enter when price returns to a fresh, unmitigated zone in the direction of the higher timeframe trend.
### 5. **Range Trading**
Identify FVG zones at range extremes - price often reverses at these inefficiencies.
## How It Works
**Fair Value Gaps** form when the middle candle creates such aggressive movement that it leaves a price gap between the high/low of surrounding candles. Institutional traders know these gaps get filled.
**Order Blocks** mark the origin of major moves. The last opposite-colored candle before a breakout is where large orders were placed. Price often returns to these zones for "retests" before continuing.
**Mitigation** happens when price returns to fill these zones. The indicator tracks this automatically, showing you which zones are still "fresh" and which have been used up.
## Best Practices
✅ **Use higher timeframe trends** - Always check the MTF panel before taking trades
✅ **Trade fresh zones** - Unmitigated zones (not gray) have the highest probability
✅ **Combine with price action** - Look for rejection wicks and engulfing candles at zones
✅ **Respect zone strength** - VERY STRONG and STRONG zones are most reliable
✅ **Use trend filter** - Especially on lower timeframes to reduce false signals
❌ **Don't overtrade** - Not every zone will react, wait for confirmation
❌ **Don't ignore context** - Check the MTF panel for conflicting trends
❌ **Don't chase** - Wait for price to come to the zone, don't enter mid-zone
## Technical Details
- **Non-repainting**: All zones are drawn on confirmed candles only
- **Performance optimized**: Uses efficient array management with per-type caps
- **Real-time updates**: Zones extend and track mitigation as price moves
- **Universal compatibility**: Works on all markets and timeframes
## Recommended Settings by Style
**Scalping (1m-5m charts):**
- Max zones: 10-15
- Use trend filter: ON
- MTF Panel: Focus on 1m-15m trends
- Remove mitigated: ON (keep chart clean)
**Day Trading (5m-1H charts):**
- Max zones: 15-20
- Use trend filter: ON
- MTF Panel: Focus on 15m-4H trends
- Remove mitigated: OFF (track zone history)
**Swing Trading (1H-D charts):**
- Max zones: 20+
- Use trend filter: Optional
- MTF Panel: Focus on 1H-1D trends
- Remove mitigated: OFF (important zones persist)
---
## Perfect For
- Smart Money Concept (SMC) traders
- ICT methodology followers
- Institutional order flow traders
- Price action traders seeking key zones
- Multi-timeframe analysis enthusiasts
**Compatible with all markets:** Forex, Crypto, Stocks, Indices, Commodities, Futures
*Trade where the institutions trade. Follow the smart money.*
Confluence Execution Engine (2of3)The Confluence Execution Engine is a high-performance logic gate designed to filter out market noise and identify high-probability "Golden" entries. It moves beyond simple indicator signals by acting as a mathematical validator for price action. This engine is designed for the Systematic Trader. It removes the "guesswork" of whether a move is real or an exhaustion pump by requiring a mathematical confluence of volume, multi-timeframe momentum, and volatility-adjusted space.
Why This Tool is Unique:
Multi-Dimensional Scoring, Momentum-Adjusted Stretch, Institutional Fingerprint (RVOL + Spike)
Unlike a standard MACD or RSI, this engine uses a weighted scoring matrix. It pulls a "Bundle" of data (WaveTrend, RSI, ROC) from four different timeframes simultaneously. It doesn't give a signal unless the mathematical weight of all four timeframes crosses your "Hurdle" (Base Threshold).
Standard "overbought" indicators are often wrong during strong trends. This engine uses Dynamic Z-Score logic. The Logic: If the price moves away from the mean, it checks the Rate of Change (ROC). The Result: If momentum is massive, the "Stretch" limit expands. It understands that a "stretched" price is actually a sign of strength in a breakout, not a reason to exit. It only warns of a TRAP RISK when the price is far from the mean but momentum is starting to stall.
The engine is gated by Relative Volume. If the market is "sleepy," the engine stays in "PATIENCE" mode. It specifically hunts for Volume Spikes (default 2.5x average). A signal is only upgraded to "HIGH CONVICTION" when an institutional volume spike occurs, confirming that "Big Money" is participating.
How to Operate the Engine
Define Your Hurdle: Set your Confluence Hurdle. A higher number (e.g., 14+) requires more agreement across timeframes, leading to fewer but higher-quality trades.
Monitor the Z/Dynamic Ratio: In the HUD, watch the Z: X.XX / Y.YY. When X approaches Y, you are reaching the edge of the momentum-adjusted move.
The Entry Trigger: Wait for a "LOOK FOR..." advice to turn into a "HIGH CONVICTION" signal (marked by a triangle shape). This confirms that the MTF scoring, Volume, and HTF Trend are all aligned.
Execute the Lines: Use the red and green "Ghost Lines" to set your orders. These are ATR-based, meaning they widen during high volatility to give your trade room to breathe.
For holistic trading system, pair with Volatility Shield Pro and Session Levels
Session Volume Analyzer [JOAT]
Session Volume Analyzer — Global Trading Session and Volume Intelligence System
This indicator addresses the analytical challenge of understanding market participation patterns across global trading sessions. It combines precise session detection with comprehensive volume analysis to provide insights into when and how different market participants are active. The tool recognizes that different trading sessions exhibit distinct characteristics in terms of participation, volatility, and volume patterns.
Why This Combination Provides Unique Analytical Value
Traditional session indicators typically only show time boundaries, while volume indicators show raw volume data without session context. This creates analytical gaps:
1. **Session Context Missing**: Volume spikes without session context provide incomplete information
2. **Participation Patterns Hidden**: Different sessions have different participant types (retail, institutional, algorithmic)
3. **Comparative Analysis Lacking**: No easy way to compare volume patterns across sessions
4. **Timing Intelligence Absent**: Understanding WHEN volume occurs is as important as HOW MUCH volume occurs
This indicator's originality lies in creating an integrated session-volume analysis system that:
**Provides Session-Aware Volume Analysis**: Volume data is contextualized within specific trading sessions
**Enables Cross-Session Comparison**: Compare volume patterns between Asian, London, and New York sessions
**Delivers Participation Intelligence**: Understand which sessions are showing above-normal participation
**Offers Real-Time Session Tracking**: Know exactly which session is active and how current volume compares
Technical Innovation and Originality
While session detection and volume analysis exist separately, the innovation lies in:
1. **Integrated Session-Volume Architecture**: Simultaneous tracking of session boundaries and volume statistics creates comprehensive market participation analysis
2. **Multi-Session Volume Comparison System**: Real-time calculation and comparison of volume statistics across different global sessions
3. **Adaptive Volume Threshold Detection**: Automatic identification of above-average volume periods within session context
4. **Comprehensive Visual Integration**: Session backgrounds, volume highlights, and statistical dashboards provide complete market participation picture
How Session Detection and Volume Analysis Work Together
The integration creates a sophisticated market participation analysis system:
**Session Detection Logic**: Uses Pine Script's time functions to identify active sessions
// Session detection based on exchange time
bool inAsian = not na(time(timeframe.period, asianSession))
bool inLondon = not na(time(timeframe.period, londonSession))
bool inNY = not na(time(timeframe.period, nySession))
// Session transition detection
bool asianStart = inAsian and not inAsian
bool londonStart = inLondon and not inLondon
bool nyStart = inNY and not inNY
**Volume Analysis Integration**: Volume statistics are calculated within session context
// Session-specific volume accumulation
if asianStart
asianVol := 0.0
asianBars := 0
if inAsian
asianVol += volume
asianBars += 1
// Real-time session volume analysis
float asianAvgVol = asianBars > 0 ? asianVol / asianBars : 0
**Relative Volume Assessment**: Current volume compared to session-specific averages
float volMA = ta.sma(volume, volLength)
float volRatio = volMA > 0 ? volume / volMA : 1
// Volume classification within session context
bool isHighVol = volRatio >= 1.5 and volRatio < 2.5
bool isVeryHighVol = volRatio >= 2.5
This creates a system where volume analysis is always contextualized within the appropriate trading session, providing more meaningful insights than raw volume data alone.
Comprehensive Session Analysis Framework
**Default Session Definitions** (customizable based on broker timezone):
- **Asian Session**: 1800-0300 (exchange time) - Represents Asian market participation including Tokyo, Hong Kong, Singapore
- **London Session**: 0300-1200 (exchange time) - Represents European market participation
- **New York Session**: 0800-1700 (exchange time) - Represents North American market participation
**Session Overlap Analysis**: The system recognizes and highlights overlap periods:
- **London/New York Overlap**: 0800-1200 - Typically the highest volume period
- **Asian/London Overlap**: 0300-0300 (brief) - Transition period
- **New York/Asian Overlap**: 1700-1800 (brief) - End of NY, start of Asian
**Volume Intelligence Features**:
1. **Session-Specific Volume Accumulation**: Tracks total volume within each session
2. **Cross-Session Volume Comparison**: Compare current session volume to other sessions
3. **Relative Volume Detection**: Identify when current volume exceeds historical averages
4. **Participation Pattern Analysis**: Understand which sessions show consistent high/low participation
Advanced Volume Analysis Methods
**Relative Volume Calculation**:
float volMA = ta.sma(volume, volLength) // Volume moving average
float volRatio = volMA > 0 ? volume / volMA : 1 // Current vs average ratio
// Multi-tier volume classification
bool isNormalVol = volRatio < 1.5
bool isHighVol = volRatio >= 1.5 and volRatio < 2.5
bool isVeryHighVol = volRatio >= 2.5
bool isExtremeVol = volRatio >= 4.0
**Session Volume Tracking**:
// Cumulative session volume with bar counting
if londonStart
londonVol := 0.0
londonBars := 0
if inLondon
londonVol += volume
londonBars += 1
// Average volume per bar calculation
float londonAvgVol = londonBars > 0 ? londonVol / londonBars : 0
**Cross-Session Volume Comparison**:
The system maintains running totals for each session, enabling real-time comparison of participation levels across different global markets.
What the Display Shows
Session Backgrounds — Colored backgrounds indicating which session is active
- Pink: Asian session
- Blue: London session
- Green: New York session
Session Open Lines — Horizontal lines at each session's opening price
Session Markers — Labels (AS, LN, NY) when sessions begin
Volume Highlights — Bar coloring when volume exceeds thresholds
- Orange: High volume (1.5x+ average)
- Red: Very high volume (2.5x+ average)
Dashboard — Current session, cumulative volume, and averages
Color Scheme
Asian — #E91E63 (pink)
London — #2196F3 (blue)
New York — #4CAF50 (green)
High Volume — #FF9800 (orange)
Very High Volume — #F44336 (red)
Inputs
Session Times:
Asian Session window (default: 1800-0300)
London Session window (default: 0300-1200)
New York Session window (default: 0800-1700)
Volume Settings:
Volume MA Length (default: 20)
High Volume threshold (default: 1.5x)
Very High Volume threshold (default: 2.5x)
Visual Settings:
Session colors (customizable)
Show/hide backgrounds, lines, markers
Background transparency
How to Read the Display
Background color shows which session is currently active
Session open lines show where each session started
Orange/red bars indicate above-average volume
Dashboard shows cumulative volume for each session today
Alerts
Session opened (Asian, London, New York)
High volume bar detected
Very high volume bar detected
Important Limitations and Realistic Expectations
Session times are approximate and depend on your broker's server timezone—manual adjustment may be required for accuracy
Volume data quality varies significantly by broker, instrument, and market type
Cryptocurrency and some forex markets trade continuously, making traditional session boundaries less meaningful
High volume indicates participation level only—it does not predict price direction or market outcomes
Session participation patterns can change over time due to market structure evolution, holidays, and economic conditions
This tool displays historical and current market participation data—it cannot predict future volume or price movements
Volume spikes can occur for numerous reasons unrelated to directional price movement (news, algorithmic trading, etc.)
Different instruments exhibit different session sensitivity and volume patterns
Market holidays and special events can significantly alter normal session patterns
Appropriate Use Cases
This indicator is designed for:
- Market participation pattern analysis
- Session-based trading schedule planning
- Volume context and comparison across sessions
- Educational study of global market structure
- Supplementary analysis for session-based strategies
This indicator is NOT designed for:
- Standalone trading signal generation
- Volume-based price direction prediction
- Automated trading system triggers
- Guaranteed session pattern repetition
- Replacement of fundamental or sentiment analysis
Understanding Session Analysis Limitations
Session analysis provides valuable context but has inherent limitations:
- Session patterns can change due to economic conditions, holidays, and market structure evolution
- Volume patterns may not repeat consistently across different market conditions
- Global events can override normal session characteristics
- Different asset classes respond differently to session boundaries
- Technology and algorithmic trading continue to blur traditional session distinctions
— Made with passion by officialjackofalltrades
Verified Astro-Table SimplifiedThis script, titled the **Financial Astrological Ephemeris Table**, is designed to be a high-precision astronomical dashboard for TradingView. Unlike standard indicators that rely on price formulas, this script serves as a **digital bridge** between professional Swiss Ephemeris data and your trading chart.
Here is a detailed breakdown of what the script provides and how to maximize its utility.
---
**1. What the Script Provides**
**A. 100% Ephemeris Synchronization**
Most "Astro" indicators in TradingView use "mean motion" math, which drifts over time. This script uses **Static Switch Logic**. By hard-coding the data from the Swiss Ephemeris, the script ensures that the degrees you see on your chart match the physical reality of the sky.
* **Sun & Moon**: Accurate to the degree for the current period.
* **Saturn & Outer Planets**: Corrects the "sign drift" found in other scripts, keeping Saturn in its true position (late Pisces for 2025).
**B. Sign & Degree Tracking**
The script translates raw longitude (0–360°) into the traditional 12-sign zodiac format (`Sign` + `Degree`). This allows you to immediately identify where planets are transiting relative to key price levels.
**C. The Sun-Relative House System**
The script calculates an **Equal House System** based on the Sun's current position.
* This treats the Sun as the "Rising" point for the day's dashboard, showing you how other planets are "angled" relative to the Sun's current solar light.
**D. Stability and Performance**
Because the script uses `barstate.islast`, it only calculates for the most recent candle. This prevents "Runtime Errors" and ensures your TradingView platform remains fast and responsive, even on low-powered laptops.
---
**2. How to Use it Effectively**
**A. Identifying Confluence with Price**
Watch for "Degree Hits." If the table shows **Saturn at 25° Pisces** and your asset is hitting a major resistance level at a number ending in **25** (or a harmonic like 2.50), it signifies a moment of "Astro-Price Confluence." These are often high-probability reversal points.
**B. Customizing the Visual Experience**
You can tailor the dashboard to your specific chart layout via the **Settings (Gear Icon)**:
* **Position**: Move the table to any corner (Top Right, Bottom Left, etc.) so it doesn't block your price action.
* **Transparency**: Adjust the "Background Color" to make the table more subtle or more prominent.
* **Text Size**: If you trade on a mobile device, set the text to "Normal." If you use a 4K monitor, set it to "Tiny" to save space.
**C. Managing the "Switch" Data**
To keep the script accurate for the long term, I will update the `get_pdf_lon` block once a month (or once a year) with the new coordinates from the Swiss Ephemeris.
**D. Directional Trading (The "Dir" Column)**
The script includes a "Direction" column. Use this to track if a planet is **Direct (D)** or **Retrograde (Rx)**.
**Strategy**: If a planet is listed as "D," its influence is considered "forward-moving" and predictable. If you update the code to show "Rx," expect the market sectors associated with that planet to experience "re-evaluations" or delays.
---
### Summary of Benefits for the User
1. **Eliminates Guesswork**: You no longer have to flip between an Ephemeris and TradingView; the data is on your screen.
2. **Historical Analysis**: You can manually change the data in the script to a historical date to see exactly how the "Astro-Weather" looked during a previous market crash or rally.






















