Smooth Cloud + ZigZag VPOC CORE v6📌 Description
The Smooth Cloud + ZigZag VPOC indicator is designed to help traders visualize market structure and potential confluence zones.
Smooth Cloud: Built from smoothed moving averages (EMA, RMA, or HMA), this cloud highlights the underlying short-term trend by shading bullish and bearish phases.
Pivots (ZigZag style): Marks confirmed swing highs and lows, helping to identify support/resistance and breakout areas without repainting.
VPOC (Volume Point of Control): Plots the price level with the highest traded volume, either from a rolling lookback or anchored to a custom date. This often acts as a magnet or reaction level.
ATR Bands: Optional dynamic bands based on volatility to frame potential extension zones.
Signals & Alerts: Generates long/short labels when price breaks pivot levels in line with trend filters, with optional confluence from HTF trend, VPOC, and ATR.
This tool combines trend context, structure, and volume confluence in a single view to support decision-making.
✅ Notes
This script is intended for technical analysis and educational use only.
It does not provide financial advice or guaranteed outcomes.
Signals are purely analytical and should be combined with independent risk management.
אינדיקטורים ואסטרטגיות
Multi-TF FVG Kerze Break AlertHere's a breakdown of the key files:
App.tsx: This is the main component that orchestrates the entire user interface. It manages the application's state, including the input Pine Script, the selected target language, the resulting converted code, and the loading/error states.
services/geminiService.ts: This file handles all communication with the Google Gemini API. It takes the Pine Script and the target language, constructs a detailed prompt instructing the AI on how to perform the conversion, sends the request, and processes the response.
components/CodeEditor.tsx: A reusable UI component that provides a styled for both displaying the input Pine Script and the read-only output.
constants.ts: This file centralizes static data. It contains the list of target languages for the dropdown menu and the default Pine Script code that loads when the application first starts.
index.html & index.tsx: These are the standard entry points for the React application, responsible for setting up the web page and mounting the main App component.
In essence, the application provides a user-friendly interface for developers to convert financial trading algorithms written in TradingView's Pine Script into other popular programming languages, leveraging the power of the Gemini AI model to perform the translation.
Candle Pattern Detector SMC with Alerts @AshokTrendJust Follow Hammer, Inverted Hammer, Hanging Man, Engulfing, volume adn smc consideration,
Trading the candlestick patterns (Hammer, Inverted Hammer, Hanging Man, Bullish/Bearish Engulfing) with volume confirmation adds an important layer of validation, helping to filter false signals and improve trade success. Here’s how to integrate volume into your strategy:
***
### How to Trade Candlestick Patterns with Volume Confirmation
#### 1. Understand Volume Role
- Volume shows the strength behind price moves:
- Higher volume on a pattern (compared to recent average) indicates strong participation, increasing the pattern’s reliability.
- Low volume may mean weak conviction and higher risk of failure.
#### 2. Volume Confirmation Rules
- Define a volume threshold, for example:
- Current candle’s volume > average volume of last 10 or 20 candles (or a fixed multiplier, e.g., 1.2× average).
- For bullish patterns (Hammer, Inverted Hammer, Bullish Engulfing): confirm with rising volume on pattern candle or next candle.
- For bearish patterns (Hanging Man, Bearish Engulfing): confirm with higher volume on pattern candle indicating strong selling.
#### 3. Entry Signals with Volume
- **Bullish Entry:**
- Signal candle (Hammer, Bullish Engulfing, etc.) appears near support or order block.
- Volume on the signal candle or immediate next candle is higher than average.
- Enter long on confirmation candle or close of signal candle.
- **Bearish Entry:**
- Signal candle (Hanging Man, Bearish Engulfing, etc.) appears near resistance or supply zone.
- Volume on the signal candle or immediate next candle exceeds average.
- Enter short on confirmation candle or close of signal candle.
#### 4. Stop Loss & Targets
- Place stop loss just below (for longs) or above (for shorts) the low/high wick of the signal candle or the order block zone.
- Set take profit based on nearby support/resistance, risk-reward ratio, or a fixed number of candle closes.
#### 5. Avoid Trading Without Volume Confirmation
- Reject candles if volume is below threshold to reduce false signals.
### Summary
Trading candlestick patterns combined with volume confirmation ensures only well-supported setups are taken, improving win rates and reducing noisy or fake signals. Volume adds a critical dimension to the SMC candle patterns for binary or any form of trading.
Would you like me to generate a full Pine Script that integrates volume confirmation with the patterns you requested?
US Government Shutdowns – Full History (with durations)이 지표는 1976년 이후 실제로 정부 기능이 중단된 모든 미국 정부 셧다운 기간을 시각화합니다.
S&P500 또는 지정한 심볼 차트 위에 각 셧다운 구간을 세로선과 음영 박스로 표시하고,
각 기간의 지속일수(일) 라벨을 함께 제공합니다.
데이터 출처: 미국 하원 공식 기록 (U.S. House History – Funding Gaps and Shutdowns in the Federal Government)
기능
• 모든 셧다운 구간 자동 표시
• 음영/세로선/라벨 개별 On-Off 가능
• 진행 중인 셧다운은 자동으로 ‘현재 시점까지’ 확장 표시
시장 변동성 분석, 정책 이벤트 리스크 평가, 장기 매크로 백테스트 등에 유용합니다.
This indicator visualizes all official US government shutdown periods since 1976 directly on any selected chart (default: S&P 500).
Each shutdown period is shown with vertical lines and shaded boxes, along with labels indicating the duration in days.
Data Source: U.S. House History – Funding Gaps and Shutdowns in the Federal Government
Features:
• Displays every historical shutdown automatically
• Optional shading, lines, and duration labels
• Ongoing shutdowns dynamically extend to the current date
Useful for analyzing volatility around fiscal policy events and long-term macro correlations.
Smooth Cloud + ZigZag VPOC📝 Indicator Description
The Smooth Cloud + ZigZag VPOC Indicator is a custom tool that combines three well-known concepts into one study:
Smooth Cloud Trend Filter – built from two smoothed EMAs, this visual “cloud” highlights the prevailing trend direction.
When the fast line is above the slow line, the background cloud shades teal (bullish bias).
When the fast line is below the slow line, the cloud shades red (bearish bias).
Confirmed ZigZag Pivots – plots non-repainting swing highs and swing lows using pivot confirmation. This helps traders see important structural turning points and potential breakout zones.
VPOC Approximation (Volume Point of Control) – within a lookback window, the indicator marks the price level with the highest traded volume. This level often acts as a magnet for price or an area of confluence.
Signals & Alerts
A long signal appears when price is trending up, breaks above the last confirmed pivot high, and (optionally) is above the VPOC line.
A short signal appears when price is trending down, breaks below the last confirmed pivot low, and (optionally) is below the VPOC line.
Alerts can be enabled to notify when these conditions occur.
Customization
Inputs allow adjusting the EMA lengths, smoothing factor, pivot sensitivity, and VPOC lookback.
Users can toggle on/off the cloud fill, pivot markers, bar coloring, and VPOC line to match their charting style.
✅ Notes (for compliance)
This script is for technical analysis and educational purposes only.
It does not provide financial advice or guaranteed results.
Signals are intended to highlight trend direction and breakout areas — traders should always confirm with their own risk management and strategy.
BanditExperimental %R and Moving Average Bands. This is just for fun :)
Comment below if you spot a good pattern to trade.
TTM Squeeze Range Lines (with Forward Extension) By Gautam KumarThis TTM Squeeze Range Lines script helps visualize breakout levels by marking the recent squeeze’s high and low, making it easier to identify potential trade setups. Each signal line is extended for visibility, showing possible entry levels after a squeeze.
Interpreting the LinesLight blue background marks periods when the TTM squeeze is active (tight volatility).
Green line is drawn at the highest price during the squeeze, extended forward—this is commonly used as the breakout level for long entries.
Red line shows the lowest price during the squeeze, indicating the bottom of the range—potential stop loss positioning or an invalidation level.
When the squeeze background disappears, the horizontal lines will have just appeared and extended forward for several bars after the squeeze ends.
If the price breaks above the green line (the squeeze high), it signals a possible momentum breakout, which traders often use as a long entry.
The red line can be used for placing stop losses or monitoring failed breakouts if price falls below this level.
Best Practices
Combine these levels with volume and momentum confirmation for strong entries.
Adjust the extension length (number of bars forward) from the settings menu to fit your preference.
For systematic trading, use these breakout signals alongside chart pattern or histogram confirmation.
This makes it easy to visualize strong entry zones based on the end of squeeze compression, supporting both discretionary and automated swing trading approaches
Square Root Price Calculator By ABPinescript to Calculate Square root of Price usefull for Gann Lover
% Change & Range (With SMA)- Calculates the % range and change for each candle
- uses SMA over "n" bars to show the average % range and the average % change for green days and red days
- optional standard deviation line (k bands)
Tchwella Stocks Custom WatermarkThis Pine Script v5 indicator adds a customizable watermark to TradingView charts, displaying key stock information while allowing for flexible positioning and formatting.
📌 Features & Functionality:
✅ Custom Positioning:
• Fixed to the top-left corner.
• Adjustable spacing ensures the text is properly aligned.
✅ Displayed Information (Configurable):
• Company Name & Market Cap (Optional: Shows dynamically calculated market cap)
• Stock Ticker & Timeframe
• Industry & Sector
✅ Customization Options:
• Font Size: Huge, Large, Normal, Small
• Text Color & Transparency: Adjustable
• Proper Left Alignment for a clean, structured display
• Vertical Offset Tweaks to move text down for better visibility
✅ Optimized Table Layout:
• Uses table.new() for persistent placement.
• Added an empty row to fine-tune positioning, ensuring the watermark doesn’t overlap key chart areas.
🔧 Use Case:
Designed for traders who want a clear, customizable stock watermark to enhance their charting experience without obstructing price action.
Feb 1
Release Notes
Updated version: now you can decide your location for the watermark
Micha Stocks Custom Watermark (MSWM) – TradingView Script
This Pine Script v5 indicator adds a customizable watermark to TradingView charts, displaying key stock information while allowing for flexible positioning and formatting.
📌 Features & Functionality:
✅ Custom Positioning:
• Fixed to the top-left corner.
• Adjustable spacing ensures the text is properly aligned.
✅ Displayed Information (Configurable):
• Company Name & Market Cap (Optional: Shows dynamically calculated market cap)
• Stock Ticker & Timeframe
• Industry & Sector
✅ Customization Options:
• Font Size: Huge, Large, Normal, Small
• Text Color & Transparency: Adjustable
• Proper Left Alignment for a clean, structured display
• Vertical Offset Tweaks to move text down for better visibility
✅ Optimized Table Layout:
• Uses table.new() for persistent placement.
• Added an empty row to fine-tune positioning, ensuring the watermark doesn’t overlap key chart areas.
🔧 Use Case:
Designed for traders who want a clear, customizable stock watermark to enhance their charting experience without obstructing price action.
Feb 7
Release Notes
Micha Stocks Custom Watermark – Updated Version 🚀
This updated Micha Stocks Custom Watermark script enhances your TradingView experience by adding an ATR-based volatility signal alongside the existing customizable stock watermark.
🆕 New Features & Improvements:
✅ ATR (14-Day) with Dynamic Volatility Indicator
• Displays the ATR value and its percentage relative to price.
• Includes a color-coded volatility signal:
• 🔴 High Volatility (Above user-defined Red Threshold)
• 🟡 Moderate Volatility (Between Red & Yellow Thresholds)
• 🟢 Low Volatility (Below user-defined Yellow Threshold)
✅ Fully Customizable ATR Thresholds
• Users can set their own ATR % levels for Red, Yellow, and Green signals.
✅ Improved Watermark Customization
• Users can still adjust the position, size, and color of the watermark.
• Includes Company Name, Ticker, Market Cap, Industry, and Sector.
• ATR can be turned on/off in settings for flexibility.
🔧 How to Use:
1️⃣ Go to Indicator Settings → Enable or Disable ATR Display
2️⃣ Adjust ATR % Thresholds to fit your volatility preference
3️⃣ Customize Text Position, Color, and Size to match your chart setup
This update makes it easier to quickly assess market volatility while keeping a clean and professional chart layout.
💡 Why Use This Indicator?
• Effortlessly track key stock info without cluttering your chart.
• Quickly identify volatile conditions using ATR percentage signals.
• Adjust settings on the fly to match your trading strategy.
📢 Update Now & Enjoy a Smarter Charting Experience!
Midpoint Levels day/week/month/high/low /close//@version=5
indicator("Midpoint Levels + Previous Week Close", overlay=true)
// === Inputs for Day Midpoint ===
showDay = input.bool(true, "Show Day Midpoint")
dayColor = input.color(color.orange, "Day Midpoint Color")
dayWidth = input.int(1, "Day Line Thickness", minval=1, maxval=5)
dayStyleOpt = input.string("Solid", "Day Line Style", options= )
dayStyle = dayStyleOpt == "Dashed" ? line.style_dashed : dayStyleOpt == "Dotted" ? line.style_dotted : line.style_solid
// === Inputs for Week Midpoint ===
showWeek = input.bool(true, "Show Week Midpoint")
weekColor = input.color(color.blue, "Week Midpoint Color")
weekWidth = input.int(1, "Week Line Thickness", minval=1, maxval=5)
weekStyleOpt = input.string("Solid", "Week Line Style", options= )
weekStyle = weekStyleOpt == "Dashed" ? line.style_dashed : weekStyleOpt == "Dotted" ? line.style_dotted : line.style_solid
// === Inputs for Month Midpoint ===
showMonth = input.bool(true, "Show Month Midpoint")
monthColor = input.color(color.purple, "Month Midpoint Color")
monthWidth = input.int(1, "Month Line Thickness", minval=1, maxval=5)
monthStyleOpt = input.string("Solid", "Month Line Style", options= )
monthStyle = monthStyleOpt == "Dashed" ? line.style_dashed : monthStyleOpt == "Dotted" ? line.style_dotted : line.style_solid
// === Inputs for Previous Week Close ===
showWeekClose = input.bool(true, "Show Previous Week Close")
prevWeekCloseColor = input.color(color.red, "Previous Week Close Color")
prevWeekCloseWidth = input.int(1, "Week Close Line Thickness", minval=1, maxval=5)
weekCloseStyleOpt = input.string("Solid", "Week Close Line Style", options= )
weekCloseStyle = weekCloseStyleOpt == "Dashed" ? line.style_dashed : weekCloseStyleOpt == "Dotted" ? line.style_dotted : line.style_solid
// === Fetch Previous Highs, Lows, Closes
prevDayHigh = request.security(syminfo.tickerid, "D", high , lookahead=barmerge.lookahead_on)
prevDayLow = request.security(syminfo.tickerid, "D", low , lookahead=barmerge.lookahead_on)
prevWeekHigh = request.security(syminfo.tickerid, "W", high , lookahead=barmerge.lookahead_on)
prevWeekLow = request.security(syminfo.tickerid, "W", low , lookahead=barmerge.lookahead_on)
prevMonthHigh = request.security(syminfo.tickerid, "M", high , lookahead=barmerge.lookahead_on)
prevMonthLow = request.security(syminfo.tickerid, "M", low , lookahead=barmerge.lookahead_on)
prevWeekClose = request.security(syminfo.tickerid, "W", close , lookahead=barmerge.lookahead_on)
// === Calculate Midpoints
dayMid = (prevDayHigh + prevDayLow) / 2
weekMid = (prevWeekHigh + prevWeekLow) / 2
monthMid = (prevMonthHigh + prevMonthLow) / 2
// === Detect new time periods
newDay = ta.change(time("D"))
newWeek = ta.change(time("W"))
newMonth = ta.change(time("M"))
// === Line variables
var line dayLine = na
var line weekLine = na
var line monthLine = na
var line weekCloseLine = na
// === Create/Update Lines Conditionally
if newDay and showDay
if not na(dayLine)
line.delete(dayLine)
dayLine := line.new(bar_index, dayMid, bar_index + 1, dayMid,color=dayColor, width=dayWidth, style=dayStyle, extend=extend.right)
if newWeek
if not na(weekLine)
line.delete(weekLine)
if showWeek
weekLine := line.new(bar_index, weekMid, bar_index + 1, weekMid,color=weekColor, width=weekWidth, style=weekStyle, extend=extend.right)
if not na(weekCloseLine)
line.delete(weekCloseLine)
if showWeekClose
weekCloseLine := line.new(bar_index, prevWeekClose, bar_index + 1, prevWeekClose,color=prevWeekCloseColor, width=prevWeekCloseWidth, style=weekCloseStyle, extend=extend.right)
if newMonth and showMonth
if not na(monthLine)
line.delete(monthLine)
monthLine := line.new(bar_index, monthMid, bar_index + 1, monthMid,color=monthColor, width=monthWidth, style=monthStyle, extend=extend.right)
// okkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
// === Inputs: Previous Day High/Low/Close
showPrevHigh = input.bool(true, "Show Previous Day High")
prevHighColor = input.color(color.green, "Prev Day High Color")
prevHighWidth = input.int(1, "Prev Day High Thickness", minval=1, maxval=5)
prevHighStyleOpt = input.string("Solid", "Prev Day High Style", options= )
prevHighStyle = prevHighStyleOpt == "Dashed" ? line.style_dashed : prevHighStyleOpt == "Dotted" ? line.style_dotted : line.style_solid
showPrevLow = input.bool(true, "Show Previous Day Low")
prevLowColor = input.color(color.maroon, "Prev Day Low Color")
prevLowWidth = input.int(1, "Prev Day Low Thickness", minval=1, maxval=5)
prevLowStyleOpt = input.string("Solid", "Prev Day Low Style", options= )
prevLowStyle = prevLowStyleOpt == "Dashed" ? line.style_dashed : prevLowStyleOpt == "Dotted" ? line.style_dotted : line.style_solid
showPrevClose = input.bool(true, "Show Previous Day Close")
prevCloseColor = input.color(color.navy, "Prev Day Close Color")
prevCloseWidth = input.int(1, "Prev Day Close Thickness", minval=1, maxval=5)
prevCloseStyleOpt = input.string("Solid", "Prev Day Close Style", options= )
prevCloseStyle = prevCloseStyleOpt == "Dashed" ? line.style_dashed : prevCloseStyleOpt == "Dotted" ? line.style_dotted : line.style_solid
prevDayClose = request.security(syminfo.tickerid, "D", close , lookahead=barmerge.lookahead_on)
var line prevHighLine = na
var line prevLowLine = na
var line prevCloseLine = na
// === Previous Day High
if not na(prevHighLine)
line.delete(prevHighLine)
if showPrevHigh
prevHighLine := line.new(bar_index, prevDayHigh, bar_index + 1, prevDayHigh, color=prevHighColor, width=prevHighWidth, style=prevHighStyle, extend=extend.right)
// === Previous Day Low
if not na(prevLowLine)
line.delete(prevLowLine)
if showPrevLow
prevLowLine := line.new(bar_index, prevDayLow, bar_index + 1, prevDayLow,color=prevLowColor, width=prevLowWidth, style=prevLowStyle, extend=extend.right)
// === Previous Day Close
if not na(prevCloseLine)
line.delete(prevCloseLine)
if showPrevClose
prevCloseLine := line.new(bar_index, prevDayClose, bar_index + 1, prevDayClose, color=prevCloseColor, width=prevCloseWidth, style=prevCloseStyle, extend=extend.right)
TTM Squeeze Screener [Pineify]TTM Squeeze Screener for Multiple Crypto Assets and Timeframes
This advanced TradingView Pine script, TTM Squeeze Screener, helps traders scan multiple crypto symbols and timeframes simultaneously, unlocking new dimensions in momentum and volatility analysis.
Key Features
Screen up to 8 crypto symbols across 4 different timeframes in one pane
TTM Squeeze indicator detects volatility contraction and expansion (“squeeze”) phases
Momentum filter reveals potential breakout direction and strength
Visual screener table for intuitive multi-asset monitoring
Fully customizable for symbols and timeframes
How It Works
The heart of this screener is the TTM Squeeze algorithm—a hybrid volatility and momentum indicator leveraging Bollinger Bands, Keltner Channels, and linear momentum analysis. The script checks whether Bollinger Bands are “squeezed” inside Keltner Channels, flagging periods of low volatility primed for expansion. Once a squeeze is released, the included momentum calculation suggests the likely breakout direction.
For each selected symbol and timeframe, the screener runs the TTM Squeeze logic, outputs “SQUEEZE” or “NO SQZ”, and tags momentum values. A table layout organizes the results, allowing rapid pattern recognition across symbols.
Trading Ideas and Insights
Spot multi-symbol volatility clusters—ideal for finding synchronized market moves
Assess breakout potential and direction before entering trades
Scalping and swing trading decisions are enhanced by cross-timeframe momentum filtering
Portfolio managers can quickly identify which assets are about to move
How Multiple Indicators Work Together
This screener unites three essential concepts:
Bollinger Bands : Measure volatility using standard deviation of price
Keltner Channels : Define expected price range based on average true range (ATR)
Momentum : Linear regression calculation to evaluate the direction and intensity after a squeeze
By combining these, the indicator not only signals when volatility compresses and releases, but also adds directional context—filtering false signals and helping traders time entries and exits more precisely.
Unique Aspects
Multi-symbol, multi-timeframe architecture—optimized for crypto traders and market scanners
Advanced table visualization—see all signals at a glance, minimizing cognitive overload
Modular calculation functions—easy to adapt and extend for other asset classes or strategies
Real-time, low-latency screening—built for actionable alerts on fast-moving markets
How to Use
Add the script to a TradingView chart (works on custom layouts)
Select up to 8 symbols and 4 timeframes using input fields (defaults to BTCUSD, ETHUSD, etc.)
Monitor the screener table; “SQUEEZE” highlights assets in potential breakout phase
Use momentum values to judge if the squeeze is likely bullish or bearish
Combine screener insights with manual chart analysis for optimal results
Customization
Symbols: Easily set any ticker for deep market scanning
Timeframes: Adjust to match your trading horizon (scalping, swing, long-term)
Indicator parameters: Refine Bollinger/Keltner/Momentum settings for sensitivity
Visuals: Personalize table layout, color codes, and formatting for clarity
Conclusion
In summary, the TTM Squeeze Screener is a robust, original TradingView indicator designed for crypto traders who demand a sophisticated multi-symbol, multi-timeframe edge. Its combination of volatility and momentum analytics makes it ideal for catching explosive breakouts, managing risk, and scanning the market efficiently. Whether you’re a scalper or swing trader, this screener provides the insights needed to stay ahead of the curve.
DAMMU Buy vs Sell Liquidity + DifferenceIndicator Name:
Buy vs Sell Liquidity + Difference
Purpose:
This indicator helps traders analyze market liquidity by comparing the cumulative buy and sell volumes within a specified timeframe. It shows which side (buyers or sellers) is dominating and the magnitude of the imbalance.
Key Features:
Aggregation Timeframe:
Users can select the timeframe (1, 2, 3, 5, 15, 30 minutes) for which volume is analyzed.
Buy & Sell Volume Calculation:
Buy Volume: Total volume of candles where close > open.
Sell Volume: Total volume of candles where close < open.
Daily Reset:
Totals reset at the start of each new day, ensuring intra-day liquidity analysis.
Difference Calculation:
Shows the absolute difference between buy and sell volumes.
Also calculates the difference as a percentage of total volume.
Percentages:
Displays buy %, sell %, and diff % to 4 decimal places, giving precise insights.
Table Display:
A two-row table in the top-right corner of the chart:
Row 1: Absolute totals for BUY, SELL, and DIFF (full numbers with commas).
Row 2: Percentages for BUY, SELL, and DIFF (4 decimals).
Uses color coding: Green for BUY, Red for SELL, Dynamic for DIFF (based on dominance).
How to Use:
High Buy Volume: Indicates strong buying pressure; bullish sentiment.
High Sell Volume: Indicates strong selling pressure; bearish sentiment.
Large DIFF %: Signals dominant market side; useful for short-term scalping or spotting liquidity imbalance.
Comparing BUY vs SELL %: Helps identify when the market may reverse or continue the trend.
If you want, I can also make a 1-paragraph “trader-friendly” explanation that you could directly include in your Pine Script as a comment or in a strategy guide.
my_strategy_2.0Overview:
This is a high-speed scalping strategy optimized for volatile crypto assets (BTC, ETH, etc.) on timeframes 1m–5m. It combines trend-following SuperTrend with confirmations from MACD, RSI, Bollinger Bands, and volume spikes for precise entries. Focus on quick profits (1–3 ATR) with strict risk control: partial take-profits, stop-loss, and trailing breakeven after the first TP.
Key Signals:
Long: SuperTrend flip up + MACD crossover up + RSI >50 + BB Upper breakout + volume spike + volatility filter (ATR >0.5%).
Short: Similar but downward.
Exits and Risks:
TP: 33% at +1 ATR, 33% at +2 ATR, 34% at +3 ATR (customizable).
SL: Initial at -1 ATR, after TP1 — to breakeven with trailing on BB midline (optional).
Filters: Minimum ATR to avoid flat markets; realistic commissions in backtests.
Recommendations:
Test on 2020–2025 data (out-of-sample 2024+). Expected Win Rate ~55%, Profit Factor >1.8, Drawdown <10%. Ideal for 1–2% risk per trade. Not for beginners — use paper trading.
Disclaimer: Past results do not guarantee future performance. Trade at your own risk.
(Pine v6 code, ready for publication. Author: gopog777 with expert fixes.)
HM2 - Murrey Math Levels# Murrey Math Indicator - Comprehensive Description
## **What is Murrey Math?**
Murrey Math is a trading system developed by T.H. Murrey that divides price action into 8 equal segments (octaves) based on Gann and geometry principles. It automatically identifies key support and resistance levels where price is likely to react, making it a powerful tool for determining entry/exit points and price targets.
## **How It Works**
The indicator:
1. **Analyzes price history** over a lookback period (default 64-200 bars)
2. **Finds the highest high and lowest low** in that period
3. **Calculates a "fractal"** - a geometric scaling factor based on price magnitude
4. **Creates 8 equal divisions** between key levels, plus 4 overshoot levels (total 13 levels)
5. **Labels each level** from -2/8 to +2/8 with their trading significance
## **The 13 Murrey Math Levels**
### **Core Levels (0/8 to 8/8):**
- ** - Ultimate Support** (Blue)
- Extreme oversold condition
- Strong buying opportunity
- Price rarely breaks below this
- ** - Weak, Stall & Reverse** (Orange)
- Weak support level
- Price often stalls and reverses here
- ** - Pivot/Reverse Level** (Red)
- Major support that can become resistance
- Important reversal zone
- ** - Bottom of Trading Range - BUY Zone** (Green)
- Bottom boundary of normal trading
- **Premium BUY zone** - 40% of trading happens between 3/8 and 5/8
- ** - Major Support/Resistance** (Blue)
- **THE MOST IMPORTANT LEVEL**
- The midpoint - best entry/exit level
- Strong pivot point that price respects
- ** - Top of Trading Range - SELL Zone** (Green)
- Top boundary of normal trading
- **Premium SELL zone**
- ** - Pivot/Reverse Level** (Red)
- Major resistance that can become support
- Important reversal zone
- ** - Weak, Stall & Reverse** (Orange)
- Weak resistance level
- Price often stalls and reverses here
- ** - Ultimate Resistance** (Blue)
- Extreme overbought condition
- Strong selling opportunity
- Price rarely breaks above this
### **Overshoot Levels:**
- ** & ** (Gray) - Extreme downside overshoot zones
- ** & ** (Gray) - Extreme upside overshoot zones
- These indicate extreme moves beyond normal trading ranges
## **Trading Zones (from your diagram)**
1. **Consolidation Trading Area** (0/8 to 3/8)
- Price is in a bearish zone
- Look for BUY opportunities near support levels
2. **Normal Trading Area** (3/8 to 5/8)
- **40% of trading occurs here**
- Price oscillates between these boundaries
- Range-bound trading strategies work best
3. **Premium Trading Area** (5/8 to 8/8)
- Price is in a bullish zone
- Look for SELL opportunities near resistance levels
## **Trading Strategies**
### **Buy Signals:**
- Price bounces off 0/8 (ultimate support)
- Price pulls back to 3/8 in an uptrend
- Price breaks above 4/8 after consolidation
### **Sell Signals:**
- Price rejects at 8/8 (ultimate resistance)
- Price rallies to 5/8 in a downtrend
- Price breaks below 4/8 after consolidation
### **Range Trading:**
- Buy near 3/8, sell near 5/8 when price is ranging
- Use 4/8 as the pivot to determine trend direction
## **Key Advantages**
✅ **Objective levels** - No subjective placement
✅ **Self-adjusting** - Automatically recalculates based on recent price action
✅ **Clear trading zones** - Easy to identify support/resistance
✅ **Works on all timeframes** - From 1-minute to monthly charts
✅ **Combines with other indicators** - Works well with RSI, MACD, etc.
## **Important Notes**
- The indicator is **dynamic** - levels update as new highs/lows form
- **4/8 is the most critical level** - price above = bullish, below = bearish
- When price reaches overshoot levels (±1/8, ±2/8), expect strong reversals
- Works best in trending markets; can give false signals in choppy conditions
This geometric approach to support/resistance has been used by traders for decades and remains popular due to its objective, mathematical nature!
Dynamic Sessions - Asia, London, New YorkThis indicator lets you set trading sessions (custom sessions) and print them out as dynamic polyboxes instead of traditional rectangles which lets you identify strong moves and trends easier.
NIFTY Consolidation → Breakout FinderThis indicator defines 5 day consolidation period and breakout label. This works best on a daily chart. Please back test before use.
Palat Trading System Entry Prices (Bear)This script gives you the entry points for 4,5,6,7 consecutive candles which got up closing vs last trading day.
Palat Trading System Entry Prices (Bull)This script gives you the entry points for 4,5,6,7 consequetive candles which got down closing vs last trading day.
Trend-Fib-Pivot Sweep [JopAlgo]Trend-Fib-Pivot Sweep — trend rails + Fib touch rules + sweep logic
Core idea
This tool blends two trend MAs, a rolling Fibonacci grid, and pivot sweep tags so you can do three things quickly:
Trend → MA1 vs MA2 stack and slope
Location → Fib touch/bounce/reject rules
Triggers → sweep → reclaim or trend pullback → continuation
Use the MAs for bias, the Fib levels for where price should react, and the sweeps to spot traps and entries after liquidity grabs.
What you’ll see
MA 1 (default 21, purple) and MA 2 (default 50, gray)
Fib lines from the highest/lowest of your lookback: 0.236 (light blue), 0.382 (green), 0.5 (white), 0.618 (orange), 0.786 (red)
Sweep markers: triangle above = high sweep; triangle below = low sweep
Background: soft green when MA1 > MA2, soft red when MA1 < MA2
Read it fast → Trend (background + MA stack)? Which Fib are we near? Any sweep and reclaim?
How the Fib levels work (and what to do at each)
0.236 → shallow pullback in a strong trend
→ Expect quick bounce continuation.
→ If price closes through 0.236 and stalls, momentum may be cooling; look to 0.382.
0.382 → standard trend pullback
→ In a bullish trend, tests here often bounce and continue.
→ Entry idea: touch/bounce at 0.382 with MA1 above MA2 and rising, then a higher-low and push back above 0.382 → enter.
0.5 → midline / fair value
→ Often the “decision” level.
→ Clean continuation if 0.5 holds; deeper rotation if we accept below (for longs).
0.618 (“golden”) → deep pullback / last line for trend
→ Best risk-defined continuation entries come from rejects/reclaims here.
→ For longs: wick below 0.618, then reclaim 0.618 → long with stop under the sweep low.
0.786 → exhaustive pullback / trap zone
→ If trend is truly alive, 0.786 rejects and snaps back.
→ If we accept beyond 0.786 (closes), expect a full range rotation or trend change.
Touch/bounce rule of thumb
You want to see price interact: touch → reject (wick) → reclaim the level.
A close back above the Fib after a downside probe (or below after an upside probe) is a stronger confirmation than intrabar wicks.
What the MAs do (and how to use them)
MA1 (fast) vs MA2 (slow) define bias and momentum.
MA1 above MA2 and both rising (↗) → bullish regime.
MA1 below MA2 and both falling (↘) → bearish regime.
Flat / crossing often → balance; lean on sweeps and the deeper Fibs (0.5/0.618/0.786).
Interaction with Fibs
Highest quality: Fib level + MA confluence (e.g., 0.382 near MA1).
When MA1 = dynamic trigger: reclaim MA1 at a Fib → continuation signal.
When MA2 = last defense: lose MA2 at 0.5/0.618 → expect deeper rotation.
Sweep logic (why it matters and how to execute)
High sweep = current bar’s high takes out the recent high then fails → liquidity grab above.
Low sweep = current bar’s low takes the recent low then fails → liquidity grab below.
Execution idea
Longs: low sweep into 0.5/0.618/0.786, then reclaim the Fib and, ideally, MA1 → enter; stop under sweep low.
Shorts: high sweep into 0.5/0.382/0.236, then reclaim below the Fib and MA1 → enter; stop above sweep high.
Repaint note
If you enable Lag-Confirmed Pivot Mode, sweep labels are stricter and may “finalize” later (can appear as repaint).
For signals/alerts, prefer non-repaint mode; for review/training, lag-confirmed is fine.
How to trade it (simple playbook)
Direction filter (use MAs first)
Bullish bias → MA1 > MA2 and not flat → look for longs at 0.236/0.382/0.5.
Bearish bias → MA1 < MA2 → look for shorts at 0.236/0.382/0.5 from above.
Entries (two clean templates)
Trend pullback → continuation
→ In bull regime: price pulls to 0.382 or 0.5, shows rejection wick, then reclaims level and MA1 → enter long.
→ In bear regime: mirror with short from above.
Sweep → reclaim
→ Downside sweep through 0.618/0.786, then close back above the Fib and through MA1 → enter long.
→ Upside sweep through 0.382/0.236, then close back below and under MA1 → enter short.
Risk & targets
Stops → beyond the sweep extreme or below/above the reclaimed Fib (structure-based).
Targets → next Fib ladder (e.g., long from 0.5 → target 0.382 → 0.236), or obvious POC/HVNs if you use Volume Profile.
Settings that matter (and how to tune)
MA Types/Lengths
EMA (default fast) = responsive trend read.
SMA/HMA = smoother backbone.
21/50 is a solid default; swing traders can run 34/89.
Fib Lookback
Shorter lookback = tighter range, more sensitive levels;
Longer = broader swing map, fewer interactions but stronger signals.
Sweeps
Sweep Detection Range controls how “recent” the pivot must be (default 10).
Lag-Confirmed mode reduces false sweeps but can finalize later.
Starter presets
Intraday (15m–1H) → MA1 21 EMA, MA2 50 SMA, Fib lookback 100–150, Sweeps 10
Swing (4H) → MA1 34 EMA, MA2 89 SMA, Fib lookback 150–250, Sweeps 10–14
Pattern cheat sheet
0.382 kiss & go (trend day) → quick tag and bounce in bull regime → continuation.
0.5 decision → hold = trend resumes; failure = rotate to 0.618.
0.618 sweep + reclaim → high-quality continuation with tight risk.
0.786 trap → deep flush then snapback; if acceptance persists, expect full rotation.
MA pinch → break → MA1 and MA2 compress, then price breaks and holds a Fib → expansion leg.
Best combos (kept simple)
Volume Profile v3.2 → use VAH/VAL/POC/LVNs as concrete targets; look for Fib + VP confluence.
Anchored VWAP → reclaims/rejections at anchored lines with Fib reaction and MA agreement improve timing.
Common mistakes this helps you avoid
Buying into 0.618/0.786 without a reclaim (catching falling knives).
Fading a 0.236 pullback when MAs are strongly ↗ (fighting trend).
Taking sweeps without a reclaim/confirmation.
Ignoring the MA stack when choosing direction.
Disclaimer
This indicator and write-up are for education only, not financial advice. Trading involves risk; results vary by market, venue, and settings. Test first, act at defined levels, and manage risk. No guarantees or warranties are provided.
Triple VWAP [JopAlgo]Triple VWAP — three volume-weighted rails for trend, pullback, and reversion
Core idea
This is three rolling VWAPs (VWMA-style) with user-set lengths. Together they show:
Trend structure → stack & slope of the three lines
Pullback zones → dynamic VWAP supports/resistances
Reversion risk → distance from the fastest VWAP
Use the stack (fast/medium/slow) for bias, slope for momentum, and distance to avoid chasing.
What you’ll see
VWAP 1 (fast), VWAP 2 (medium), VWAP 3 (slow)
Colors match inputs; each line can be toggled on/off
No bands or extras—just three clean volume-weighted rails
Read it fast → Which line is on top? Are they fanning out or braiding? How far is price from the fast VWAP?
How to use it (simple playbook)
Direction filter
Bullish bias → fast above medium above slow and slopes ↗
Bearish bias → fast below medium below slow and slopes ↘
Entry timing
Trend pullback (with level): In a bullish stack, wait for price to retest fast/medium VWAP at a real level → look for the first higher-low and continuation.
Reclaim / reject: Long when price reclaims fast → medium with holds (mirror for shorts on rejects).
Don’t chase: If price is far above the fast VWAP, wait for a revert toward fast before engaging.
Location first (always)
Act at real references → Volume Profile v3.2 (VAH/VAL/POC/LVNs) and Anchored VWAP
No level → no trade
Quality check (optional)
CVDv1 → prefer Alignment OK, avoid entries when Absorption reads against your side
Entries, exits, risk
Continuation long: Bullish stack ↗, pullback into fast/medium at VAL / AVWAP / LVN, hold → enter
Stop → below structure/last swing • Targets → POC/HVNs or prior swing
Break + retest: Price crosses medium and holds above it, lines begin to fan out ↗ → enter on the retest
Fade to value (advanced): Extended move into VAH with price stretched far from fast VWAP → look for reject and revert toward POC/fast
Trim/Avoid: Into HVNs with lines flattening or braiding → take profits / stand down
Settings that matter (and how to tune)
VWAP Length 1 / 2 / 3 → choose a fast / medium / slow ladder
Shorter = more reactive, more noise
Longer = steadier bias, more lag
Visibility toggles → hide one line if cluttered; many traders keep fast & slow only
Starter presets
Scalp (1–5m) → 20 / 50 / 100
Intraday (15m–1H) → 50 / 100 / 200
Swing (2H–4H) → 50 / 150 / 300
High-vol pairs → 30 / 60 / 120
Pattern cheat sheet
Stack flip: Fast crosses medium, then slow, and all slopes turn ↗ / ↘ → regime change
Triple pinch → expansion: Lines braid tight, then fan out with price holding a level → expansion leg
Kiss & go: Pullback tags fast VWAP in trend and bounces → add/enter with structure
Mean-revert tag: Stretch away from fast into VP edge → revert toward fast/POC
Best combos (kept simple)
Volume Profile v3.2 → entries at VAH/VAL/LVNs, targets at POC/HVNs
Anchored VWAP → session/weekly/event anchors for major reclaims/rejections; use Triple VWAP for day-to-day timing
CVDv1 (optional) → take VWAP-aligned setups with flow; skip when Absorption is against you
Common mistakes this helps you avoid
Trading against the VWAP stack
Chasing far from the fast VWAP
Acting mid-range while lines braid (do less; wait for expansion or edges)
Disclaimer
This indicator and write-up are for education only, not financial advice. Trading involves risk; results vary by market, venue, and settings. Test first, trade at defined levels, and manage risk. No guarantees or warranties are provided.
Chart-prepFxxDanny Chart-Prep
A practical multi-tool script for clean and structured chart preparation.
✨ Features
Weekly Close Levels
Automatically plots the previous week’s close and the week before that, with clear styling to distinguish current and past levels.
Trading Sessions
Colored session boxes for the three key market sessions:
Asia (20:00–23:00 UTC-4)
Europe (02:00–05:00 UTC-4)
New York (08:00–11:00 UTC-4)
Each session box automatically adapts to the session’s high/low range and only keeps the last 5 visible to avoid clutter.
Previous Day’s High & Low
Plots the prior day’s high and low with lines that extend into the current session. Up to 10 days are kept on the chart.
Daily & Weekly Separators
Vertical lines to visually separate days (dotted) and weeks (solid, colored).
Anchored to a rolling price window so the Y-axis scaling stays clean and unaffected.
✅ Benefits
Stay focused with key price levels and session ranges marked automatically.
No need for manual drawing or constant adjustments.
Optimized performance – old objects are automatically removed.
No axis distortion from “infinite” lines or boxes.