ATR + True RangeOne indicator for ATR & TR its a common indictor which can be used as one
instead of 2 different its is trial mode only not to be used with out other references
Grafik Desenleri
Entry Scanner Conservative Option AKeeping it simple,
Trend,
RSI,
Stoch RSI,
MACD, checked.
Do not have entry where there is noise on selection, look for cluster of same entry signals.
If you can show enough discipline, you will be profitable.
CT
ZKNZCN Önceki Bar H/L (Ayrı Kontrol)Bir önceki barın high & low noktalarını çizgi halinde görmeyi sağlar.
Bar Number IndicatorBar Number Indicator
This Pine Script indicator is designed to help intraday traders by automatically numbering candlesticks within a user-defined trading session. This is particularly useful for strategies that rely on specific bar counts (e.g., tracking the 1st, 18th, or 81st bar of the day).
Key Features:
Session-Based Counting: Automatically resets the count at the start of each new session (default 09:30 - 16:00).
Timezone Flexibility: Includes a dropdown to select your specific trading timezone (e.g., America/New_York), ensuring accurate session start times regardless of your local time or the exchange's default setting.
Smart Display Modes: Choose to show "All" numbers, or filter for "Odd" / "Even" numbers to keep your chart clean.
Custom Positioning: Easily place the numbers Above or Below the candlesticks.
Minimalist Design: Numbers are displayed as floating text without distracting background bubbles.
Dynamic Trend Channel - Adaptive Support & Resistance SystemA powerful trend-following indicator that adapts to market conditions in real-time. The Dynamic Trend Channel uses ATR-based volatility measurements to create intelligent support and resistance zones that adjust automatically to price action.
Key Features:
✓ Adaptive channel width based on market volatility (ATR)
✓ Color-coded trend identification (Green = Bullish, Red = Bearish)
✓ Smooth, flowing bands that reduce noise
✓ Breakout signals for high-probability entries
✓ Real-time info table showing trend status and price positioning
✓ Customizable settings for all timeframes
takeshi GPT//@version=5
indicator("猛の掟・初動スクリーナーGPT", overlay = true, timeframe = "", timeframe_gaps = true)
// ======================================================
// ■ 1. パラメータ設定
// ======================================================
// EMA長
emaFastLen = input.int(5, "短期EMA (5)", minval = 1)
emaMidLen = input.int(13, "中期EMA (13)", minval = 1)
emaSlowLen = input.int(26, "長期EMA (26)", minval = 1)
// 出来高
volMaLen = input.int(5, "出来高平均期間", minval = 1)
volMultInitial = input.float(1.3, "出来高 初動ライン (×)", minval = 1.0, step = 0.1)
volMultStrong = input.float(1.5, "出来高 本物ライン (×)", minval = 1.0, step = 0.1)
// 押し目・レジスタンス
pullbackLookback = input.int(20, "直近高値の探索期間", minval = 5)
pullbackMinPct = input.float(5.0, "押し目下限 (%)", minval = 0.0, step = 0.1)
pullbackMaxPct = input.float(15.0, "押し目上限 (%)", minval = 0.0, step = 0.1)
// ピンバー判定パラメータ
pinbarWickRatio = input.float(2.0, "ピンバー下ヒゲ/実体 比率", minval = 1.0, step = 0.5)
pinbarMaxUpperPct = input.float(25.0, "ピンバー上ヒゲ比率上限 (%)", minval = 0.0, step = 1.0)
// 大陽線判定
bigBodyPct = input.float(2.0, "大陽線の最低値幅 (%)", minval = 0.1, step = 0.1)
// ======================================================
// ■ 2. 基本テクニカル計算
// ======================================================
emaFast = ta.ema(close, emaFastLen)
emaMid = ta.ema(close, emaMidLen)
emaSlow = ta.ema(close, emaSlowLen)
// MACD
= ta.macd(close, 12, 26, 9)
// 出来高
volMa = ta.sma(volume, volMaLen)
// 直近高値(押し目判定用)
recentHigh = ta.highest(high, pullbackLookback)
drawdownPct = (recentHigh > 0) ? (recentHigh - close) / recentHigh * 100.0 : na
// ======================================================
// ■ 3. A:トレンド(初動)条件
// ======================================================
// 1. 5EMA↑ 13EMA↑ 26EMA↑
emaUpFast = emaFast > emaFast
emaUpMid = emaMid > emaMid
emaUpSlow = emaSlow > emaSlow
condTrendUp = emaUpFast and emaUpMid and emaUpSlow
// 2. 黄金並び 5EMA > 13EMA > 26EMA
condGolden = emaFast > emaMid and emaMid > emaSlow
// 3. ローソク足が 26EMA 上に2日定着
condAboveSlow2 = close > emaSlow and close > emaSlow
// ======================================================
// ■ 4. B:モメンタム(MACD)条件
// ======================================================
// ヒストグラム縮小+上向き
histShrinkingUp = (math.abs(histLine) < math.abs(histLine )) and (histLine > histLine )
// ゼロライン直下〜直上での上向き
nearZeroRange = 0.5 // ゼロライン±0.5
macdNearZero = math.abs(macdLine) <= nearZeroRange
// MACDが上向き
macdTurningUp = macdLine > macdLine
// MACDゼロライン上でゴールデンクロス
macdZeroCrossUp = macdLine > signalLine and macdLine <= signalLine and macdLine > 0
// B条件:すべて
condMACD = histShrinkingUp and macdNearZero and macdTurningUp and macdZeroCrossUp
// ======================================================
// ■ 5. C:需給(出来高)条件
// ======================================================
condVolInitial = volume > volMa * volMultInitial // 1.3倍〜 初動点灯
condVolStrong = volume > volMa * volMultStrong // 1.5倍〜 本物初動
condVolume = condVolInitial // 「8掟」では1.3倍以上で合格
// ======================================================
// ■ 6. D:ローソク足パターン
// ======================================================
body = math.abs(close - open)
upperWick = high - math.max(close, open)
lowerWick = math.min(close, open) - low
rangeAll = high - low
// 安全対策:0除算回避
rangeAllSafe = rangeAll == 0.0 ? 0.0000001 : rangeAll
bodyPct = body / close * 100.0
// ● 長い下ヒゲ(ピンバー)
lowerToBodyRatio = (body > 0) ? lowerWick / body : 0.0
upperPct = upperWick / rangeAllSafe * 100.0
isBullPinbar = lowerToBodyRatio >= pinbarWickRatio and upperPct <= pinbarMaxUpperPct and close > open
// ● 陽線包み足(bullish engulfing)
prevBearish = close < open
isEngulfingBull = close > open and prevBearish and close >= open and open <= close
// ● 5EMA・13EMAを貫く大陽線
crossFast = open < emaFast and close > emaFast
crossMid = open < emaMid and close > emaMid
isBigBody = bodyPct >= bigBodyPct
isBigBull = close > open and (crossFast or crossMid) and isBigBody
// D条件:どれか1つでOK
condCandle = isBullPinbar or isEngulfingBull or isBigBull
// ======================================================
// ■ 7. E:価格帯(押し目位置 & レジスタンスブレイク)
// ======================================================
// 7. 押し目 -5〜15%
condPullback = drawdownPct >= pullbackMinPct and drawdownPct <= pullbackMaxPct
// 8. レジスタンス突破 → 押し目 → 再上昇
// 直近 pullbackLookback 本の高値をレジスタンスとみなす(現在足除く)
resistance = ta.highest(close , pullbackLookback)
// レジスタンスブレイクが起きたバーからの経過本数
brokeAbove = ta.barssince(close > resistance)
// ブレイク後に一度レジ上まで戻したか
pulledBack = brokeAbove != na ? ta.lowest(low, brokeAbove + 1) < resistance : false
// 現在は再上昇方向か
reRising = close > close
condBreakPull = (brokeAbove != na) and (brokeAbove <= pullbackLookback) and pulledBack and reRising
// ======================================================
// ■ 8. 最終 8条件 & 三点シグナル
// ======================================================
// 8つの掟
condA = condTrendUp and condGolden and condAboveSlow2
condB = condMACD
condC = condVolume
condD = condCandle
condE = condPullback and condBreakPull
all_conditions = condA and condB and condC and condD and condE
// 🟩 最終三点シグナル
// 1. 長い下ヒゲ 2. MACDゼロライン上GC 3. 出来高1.5倍以上
threePoint = isBullPinbar and macdZeroCrossUp and condVolStrong
// 「買い確定」= 8条件すべて + 三点シグナル
buy_confirmed = all_conditions and threePoint
// ======================================================
// ■ 9. チャート表示 & スクリーナー用出力
// ======================================================
// EMA表示
plot(emaFast, color = color.orange, title = "EMA 5")
plot(emaMid, color = color.new(color.blue, 10), title = "EMA 13")
plot(emaSlow, color = color.new(color.green, 20), title = "EMA 26")
// 初動シグナル
plotshape(
all_conditions and not buy_confirmed,
title = "初動シグナル(掟8条件クリア)",
style = shape.labelup,
color = color.new(color.yellow, 0),
text = "初動",
location = location.belowbar,
size = size.small)
// 三点フルシグナル(買い確定)
plotshape(
buy_confirmed,
title = "三点フルシグナル(買い確定)",
style = shape.labelup,
color = color.new(color.lime, 0),
text = "買い",
location = location.belowbar,
size = size.large)
// スクリーナー用 series 出力(非表示)
plot(all_conditions ? 1 : 0, title = "all_conditions (8掟クリア)", display = display.none)
plot(buy_confirmed ? 1 : 0, title = "buy_confirmed (三点+8掟)", display = display.none)
teril 1H EMA50 Harami Reversal Alerts BB Touch teril Harami Reversal Alerts BB Touch (Wick Filter Added + 1H EMA50)
teril Harami Reversal Alerts BB Touch (Wick Filter Added + 1H EMA50)
teril Harami Reversal Alerts BB Touch (Wick Filter Added + 1H EMA50)
teril Harami Reversal Alerts BB Touch (Wick Filter Added + 1H EMA50)
Sessions CET Asia, London, New YorkThis indicator displays the Asia, London, and New York trading sessions in CET time.
Each session is shown with a background highlight and optional labels, making it easy to visualize global market activity and session overlaps.
Useful for intraday traders, breakout strategies, liquidity analysis, and volume-based setups.
Features:
Correct session times adjusted to CET
Visual background zones for Asia, London, New York
Clean layout, minimal visual noise
Supports any timeframe
Helps identify volatility peaks, session opens, and market structure shifts
[Yorsh] BJN iFVG - standalone sizerthis script is a standalone version of the sizer included in the main indicator (BJN iFVG Model) for user requiring ultimate tick-by-tick speed when a trade is in live developing bar.
4-Week Return ColumnsWhat it does
This indicator calculates the cumulative return over each 4-week block (4 weekly bars) for a selected security and plots the result as a column chart on the 4th week of each block.
How it works
Runs on Weekly timeframe (indicator is fixed to W).
For every 4 weekly candles:
Start = Week 1 close
End = Week 4 close
Return = (End / Start - 1) × 100 (if % enabled)
By default, it plots only at the end of Week 4 to keep the chart clean.
Inputs
Use chart symbol: Use the current chart’s symbol (default).
Security (if not using chart): Select a different ticker to calculate returns for.
Show %: Toggle between percent and decimal return.
Rolling 4W return (every week): If enabled, plots the rolling 4-week return on every week instead of only the 4th week.
Notes / limitations
“4-week” means 4 weekly bars, not “the 4th calendar week of the month.”
Weekly bars follow the exchange session calendar, so holidays can slightly shift how weeks align.
Use cases
Compare 4-week momentum across symbols
Spot acceleration/slowdown in trend strength
Identify choppy vs trending phases at a glance
Disclaimer
For educational purposes only. Not financial advice.
Table/Checklist
Suggested default settings
Use chart symbol: ✅ ON
Show %: ✅ ON
Rolling: ❌ OFF (cleaner “block-end” columns)
Western Astrological Cycle Trading Indicator v1.0Western Astrological Cycle Trading Indicator v1.0
Overview
The Western Astrological Cycle Trading Indicator is a comprehensive Pine Script tool that overlays astrological cycles and predictions onto trading charts. It integrates Western astrological theory with technical analysis to provide unique cyclical perspectives on market movements based on planetary and zodiacal alignments.
What It Does
Core Functionality
Astrological Year Mapping:
Assigns each year (2000 onward) a specific planet-zodiac combination
Follows a 10-year planetary cycle and 12-year zodiac cycle
Generates theoretical market predictions based on these combinations
Visual Elements:
Background coloring based on yearly astrological predictions
Detailed information table with comprehensive astrological data
Year labels with zodiac symbols and predictions
Ten-year planetary cycle progress bar
Important year markers (Jupiter, Neptune, etc.)
Astrological calendar showing daily and monthly phases
Trading Insights:
Trend indicators (Bullish/Neutral/Bearish) based on planetary positions
Confidence levels for predictions
Element relationships affecting financial markets
Historical and future astrological phase tracking
How It Works
Technical Implementation
1. Cycle Calculation System
Planetary Cycle: 10-year rotation (Sun, Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto)
Zodiac Cycle: 12-year rotation through all zodiac signs
Calculation:
pinescript
planetIndex = math.floor((year - 2000) % 10)
zodiacIndex = math.floor((year - 2000) % 12)
2. Prediction Engine
Each planet-zodiac combination generates specific predictions
Confidence scores (0-100%) assigned to each prediction
Trend direction determined by planetary attributes:
Bullish: Sun, Jupiter, Venus
Bearish: Mars, Saturn, Pluto
Neutral: Mercury, Uranus, Neptune
3. Visual Rendering System
Multiple label positioning algorithms to prevent overlap
Dynamic table generation with color-coded cells
Progress bar visualization of cycle completion
Time-aware markers that appear only on year transitions
4. Date Management
Comprehensive date calculation functions
Leap year detection
Day/month/year progression tracking
Future/past date predictions
Astrological Logic
The indicator uses traditional Western astrological correspondences:
Planets represent different market energies
Zodiac signs modify and color these energies
Elements (Fire, Earth, Air, Water) show elemental relationships
Modalities (Cardinal, Fixed, Mutable) indicate the nature of change
How to Use It
Installation
Open TradingView platform
Navigate to Pine Editor
Paste the entire script
Click "Add to Chart"
Configuration
Basic Settings
Show Background Color: Toggle prediction-based background coloring
Show Info Table: Display/hide the comprehensive information table
Show Year Labels: Toggle yearly astrological labels on the chart
Customization Options
Year Label Settings:
Choose label color
Adjust font size (small/normal/large)
Toggle year numbers and zodiac symbols
Planetary Cycle Progress:
Display ten-year cycle progress bar
Customize progress bar colors
Adjust position on chart
Marker Lines:
Toggle individual planet markers (Jupiter, Venus/Mars, Saturn/Uranus, Neptune)
Customize marker colors and positions
Adjust marker font sizes
Additional Elements:
Disclaimer display
Trend indicator
Element relationship hints
Current year information
Interpretation Guide
Reading the Information Table
The table provides:
Astro Year: Current planet-zodiac combination
Trend: Bullish/Neutral/Bearish direction
Theoretical Forecast: Market prediction based on astrology
Confidence: Probability score of prediction
Cycle Progress: Position in 10-year planetary cycle
Element Relation: How current element interacts with financial markets
Understanding Visual Elements
Background Colors:
Orange/Green: Bullish years (Sun, Jupiter, Venus)
Red/Brown: Bearish years (Mars, Saturn, Pluto)
Blue/Purple: Neutral/transitional years
Year Labels:
Appear at year transitions
Show planet-zodiac combination
Include prediction summary
Special Markers:
Jupiter Years: Blue markers - potential expansion/bull markets
Neptune Years: Purple markers - cycle endings/uncertainty
Saturn/Uranus Years: Red markers - contraction/revolution
Progress Bar:
Shows current position in 10-year cycle
Indicates years remaining to next Jupiter year
Using the Astrological Calendar
The bottom-right calendar shows:
Daily phases: Current planetary influences
Monthly phases: Broader monthly trends
Trend signals: Daily/monthly direction indicators
Quarterly overview: Longer-term perspectives
Practical Trading Application
Long-term Planning:
Use Jupiter year markers for potential bull market entries
Be cautious during Saturn/Pluto years (potential bear markets)
Note cycle transitions (Neptune years) for market shifts
Medium-term Analysis:
Consider monthly planetary changes for quarterly planning
Use element relationships to understand sector rotations
Short-term Awareness:
Check daily phases for potential reversal days
Monitor trend changes at month transitions
Risk Management:
Reduce position size during low-confidence periods
Increase vigilance during transition years
Use astrological signals as confluence with technical analysis
Alerts System
Enable alerts to receive notifications for:
Year transitions
Important astrological events
Cycle beginnings/endings
Important Notes
Theoretical Nature: This indicator is based on astrological theory, not financial advice
Confluence Trading: Use alongside traditional technical analysis
Backtesting: Always test strategies before live implementation
Risk Management: Never rely solely on astrological signals for trading decisions
Customization Tips
Label Overlap: Adjust label spacing if labels overlap
Performance: Reduce max_lines_count/max_labels_count if experiencing lag
Color Schemes: Customize colors to match your chart theme
Positioning: Adjust marker positions based on your chart's volatility
Disclaimer
This indicator is for educational and research purposes only. It combines astrological theory with technical analysis for experimental purposes. Past performance does not guarantee future results. Always conduct your own research and consult with financial advisors before making trading decisions.
Trend zooming boxThis script clearly find trend.
You will be able to find areas where you get large impulsive moves in history easily. Not too much to describe.
Market Structure High/Low [MaB]📊 Market Structure High/Low
A precision indicator for identifying and tracking market structure through validated swing highs and lows.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 KEY FEATURES
• Automatic Swing Detection
Identifies structural High/Low points using a dual-confirmation system (minimum candles + pullback percentage)
• Smart Trend Tracking
Automatically switches between Uptrend (Higher Highs & Higher Lows) and Downtrend (Lower Highs & Lower Lows)
• Breakout Alerts
Visual markers for confirmed breakouts (Br↑ / Br↓) with configurable threshold
• Sequential Labeling
Clear numbered labels (L1, H2, L3, H4...) showing the exact market structure progression
• Color-Coded Structure Lines
- Green: Uptrend continuation legs
- Red: Downtrend continuation legs
- Gray: Trend inversion points
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ CONFIGURABLE PARAMETERS
• Analysis Start Date: Define when to begin structure analysis
• Min Confirmation Candles: Required candles for validation (default: 3)
• Pullback Percentage: Minimum retracement for confirmation (default: 10%)
• Breakout Threshold: Percentage beyond structure for breakout (default: 1%)
• Table Display: Toggle Market Structure
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 HOW IT WORKS
1. Finds initial swing low using lookback period
2. Tracks price movement for potential High candidates
3. Validates candidates with dual criteria (candles + pullback)
4. Monitors for breakout above High (continuation) or below Low (inversion)
5. Repeats the cycle, building complete market structure
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 BEST USED FOR
• Identifying key support/resistance levels
• Trend direction confirmation
• Breakout trading setups
• Multi-timeframe structure analysis
• Understanding market rhythm and flow
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ NOTES
- Works best on higher timeframes (1H+) for cleaner structure
- Statistics become more reliable with larger sample sizes
- Extension ratios use σ-filtered averages to exclude outliers
- Pullback filter automatically bypasses during extended impulsive moves
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INAZUMA Bollinger BandsThis is an indicator based on the widely used Bollinger Bands, enhanced with a unique feature that visually emphasizes the "strength of the breakout" when the price penetrates the bands.
Main Features and Characteristics
1. Standard Bollinger Bands Display
Center Line (Basis): Simple Moving Average (\text{SMA(20)}).
1 sigma Lines: Light green (+) and red (-) lines for reference.
2 sigma Lines (Upper/Lower Band): The main dark green (+) and red (-) bands.
2. Emphasized Breakout Zones: "INAZUMA / Flare" and "MAGMA"
The key feature is the activation of colored, expanding areas when the candlestick's High or Low breaks significantly outside the \pm 2\sigma bands.
Upper Side (Green Base / Flare):
When the High exceeds the +2\sigma line, a green gradient area expands upwards.
Indication: This visually suggests strong buying pressure or overbought conditions. The color deepens as the price moves further away, indicating higher momentum.
Lower Side (Red Base / Magma):
When the Low falls below the -2 sigma line, a red gradient area expands downwards.
Indication: This visually suggests strong selling pressure or oversold conditions. The color deepens as the price moves further away, indicating higher momentum.
Key Insight: This visual aid helps traders quickly assess the momentum and market excitement when the price moves outside the standard Bollinger Bands range. Use it as a reference for judging trend strength and potential entry/exit points.
Customizable Settings
You can adjust the following parameters in the indicator settings:
Length: The period used for calculating the Moving Average and Standard Deviation. (Default: 20)
StdDev (Standard Deviation): The multiplier for the band width (e.g., 2.0 for -2 sigma). (Default: 2.0)
Source: The price data used for calculation (Default: close).
Victor aimstar past strategy -v1Introducing the ultimate all-in-one DIY strategy builder indicator, With over 30+ famous indicators (some with custom configuration/settings) indicators included, you now have the power to mix and match to create your own custom strategy for shorter time or longer time frames depending on your trading style. Say goodbye to cluttered charts and manual/visual confirmation of multiple indicators and hello to endless possibilities with this indicator.
What it does
==================
This indicator basically help users to do 2 things:
1) Strategy Builder
With more than 30 indicators available, you can select any combination you prefer and the indicator will generate buy and sell signals accordingly. Alternative to the time-consuming process of manually confirming signals from multiple indicators! This indicator streamlines the process by automatically printing buy and sell signals based on your chosen combination of indicators. No more staring at the screen for hours on end, simply set up alerts and let the indicator do the work for you.
Multi-Timeframe CPR Pattern AnalyzerMulti-Timeframe CPR + Advanced Pattern Analyzer
A powerful, all-in-one indicator designed for professional price-action traders who use CPR (Central Pivot Range) as the core of their intraday, positional, and swing-trading strategies.
This script automatically plots Daily, Weekly, and Monthly CPR, identifies major CPR patterns, highlights Developing / Next CPR, and displays everything neatly in an interactive dashboard.
✨ Key Features
1️⃣ Daily, Weekly & Monthly CPR
Fully configurable CPR for all three timeframes
Clean plots with no vertical connector lines
Automatic zone shading
Adjustable line width, transparency, and colors
2️⃣ Support & Resistance (S1–S3, R1–R3)
Choose which timeframe’s S/R you want
Only plotted for the current day/week/month (no cluttering past charts)
Helps traders identify reaction zones and breakout levels
3️⃣ Next / Developing CPR
A unique feature rarely found in CPR indicators.
You can display:
Developing Daily CPR
Developing Weekly CPR
Next Monthly CPR (after month close)
All next/developing CPRs are plotted in a dashed style with optional transparency, plus labels:
“Developing Daily CPR”
“Developing Weekly CPR”
“Next Weekly CPR”
“Next Monthly CPR”
This allows you to anticipate the next session’s CPR in advance, a major edge for intraday, swing, and options traders.
4️⃣ Advanced CPR Pattern Detection
The script automatically detects all important CPR market structures:
📌 Narrow CPR
Uses statistical percentiles based on historical CPR width
Helps identify potential high-volatility breakout days
📌 CPR Width Contraction
Detects compression zones
Excellent for identifying trending days after tight ranges
📌 Ascending / Descending CPR
Bullish trend continuation (Ascending)
Bearish trend continuation (Descending)
📌 Virgin CPR
Highlights untouched CPR zones
Strong support/resistance zones for future days/weeks
📌 Overshoots
Detects:
Bullish Overshoot
Bearish Overshoot
Useful for understanding trend exhaustion.
📌 Breakouts
Identifies when price breaks above TC or below BC, signaling trend shifts.
📌 Rejections
Shows wick-based CPR rejections — reversal cues used by many price-action traders.
5️⃣ CPR Pattern Dashboard
A beautifully formatted dynamic table showing:
For Daily, Weekly, Monthly:
TC, Pivot, BC values
Current CPR Pattern
CPR Width with %
+ Next/Developing CPR values and patterns (for Daily/Weekly)
No need to manually calculate anything — everything is displayed in a clean, compact panel.
6️⃣ Completely Dynamic Across Timeframes
Works on all intraday, daily, weekly, and monthly charts
Automatically adjusts CPR length based on chart timeframe
Perfect for NIFTY, BANKNIFTY, FINNIFTY, stocks, crypto, forex
7️⃣ Alerts Included
Receive alerts for:
Narrow CPR formation
Virgin CPR
CPR breakouts
Pattern transitions
Great for traders who want automated monitoring.
8️⃣ Clean Chart, No Clutter
The script includes:
No vertical connecting lines
S/R only on the current period
Smart hiding of CPR on boundaries (to avoid "jump lines")
Fully toggleable features
You get a professional-grade, clutter-free CPR experience.
🎯 Why This Indicator?
This script goes beyond standard CPR tools by offering:
Next AND Developing CPR
Multi-timeframe CPR analysis
Professional CPR pattern detection
Smart dashboard visualization
Perfect setup for trend traders, reversal traders, and breakout traders
Whether you're scalping, day trading, swing trading, or doing positional analysis — this tool gives you context, structure, and precision.
📌 Recommended Use Cases
Intraday index trading (NIFTY, BANKNIFTY, NIFTY 50 Stocks)
Swing trading stocks
Crypto CPR analysis
Options directional setups
CPR-based breakout and reversal strategies
Trend continuation identification
Understanding volatility days (Narrow CPR Days)
⚠️ Disclaimer
This is a technical tool for chart analysis and does not guarantee profits. Always combine CPR analysis with price action, volume, and risk management.
Order Block Pro📌Order Block Pro is an advanced Smart Money Concepts (SMC) toolkit that automatically detects market structure, order blocks, fair value gaps, BOS/CHoCH shifts, liquidity sweeps, and directional signals—enhanced by a dual-timeframe trend engine, theme-based visual styling, and optional automated noise-cleaning for FVGs.
────────────────────────────────
Theme Engine & Color System
────────────────────────────────
The indicator features 5 professional color themes (Aether, Nordic Dark, Neon, Monochrome, Sunset) plus a full customization mode.
Themes dynamically override default OB, FVG, BOS, CHoCH, EMA, and background colors to maintain visual consistency for any chart style.
All color-based elements—Order Blocks, FVG zones, regime background, EMAs, signals, borders—adjust automatically when a theme is selected.
────────────────────────────────
■ Multi-Timeframe Trend Regime Detection
────────────────────────────────
A dual-layer MTF trend classifier determines the macro/swing environment:
HTF1 (Macro Trend, e.g., 4H)
Trend = EMA50 > EMA200
HTF2 (Swing Trend, e.g., 1H)
Trend = EMA21 > EMA55
Regime Output
+2: Strong bullish confluence
+1: Mild bullish
−1: Mild bearish
−2: Strong bearish
This regime affects signals, coloring, and background shading.
────────────────────────────────
■ Order Block (OB) Detection System
────────────────────────────────
OB detection identifies bullish and bearish displacement candles:
Bullish OB:
Low < Low
Close > Open
Close > High
Bearish OB:
High > High
Close < Open
Close < Low
Each OB is drawn as a forward-extending box with theme-controlled color and opacity.
Stored in an array with automatic cleanup to maintain performance.
✅ 1.Candles ✅ 2.Heikin Ashi
────────────────────────────────
■ Fair Value Gap (FVG) Detection (Two Systems)
────────────────────────────────
The indicator includes two independent FVG systems:
(A) Standard FVG (Gap Based)
Bullish FVG → low > high
Bearish FVG → high < low
Each FVG draws:
A colored gap box
A 50% midpoint line (optional)
Stored in arrays for future clean-up
✅ 1.Candles ✅ 2.Heikin Ashi
(B) Advanced FVG (ATR-Filtered + Deletion Logic)
A second FVG engine applies ATR-based validation:
Bullish FVG:
low > high and gap ≥ ATR(14) × 0.5
Bearish FVG:
high < low and gap ≥ ATR(14) × 0.5
Each is drawn with border + text label (Bull FVG / Bear FVG).
Auto Clean System
Automatically removes FVGs based on two modes:
NORMAL MODE (Default):
Bull FVG deleted when price fills above the top
Bear FVG deleted when price fills below the bottom
REVERSE MODE:
Deletes FVGs when price fails to fill
Useful for market-rejection style analysis.
✅ 1.NORMAL ✅ 2.REVERSE MODE ✅ 3.REVERSE MODE
────────────────────────────────
■ Structural Shifts: BOS & CHoCH
────────────────────────────────
Uses pivot highs/lows to detect structural breaks:
BOS (Bullish Break of Structure):
Triggered when closing above the last pivot high.
CHoCH (Bearish Change of Character):
Triggered when closing below the last pivot low.
Labels appear above/below bars using theme-defined colors.
────────────────────────────────
■ Liquidity Sweeps
────────────────────────────────
Liquidity signals plot when price takes out recent swing highs or lows:
Liquidity High Sweep: pivot high break
Liquidity Low Sweep: pivot low break
Useful for identifying stop hunts and imbalance creation.
────────────────────────────────
■ Smart Signal
────────────────────────────────
A filtered trade signal engine generates directional LONG/SHORT markers based on:
Regime alignment (macro + swing)
Volume Pressure: volume > SMA(volume, 50) × 1.5
Momentum Confirmation: MOM(hlc3, 21) aligned with regime
Proximity to OB/FVG Zones: recent structure touch (barsSince < 15)
EMA34 Crossovers: final trigger
────────────────────────────────
■ Background & Trend EMA
────────────────────────────────
Background colors shift based on regime (bull/bear).
EMA34 is plotted using regime-matched colors.
This provides immediate trend-context blending.
────────────────────────────────
■ Purpose & Notes
────────────────────────────────
Order Block Pro is designed to:
Identify smart-money structure elements (OB, FVG, BOS, CHoCH).
Provide multi-timeframe directional context.
Clean chart noise through automated FVG management.
Generate filtered, high-quality directional signals.
It does not predict future price, guarantee profitability, or issue certified trade recommendations.
FLUXO COMPRA E VENDA MGThe “FLUXO COMPRA E VENDA MG” indicator is a scoring-based system designed to evaluate buying and selling pressure by combining trend, volume, order flow, momentum, and Smart Money concepts (liquidity, sweeps, and FVG).
It does not rely on a single condition. Instead, it aggregates multiple weighted factors and only generates buy or sell signa
AlphaWave Band + Tao Trend Start/End (JH) v1.1AlphaWave Band + Tao Trend Start/End (JH)
이 지표는 **“추세구간만 먹는다”**는 철학으로 설계된 트렌드 시각화 & 트리거 도구입니다.
예측하지 않고,
횡보를 피하고,
이미 시작된 추세의 시작과 끝만 명확하게 표시하는 데 집중합니다.
🔹 핵심 개념
AlphaWave Band
→ 변동성 기반으로 기다려야 할 자리를 만들어 줍니다.
TAO RSI
→ 과열/과매도 구간에서 지금 반응해야 할 순간을 정확히 짚어줍니다.
🔹 신호 구조 (단순 · 명확)
START (▲ 아래 표시)
추세가 시작되는 구간
END (▼ 위 표시)
추세가 종료되는 구간
> 중간 매매는 각자의 전략 영역이며,
이 지표는 추세의 시작과 끝을 시각화하는 데 목적이 있습니다.
🔹 시각적 특징
20 HMA 추세선
상승 추세: 노란색
하락 추세: 녹색
횡보 구간: 중립 색상
기존 밴드와 세력 표시를 훼손하지 않고
추세 흐름만 직관적으로 강조
🔹 추천 사용 구간
3분 / 5분 (단타 · 스캘핑)
일봉 (중기 추세 확인)
> “예측하지 말고, 추세를 따라가라.”
---
📌 English Description (TradingView)
AlphaWave Band + Tao Trend Start/End (JH)
This indicator is designed with one clear philosophy:
“Trade only the trend.”
No prediction.
No noise.
No meaningless sideways signals.
It focuses purely on visualizing the START and END of trend phases.
🔹 Core Concept
AlphaWave Band
→ Defines where you should wait based on volatility.
TAO RSI
→ Pinpoints when price reaction actually matters near exhaustion zones.
🔹 Signal Logic (Clean & Minimal)
START (▲ below price)
Marks the beginning of a trend
END (▼ above price)
Marks the end of a trend
> Entries inside the trend are trader-dependent.
This tool is about structure, not over-signaling.
🔹 Visual Design
20 HMA Trend Line
Uptrend: Yellow
Downtrend: Green
Sideways: Neutral
Trend visualization without damaging existing bands or volume context
🔹 Recommended Timeframes
3m / 5m for scalping & intraday
Daily for higher timeframe trend structure
> “Don’t predict. Follow the trend.”
new takesi_2Step_Screener_MOU_KAKU_FIXED4 (Visible)//@version=5
indicator("MNO_2Step_Screener_MOU_KAKU_FIXED4 (Visible)", overlay=true, max_labels_count=500)
// =========================
// Inputs
// =========================
emaSLen = input.int(5, "EMA Short (5)")
emaMLen = input.int(13, "EMA Mid (13)")
emaLLen = input.int(26, "EMA Long (26)")
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
macdZeroTh = input.float(0.2, "MOU: MACD near-zero threshold", step=0.05)
volLookback = input.int(5, "Volume MA days", minval=1)
volMinRatio = input.float(1.3, "MOU: Volume ratio min", step=0.1)
volStrong = input.float(1.5, "Strong volume ratio (Breakout/KAKU)", step=0.1)
volMaxRatio = input.float(3.0, "Volume ratio max (filter)", step=0.1)
wickBodyMult = input.float(2.0, "Pinbar: lowerWick >= body*x", step=0.1)
pivotLen = input.int(20, "Resistance lookback", minval=5)
pullMinPct = input.float(5.0, "Pullback min (%)", step=0.1)
pullMaxPct = input.float(15.0, "Pullback max (%)", step=0.1)
breakLookbackBars = input.int(5, "Pullback route: valid bars after break", minval=1)
// --- Breakout route (押し目なし初動ブレイク) ---
useBreakoutRoute = input.bool(true, "Enable MOU Breakout Route (no pullback)")
breakConfirmPct = input.float(0.3, "Break confirm: close > R*(1+%)", step=0.1)
bigBodyLookback = input.int(20, "Break candle body MA length", minval=5)
bigBodyMult = input.float(1.2, "Break candle: body >= MA*mult", step=0.1)
requireCloseNearHigh = input.bool(true, "Break candle: close near high")
closeNearHighPct = input.float(25.0, "Close near high threshold (% of range)", step=1.0)
allowMACDAboveZeroInstead = input.bool(true, "Breakout route: allow MACD GC above zero instead")
// 表示
showEMA = input.bool(true, "Plot EMAs")
showMou = input.bool(true, "Show MOU label")
showKaku = input.bool(true, "Show KAKU label")
// ★ここを改善:デバッグ表はデフォルトON
showDebugTbl = input.bool(true, "Show debug table (last bar)")
// ★稼働確認ラベル(最終足に必ず出す)
showStatusLbl = input.bool(true, "Show status label (last bar always)")
locChoice = input.string("Below Bar", "Label location", options= )
lblLoc = locChoice == "Below Bar" ? location.belowbar : location.abovebar
// =========================
// EMA
// =========================
emaS = ta.ema(close, emaSLen)
emaM = ta.ema(close, emaMLen)
emaL = ta.ema(close, emaLLen)
plot(showEMA ? emaS : na, color=color.new(color.yellow, 0), title="EMA 5")
plot(showEMA ? emaM : na, color=color.new(color.blue, 0), title="EMA 13")
plot(showEMA ? emaL : na, color=color.new(color.orange, 0), title="EMA 26")
emaUpS = emaS > emaS
emaUpM = emaM > emaM
emaUpL = emaL > emaL
goldenOrder = emaS > emaM and emaM > emaL
above26_2days = close > emaL and close > emaL
// 勝率維持の土台(緩めない)
baseTrendOK = (emaUpS and emaUpM and emaUpL) and goldenOrder and above26_2days
// =========================
// MACD
// =========================
= ta.macd(close, macdFast, macdSlow, macdSignal)
macdGC = ta.crossover(macdLine, macdSig)
macdUp = macdLine > macdLine
macdNearZero = math.abs(macdLine) <= macdZeroTh
macdGCAboveZero = macdGC and macdLine > 0 and macdSig > 0
macdMouOK = macdGC and macdNearZero and macdUp
macdBreakOK = allowMACDAboveZeroInstead ? (macdMouOK or macdGCAboveZero) : macdMouOK
// =========================
// Volume
// =========================
volMA = ta.sma(volume, volLookback)
volRatio = volMA > 0 ? (volume / volMA) : na
volumeMouOK = volRatio >= volMinRatio and volRatio <= volMaxRatio
volumeStrongOK = volRatio >= volStrong and volRatio <= volMaxRatio
// =========================
// Candle patterns
// =========================
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
pinbar = (lowerWick >= wickBodyMult * body) and (lowerWick > upperWick) and (close >= open)
bullEngulf =
close > open and close < open and
close >= open and open <= close
bigBull =
close > open and
open < emaM and close > emaS and
(body > ta.sma(body, 20))
candleOK = pinbar or bullEngulf or bigBull
// =========================
// Resistance / Pullback route
// =========================
res = ta.highest(high, pivotLen)
pullbackPct = res > 0 ? (res - close) / res * 100.0 : na
pullbackOK = pullbackPct >= pullMinPct and pullbackPct <= pullMaxPct
brokeRes = ta.crossover(close, res )
barsSinceBreak = ta.barssince(brokeRes)
afterBreakZone = (barsSinceBreak >= 0) and (barsSinceBreak <= breakLookbackBars)
pullbackRouteOK = afterBreakZone and pullbackOK
// =========================
// Breakout route (押し目なし初動ブレイク)
// =========================
breakConfirm = close > res * (1.0 + breakConfirmPct / 100.0)
bullBreak = close > open
bodyMA = ta.sma(body, bigBodyLookback)
bigBodyOK = bodyMA > 0 ? (body >= bodyMA * bigBodyMult) : false
rng = math.max(high - low, syminfo.mintick)
closeNearHighOK = not requireCloseNearHigh ? true : ((high - close) / rng * 100.0 <= closeNearHighPct)
mou_breakout =
useBreakoutRoute and
baseTrendOK and
breakConfirm and
bullBreak and
bigBodyOK and
closeNearHighOK and
volumeStrongOK and
macdBreakOK
mou_pullback = baseTrendOK and volumeMouOK and candleOK and macdMouOK and pullbackRouteOK
mou = mou_pullback or mou_breakout
// =========================
// KAKU (Strict): 8条件 + 最終三点
// =========================
cond1 = emaUpS and emaUpM and emaUpL
cond2 = goldenOrder
cond3 = above26_2days
cond4 = macdGCAboveZero
cond5 = volumeMouOK
cond6 = candleOK
cond7 = pullbackOK
cond8 = pullbackRouteOK
all8_strict = cond1 and cond2 and cond3 and cond4 and cond5 and cond6 and cond7 and cond8
final3 = pinbar and macdGCAboveZero and volumeStrongOK
kaku = all8_strict and final3
// =========================
// Display (猛 / 猛B / 確)
// =========================
showKakuNow = showKaku and kaku
showMouPull = showMou and mou_pullback and not kaku
showMouBrk = showMou and mou_breakout and not kaku
plotshape(showMouPull, title="MOU_PULLBACK", style=shape.labelup, text="猛",
color=color.new(color.lime, 0), textcolor=color.black, location=lblLoc, size=size.tiny)
plotshape(showMouBrk, title="MOU_BREAKOUT", style=shape.labelup, text="猛B",
color=color.new(color.lime, 0), textcolor=color.black, location=lblLoc, size=size.tiny)
plotshape(showKakuNow, title="KAKU", style=shape.labelup, text="確",
color=color.new(color.yellow, 0), textcolor=color.black, location=lblLoc, size=size.small)
// =========================
// ★稼働確認:最終足に必ず出すステータスラベル
// =========================
var label status = na
if showStatusLbl and barstate.islast
label.delete(status)
statusTxt =
"MNO RUNNING " +
"MOU: " + (mou ? "YES" : "no") + " (pull=" + (mou_pullback ? "Y" : "n") + " / brk=" + (mou_breakout ? "Y" : "n") + ") " +
"KAKU: " + (kaku ? "YES" : "no") + " " +
"BaseTrend: " + (baseTrendOK ? "OK" : "NO") + " " +
"MACD(mou): " + (macdMouOK ? "OK" : "NO") + " / MACD(zeroGC): " + (macdGCAboveZero ? "OK" : "NO") + " " +
"Vol: " + (na(volRatio) ? "na" : str.tostring(volRatio, format.mintick)) + " " +
"Pull%: " + (na(pullbackPct) ? "na" : str.tostring(pullbackPct, format.mintick))
status := label.new(bar_index, high, statusTxt, style=label.style_label_left,
textcolor=color.white, color=color.new(color.black, 0))
// =========================
// Alerts
// =========================
alertcondition(mou, title="MNO_MOU", message="MNO: MOU triggered")
alertcondition(mou_breakout, title="MNO_MOU_BREAKOUT", message="MNO: MOU Breakout triggered")
alertcondition(mou_pullback, title="MNO_MOU_PULLBACK", message="MNO: MOU Pullback triggered")
alertcondition(kaku, title="MNO_KAKU", message="MNO: KAKU triggered")
// =========================
// Debug table (optional)
// =========================
var table t = table.new(position.top_right, 2, 14, border_width=1, border_color=color.new(color.white, 60))
fRow(_name, _cond, _r) =>
bg = _cond ? color.new(color.lime, 70) : color.new(color.red, 80)
tx = _cond ? "OK" : "NO"
table.cell(t, 0, _r, _name, text_color=color.white, bgcolor=color.new(color.black, 0))
table.cell(t, 1, _r, tx, text_color=color.white, bgcolor=bg)
if showDebugTbl and barstate.islast
table.cell(t, 0, 0, "MNO Debug", text_color=color.white, bgcolor=color.new(color.black, 0))
table.cell(t, 1, 0, "", text_color=color.white, bgcolor=color.new(color.black, 0))
fRow("BaseTrend", baseTrendOK, 1)
fRow("MOU Pullback", mou_pullback, 2)
fRow("MOU Breakout", mou_breakout, 3)
fRow("Break confirm", breakConfirm, 4)
fRow("Break big body", bigBodyOK, 5)
fRow("Break close high", closeNearHighOK, 6)
fRow("Break vol strong", volumeStrongOK, 7)
fRow("Break MACD", macdBreakOK, 8)
fRow("KAKU all8", all8_strict, 9)
fRow("KAKU final3", final3, 10)
fRow("MOU any", mou, 11)
fRow("KAKU", kaku, 12)





















