[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.
Các mẫu biểu đồ
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)
Double&Triple Pattern[TS_Indie]📌 Description – Double & Triple Pattern Indicator
The Double & Triple Pattern Indicator is developed to help traders systematically and clearly identify Double Top, Double Bottom, Triple Top, and Triple Bottom chart patterns.
⚙️ Core Logic & Working Mechanism
The Double & Triple Pattern Indicator is built on the concept of price swing formation, based on the logic of Trend Entry_0 , which focuses on structured market analysis and price action behavior.
The indicator detects three main swing points (Swing 1, Swing 2, and Swing 3). A Fibonacci Box is then created using Swing A and Swing B as reference points to define the swing detection zone.
When all three swings remain inside the defined Fibonacci Box, the structure is considered a valid Price Action setup.
The indicator then plots key lines on the chart:
➩ Break Line – used to confirm the signal (confirmation)
➩ Cancel Line – used to invalidate the price action if price moves against the conditions
➛ When price breaks the Break Line , the structure is confirmed and a Pending Order is placed at Swing B , with the Stop Loss set at Swing 1.
➛ If price breaks the Cancel Line first, the price action structure is immediately invalidated.
⚙️ Fibonacci Entry Zone & Change SL Settings
➩ When Fibo Entry Zone is set to 0, the Pending Order is placed directly at Swing B.
➩ When the value is greater than 0, the Pending Order is calculated using Fibonacci levels drawn from Swing B to the Stop Loss level.
➩ Change SL allows switching the Stop Loss reference between Swing 1 and Swing A.
⚙️ Min & Max Control for Swing Size : xATR
When enabling Control Size Swing : xATR , the indicator filters Swing B based on the defined Min and Max range.
This allows traders to selectively test larger or smaller swing-based price actions , depending on their trading strategy.
⭐ Pending Order Cancellation Conditions
A Pending Order will be canceled under the following conditions:
1.A new Price Action signal appears on either the Buy or Sell side.
2.When Time Session is enabled, the Pending Order is canceled once price exits the selected session.
🕹 Order Management Rule
When there is an active open position, the indicator restricts the creation of new Pending Orders to prevent overlapping positions.
💡 Double Pattern Example
💡 Triple Pattern Example
⚠️ Disclaimer
This indicator is designed for technical analysis purposes only and does not constitute investment advice.
Users should apply proper risk management and make decisions at their own discretion.
🥂 Community Sharing
If you find parameter settings that work well or produce strong statistical results, feel free to share them with the community so we can improve and develop this indicator together.
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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Infinity RSI📌 Infinity RSI is an analytical indicator that integrates RSI-based trend fluctuations, momentum changes, and volatility structures into a single system.
It features an independent module that scales and displays RSI information on a price chart, and a Supertrend line that changes color according to RSI conditions, allowing you to simultaneously monitor price, momentum, and volatility.
This indicator does not determine a specific direction or guarantee trading results, but rather serves as a reference tool for interpreting market conditions.
■ Calculation Logic
● ① Basic Supertrend (Price-based)
The upper and lower bands are calculated based on the ATR (period and multiple),
and the Supertrend direction is determined based on which band the current price is above or below.
The Supertrend line color changes depending on whether the RSI value is above or below 50.
● ② Extended RSI Calculation
Two methods are provided:
Standard RSI
HMA-based Smoothed RSI
RSI length and smoothing duration are customizable.
Each option has a different purpose, depending on whether you want to interpret momentum changes more gently or more sensitively.
● ③ User-selectable RSI Moving Average
Select from SMA, EMA, HMA, WMA, RMA, and VWMA based on the RSI.
This auxiliary line visually identifies directional deviations in the RSI.
● ④ RSI-based Supertrend
This is one of the indicator's core and unique elements.
The existing Supertrend logic is applied to "RSI values" instead of "price."
It creates an RSI-based ATR band structure and then converts it to a price chart scale.
(Since the RSI range is 0-100, it cannot be directly displayed on the chart.)
Conversion Process:
The RSI Supertrend value is linearly mapped to the recent RSI range → price range.
This process outputs the RSI volatility-based trend in a form that can be directly visualized on the actual price.
■ How to Use
● Price-Based Supertrend + RSI Condition Color
If the RSI is above 50, it is considered a relative strength condition and is displayed in an uptrend color.
If the RSI is below 50, it is displayed in a downtrend color.
→ Supertrend visually distinguishes trend fluctuations.
● Utilizing RSI Moving Averages
The distance or crossover between the RSI and the RSI-MA is used to compare short-term market momentum.
● RSI Supertrend (Scalable)
This module helps interpret RSI movements on a chart "in the same form as price."
Usage Example:
If the RSI trend is strengthening but the price is weak → Check the price response relative to momentum.
Comparing RSI Supertrend and Price Supertrend Transitions
Useful for structural analysis of the gap between the two trends.
The advantage of this module is that it allows you to compare price and RSI changes on a single screen using the same criteria.
■ Visual Elements
Supertrend (Price-Based)
Automatically changes up/down colors based on RSI conditions
Trend lines displayed in a stepline format
RSI Supertrend (Converted to price scale)
Stepline Diamond Style
Reflects specified up/down colors
RSI Moving Average
Displayed with user-selected MA type
Each element does not use strong arrows or buy/sell icons,
and is designed to intuitively observe price, momentum, and volatility trends.
■ Input Parameters
● Price-Based Module
ATR Length
ATR Multiplier
RSI Length
RSI Source
● RSI Settings
RSI Length
RSI Smoothing and Period
MA Length and Type Selection (SMA/HMA/EMA/SMMA/WMA/VWMA)
MA Display
● RSI Supertrend Settings
Factor
ATR Length
● Color Settings
Up Color
Down Color
● Scale Conversion
Lookback Period (for price range/RSI range calculation)
All parameters adjust the sensitivity, response speed, and smoothness of the results.
They are not intended for price prediction or automatic trading signal generation.
■ Repaint Function
Supertrend, RSI Calculation, Moving Average, ATR Calculation
→ No repainting as the values are determined based on the closing price.
RSI Supertrend Scale Conversion
Within the lookback interval used for conversion, the lowest and highest values may be updated during bar printing.
This is a real-time update and is not a recalculation or repaint.
Due to the nature of the indicator, values may change in real-time candlesticks.
The values are fixed when the candlestick closes completely.
■ Purpose
Infinity RSI was designed to facilitate the following analyses:
Observe the flow of RSI-based momentum along with the trend structure.
Map a volatility-based RSI Supertrend directly onto the price.
Compare the inter-structural differences between price-based and RSI-based Supertrends.
Visually interpret the relationship between RSI volatility and actual price, rather than simply reading the RSI value.
This is an analytical tool for intuitively understanding market components, not a tool that provides a conclusion about a specific market direction.
■ Precautions and Limitations
Volatility exists in real-time candlesticks, which is a normal behavior and not a repaint.
Parameters are for data interpretation purposes only and should not be used as entry or exit signals.
Supertrend intervals may vary widely or narrowly depending on market volatility.
EV Pro+Signal📌 EV Pro+Signal is a multifactor analysis tool that integrates multiple moving average structures, Supertrend Cloud, trend level boxes, lines, value area analysis, and volume profiles into a single indicator.
Each module provides different market information, allowing users to simultaneously observe trends, value, volume, and status changes.
This indicator is designed to aid in the visualization of price movements and structural analysis.
■ Calculation Logic
● Moving Average System (MA Framework)
Provides various MA types, including EMA, SMA, HMA, RMA, WMA, LSMA, VWMA, and SMMA.
Checks the multi-alignment status based on the length set from MA1 to MA5.
Calculates the current structural trend based on whether MAs are aligned upward or downward.
● Bullish/Bearish Conditions
Simplified structural assessment based on the relative positions of MA1 to MA5.
MA1 > MA2 > MA3 …: Bullish alignment.
MA1 < MA2 < MA3 …: Bullish alignment. : Downward alignment
(Indicates a structural alignment, not a definitive signal)
● Supertrend Cloud
ATR-based Supertrend
Color-coded by trend direction
Crossover is used as a reference for determining structural changes.
● Trend Level Box (ZLMA-based)
The intersection of the ZLMA and EMAValue is recognized as a structural change point.
A box is created at that point and then expanded to the right with a fixed width.
The top and bottom of the box represent structural levels with support and resistance characteristics.
● Value Area (POC / VAH / VAL)
Volume distribution over the last N intervals.
POC = Price with maximum trading volume.
VAH / VAL = Top and bottom of the Value Area.
Visualized as a box.
● Linear Regression-based Guidelines
Generates guidelines extrapolated from the current slope.
This function does not predict actual prices, but rather "a hypothetical path if the current slope is maintained."
● Right Volume Profile
The price range within the Lookback is divided into horizontal intervals.
The volume for each level is accumulated. Displayed as a heatmap
Color-coded based on upward/downward pressure (delta).
■ How to Use
● Trend Determination
MA Alignment Status
Supertrend Direction
Relative Position of ZLMA and EMAValue
The sections where these three elements move together demonstrate a structurally consistent trend.
● Setting Areas of Interest
Top/Bottom of the Trend Level Box
Value Area Box (VAH/VAL)
Supertrend Line
Right Volume Profile Area
These represent price ranges where the market has reacted in the past,
so users can observe and utilize these sections.
● Selective Use of Each Module
Each function is designed independently,
enabling only the modules you need.
■ Visual Elements
MA 1-5: Indicates uptrend/downtrend based on color changes
Long/Short Markers: Visual indicator based on simple structure alignment
Supertrend Cloud: Highlights trend direction in a cloud format
Trend Level Box: Displays level boxes based on the ZLMA
Value Area Box: Displays VAH/VAL ranges
Linear Projection Line: Displays future guidance lines
Volume Profile: Heatmap of trading volume on the right price range
Probability Table: Summary table of uptrend/downtrend strength
Overall, the chart provides intuitive visual representations of all the elements necessary for chart interpretation.
■ Input Parameters
● Moving Average (MA) Related
MA Type
MA Length (1-5)
Individual MA Activation Options
→ Determines the calculation method and length of each moving average.
● Supertrend
ATR Length
ATR Multiplier
→ Adjusts the Supertrend width and response speed.
● Trend Level Box
Sensitivity (length) Input
→ Changes the EMA interval used for ZLMA calculations.
Select Theme Color
→ Specify Rising/Bearing Colors.
● Value Area
Bar Size
Value %
→ Controls the interval used for VAH/VAL calculations.
● Prediction
Prediction Length
Linear Regression-Based Slope Extrapolation
→ Change the number and style of future lines.
● Volume Profile
Lookback
Price Levels
Color/Transparency
→ Adjusts the degree of volume decomposition by price range.
Each input value changes the visual representation or calculation sensitivity, and is not intended to directly generate trading signals.
■ Repaint Operation
MA / Supertrend / Value Area / Volume Profile
→ No repaint if confirmed based on the closing price.
Trend Level Box (ZLMA Box)
→ The box is created immediately after the crossover of the real-time candlestick, so the value may be updated in real-time.
Prediction Line
→ As this is a future guide, differences may occur when actual prices are formed.
※ There is no repainting of past data after the signal is confirmed.
■ Purpose
EV PRO+Signal is an analytical tool that comprehensively visualizes trends, structure, volume, price range, slope, and strength as a single indicator, allowing users to observe market changes from various perspectives.
This indicator is not intended to predict or guarantee trading decisions, but rather to help users understand the price structure.
■ Precautions and Limitations
All modules are for reference only for market interpretation.
Independent calculations alone cannot determine market direction.
Some modules, such as Value Area and Projection Line, are generated based on historical data and therefore may vary depending on real-time fluctuations.
Due to their complex structure, volatility may appear high on lower timeframes.
Indicators only indicate the timing of structural changes, not trading signals.
The forecast function does not guarantee actual future prices.
Area Trigger Line📌The Area Trigger Line is an analytical tool that detects trend reversals based on the Supertrend, sets an ATR-based range after the reversal, and visually displays the moment when the price breaks out of that range.
This auxiliary indicator is designed to observe the expansion of price structures by combining volatility and trend reversals.
■ Calculation Logic
Supertrend Calculation
The indicator uses the built-in function ta.supertrend() to calculate the trend reversal value (stValue) and direction (stDirection).
If the direction is negative, it is indicated as an uptrend.
If the direction is positive, it is indicated as a downtrend.
The Supertrend is the indicator's key reference point, and a trend reversal is detected when the price crosses it.
ATR-based Trigger Range
The volatility range is calculated using the ATR (Average True Range) and the ATR is applied to the closing price at the reversal point to create an upper or lower range.
Upward Reversal: Close Price + ATR Range
Bearing Reversal: Close Price – ATR Range
This range is used as a trigger line, and structural changes are indicated when the price subsequently breaks out of the range.
Zone Breakout Conditions
The conditions when the price breaks out of the established range are determined by longBreak/shortBreak.
This value is a visual indicator based on simple comparison and does not provide definitive signals or predictions.
■ How to Use
Trend Reversal Detection
When a candlestick crosses a Supertrend, a new reversal point is created, and a volatility-based trigger range is set at that point.
Trigger Range Observation
The range that appears immediately after a Supertrend reversal is used to structurally confirm the potential for price expansion.
Flow analysis can be focused on whether the price remains within or breaks out of this range.
Zone Breakout Confirmation
A triangle marker appears on the chart when the price breaks out of the upper or lower range.
The purpose of this indicator is to highlight movements beyond a specific range.
It is not intended to be interpreted as a trading signal or guarantee future direction.
Visual Highlighting
Candlesticks that have broken out are highlighted with a background color, making it easy to identify structural changes.
■ Visual Elements
Supertrend Line:
Rising condition → Green line
Bearing condition → Red line
ATR Trigger Range:
The upper and lower ranges established after a reversal are displayed as step-like lines.
Visually confirms volatility thresholds.
Breakout Marker:
Triangles are displayed when a range is broken.
Rising breakout → Triangles at the bottom.
Bearing breakout → Triangles at the top.
Candlestick Color Highlighting:
Candlesticks that have broken out are displayed in a semi-transparent color.
Each element is visual information intended to identify structural changes and does not provide any predictive functionality.
■ Input Parameters
Supertrend Settings
ATR Length: The ATR period used to calculate the Supertrend.
Multiplier: A multiplier that determines the threshold for trend reversals.
ATR Range Settings
ATR Range Length: The ATR period used to calculate the trigger range.
ATR Range Multiplier: A multiplier that adjusts the range size.
All input values affect the indicator's sensitivity and visual range adjustments.
There is no guarantee of results or ability to generate a specific direction.
■ Repaint Functionality
Supertrend and ATR calculations are based on confirmed historical data, so
repaints do not occur for already closed candles.
The trend direction may change in active candles.
This is a normal real-time update due to the nature of the calculation method.
■ Purpose
The purpose of the Area Trigger Line is to:
Identify whether the price structure has expanded after a trend reversal.
Visualize trigger ranges based on volatility.
Highlight structural changes in price movement.
The indicator does not predict future market movements or provide specific conclusions.
It is used as a tool to assist analysis.
■ Cautions and Limitations
ATR-based ranges are relative and may widen or narrow depending on market volatility.
In a sideways market, the Supertrend can change frequently, resulting in frequent updates to the range.
The Breakout Marker is a simple visual trigger indicator and is not suitable as a standalone trading criterion.
It is more effective when used in conjunction with other indicators or price structure analysis.
Since real-time candlesticks can change in value, established structures should be interpreted based on the closing candlestick.
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.
Signal Pro📌 Signal Pro is a composite signal-based tool that combines price momentum, volatility, trend reversal structures, and user-adjustable filters to provide multi-layered market analysis.
The indicator combines various input conditions to visually represent structural directional reversals and movements based on past patterns.
Signals are provided for analysis convenience and do not guarantee a specific direction or confirm a forecast.
■ Calculation Logic
Mode System (Auto / Manual)
The indicator offers two operating modes:
Auto Mode:
Key parameters are automatically placed based on predefined signal strength settings (Dynamic / Balanced / Safe).
Sensitivity, smoothing values, trend lengths, and other parameters are automatically adjusted to provide an analysis environment tailored to the user's style.
Manual Mode:
Users can manually configure each length, smoothing value, sensitivity, and other parameters based on their input.
This detailed control allows for tailoring the indicator to a specific strategy structure.
Price Structure Analysis Algorithm
The indicator hierarchically compares a specific number of recent highs and lows, and includes logic to determine which levels of the previous structure (high/low progression) are valid.
This process detects continuity or discontinuity between highs and lows, which serves as supplementary data for determining the status of the trend.
Momentum-Based Directional Change Detection
When the mevkzoo value, calculated in a similar way to the deviation from the centerline (Z-score-based), turns positive or negative, a structural direction change is identified.
At this point of transition, an ATR-based auxiliary line is generated to determine whether the reference point has been crossed.
DMI-Based Filter Conditions
The directional filter is constructed using the ta.dmi() value.
Only when certain conditions (DI+/DI- comparison, ADX structure, etc.) are met, a signal is classified as valid, which helps reduce excessive residual signals.
Position Status Management
This indicator internally tracks up and down trends.
TP level detection
This indicator is intended for visual analysis and does not include trade execution functionality.
■ How to Use
Interpreting the Indicator Active Flow
The indicator operates in the following flow:
Internal momentum transition →
Structure-based level calculation →
ATR-based baseline generation →
Baseline breakout confirmation →
Signal signal when the set filter is passed.
Each condition is best used in combination rather than interpreted independently.
Visual Signal Confirmation
The purpose of this indicator is to help identify structural changes.
TP Detection Indicator
When a specific condition is met in the existing directional flow, a TP number is displayed.
This feature visualizes the structure step by step.
■ Visual Elements
Line and Bar Colors
Bullish Structure → Green
Bearish Structure → Red
Neutral or Filter Not Met → Gray
Structure Lines (EQ Points)
A simple structure line in the form of an at-the-money pattern is placed based on the recent pivot high/low,
to aid in visual recognition of the range.
Candle Color Overlay
Signal Pro changes the candle color itself to intuitively convey real-time status changes.
■ Input Parameters
Mode Selection
Auto Mode: Simply select a style and all parameters will be automatically adjusted.
Manual Mode: Detailed settings for all values are possible.
Stop-Loss Related Inputs
→ Used only as a position closing criterion and does not generate strategy signals.
Entry Length / Smooth / Exit Length, etc.
In Manual Mode, determine the sensitivity and structure analysis length.
Fake Trend Detector
This is an additional filter to reduce trend distortion.
Increasing the value reflects only larger structural changes.
Alert Setting
Select from:
Once per bar
Based on the closing price
■ Repaint Operation
Internal structure-based calculations (high/low comparisons, momentum transitions, etc.) do not repaint for confirmed candles.
However, since most conditions are based on the closing price, and some may fluctuate in real time,
the status of the current candle may change.
The indicator's signals are most stable after the closing price is confirmed.
This is normal behavior due to the nature of the technical calculation method,
and is not a completely non-repaintable signal prediction system.
■ Purpose
Signal Pro supports the following analytical purposes:
Visualizing reversal points in price structure trends
Assisting in determining the likelihood of a trend reversal
Structure recognition based on a combination of momentum and volatility
Providing convenient alerts when conditions are met
The indicator is an analytical tool and does not provide any predictive or guarantee capabilities for future prices.
■ Precautions and Limitations
Because this indicator is a complex set of conditions, it is best used in conjunction with market structure analysis rather than relying solely on signals.
Very low settings can increase sensitivity, leading to frequent structural changes.
Since Auto mode parameters are not optimized for specific market conditions, it may be beneficial to adjust them to Manual mode as needed.
Signals may change during real-time candlesticks, but this is based on real-time calculations, not repaints.
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)
Ripster Clouds + Saty Pivot + RVOL + Trend1. Ripster EMA Clouds (local + higher timeframe)
Local timeframe (your chart TF):
Plots up to 5 EMA clouds (8/9, 5/12, 34/50, 72/89, 180/200 – configurable).
Each cloud is:
One short EMA and one long EMA.
A filled band between them.
Color logic:
Cloud is bullish when short EMA > long EMA (green/blue-ish tone).
Bearish when short EMA < long EMA (red/orange/pink tone).
You can choose:
EMA vs SMA,
Whether to show the lines,
Per-cloud toggles.
MTF Clouds:
Two higher-timeframe EMA clouds:
Cloud 1: 50/55
Cloud 2: 20/21
Computed on a higher TF (default D, but configurable).
Show as thin lines + transparent bands.
Used for:
Visual higher-TF trend,
Optional signal filter (MTF must agree for trades).
2. Saty Pivot Ribbon (time-warped EMAs)
This is basically your Saty Pivot Ribbon integrated:
Uses a “Time Warp” setting to overlay EMAs from another timeframe.
EMAs:
Fast, Pivot, Slow (defaults 8 / 21 / 34).
Clouds:
Fast cloud between fast & pivot EMAs.
Slow cloud between pivot & slow EMAs.
Bullish/bearish colors are distinct from Ripster colors.
Optional highlights:
Can highlight fast/pivot/slow lines separately.
Conviction EMAs:
13 and 48 EMAs (configurable).
When fast conviction EMA crosses over/under slow:
You get triangle arrows (bullish/bearish conviction).
Bias candles:
If enabled, candles are recolored based on:
Price vs Bias EMA,
Candle up/down/doji,
So you see bullish/bearish “bias” directly in candle colors.
3. DTR vs ATR panel (range vs average)
In a small table panel (bottom-center by default):
Computes higher-TF ATR (default 14, TF auto D/W/M, smoothing type selectable).
Measures current range (high–low) on that TF.
Displays:
DTR: X vs ATR: Y Z% (+/-Δ% vs prev)
Where:
Z% = current range / ATR * 100.
Δ% = change vs previous bar’s Z%.
Background color:
Greenish for low move (<≈70%),
Red for high move (≥≈90%),
Yellow in between,
Slightly dimmed when price is below bias EMA.
This tells you: “Is today an average, quiet, or explosive day compared to normal?”
4. SMA Divergence panel
Separate histogram & line panel:
Fast and slow SMAs (default 14 & 30).
Computes price divergence vs SMA in %:
% above/below slow SMA,
% above/below fast SMA.
Shows:
Slow SMA divergence as a semi-transparent column,
Fast SMA divergence as a solid column on top,
EMA of the slow divergence (trend line) colored:
Blue when rising,
Orange/red when falling.
Static upper/lower bands with fill, plus optional zero line.
This gives you a feel for how stretched price is vs its anchors.
5. RVOL table (relative volume)
Small 3×2 table (bottom-right by default):
Inputs:
Average length (default 50 bars),
Optionally show previous candle RVOL.
Calculates:
RVOL now = volume / avg(volume N bars) * 100,
RVOL prev,
RVOL momentum (now – prev) for data window only.
Table columns:
Candle Vol,
RVOL (Now),
RVOL (Prev).
Colors:
200% → “high RVOL” color,
100–200% → “medium RVOL” color,
<100% → “low RVOL” color,
Slightly dimmer if price is below bias EMA.
This is used both visually and optionally as a signal filter (e.g., only trade when RVOL ≥ threshold).
6. Trend Dashboard (Price + 34/50 + 5/12)
Top-right trend box with 3 rows:
Price Action row:
Uses either Bias EMA or custom EMA on close to say:
Bullish (close > trend EMA),
Bearish (close < trend EMA),
Flat.
Ripster 34/50 Cloud row:
Uses 34/50 EMAs: bullish if 34>50, bearish if 34<50.
Ripster 5/12 Cloud row:
Uses 5/12 EMAs: bullish if 5>12, bearish if 5<12.
Then it does a vote:
Counts bullish votes (Price, 34/50, 5/12),
Counts bearish votes,
Depending on mode:
Majority (2 of 3) or Strict (3 of 3).
Output:
Overall Bullish / Bearish / Sideways.
You also get an optional label on the chart like
Overall: Bullish trend with color, and an optional background tint (green/red for bull/bear).
7. VWAP + Buy/Sell Signals
VWAP is plotted as a white line.
Fast “trend” cloud mid: average of 5 & 12 EMAs.
Slow “trend” cloud mid: average of 34 & 50 EMAs.
Buy condition:
5/12 crosses above 34/50 (bullish cloud flip),
Price > VWAP,
Optional filter: MTF Cloud 1 bullish (50/55 on higher TF),
Optional filter: RVOL >= threshold.
Sell condition:
5/12 crosses below 34/50,
Price < VWAP,
Optional same filters but bearish.
When conditions are met:
Plots BUY triangle up below price (distinct teal/green tone).
Plots SELL triangle down above price (distinct magenta/orange tone).
Alert conditions are defined for:
BUY / SELL signals,
Overall Bullish / Bearish / Sideways change,
MTF Cloud 1 trend flips.
8. Data Window metrics
For easy backtesting / inspection via TradingView’s data window, it exposes:
DTR% (Current) and DTR% Momentum,
RVOL% (Now), RVOL% (Prev), RVOL% Momentum.
TL;DR – What does this script do for you?
It turns your chart into a multi-framework trend and momentum dashboard:
Ripster EMA clouds for short/medium trend & S/R.
Saty Ribbon for higher-TF pivot structure and conviction.
RVOL + DTR/ATR for context (is this a big and well-participated move?).
SMA divergence panel for overextension/stretch.
A compact trend table that tells you Price vs 34/50 vs 5/12 in one glance.
Buy/Sell markers + alerts when:
short-term Ripster trend (5/12) flips over/under medium (34/50),
price agrees with VWAP,
plus optional filters (MTF trend and / or RVOL).
Basically: it’s a trend + confirmation + context system wrapped into one indicator, with most knobs configurable in the settings.
Market + Direction + Entry + Hold + Exit v1.5 FINALIndicator Description
Market + Direction + Entry + Hold + Exit is a rule-based intraday trading indicator designed to identify high-quality trend opportunities while filtering out low-probability market conditions.
Instead of relying on a single signal, this indicator combines market activity, trend direction, momentum, structure, and pullback logic into one unified framework. It is built to support disciplined, rule-driven trading rather than discretionary or predictive approaches.
Core Logic
The indicator operates through a multi-layer confirmation process.
First, it evaluates whether the market is active enough to trade. Market activity is determined by volatility expansion, volume participation, and price displacement from VWAP. When sufficient activity is detected, the indicator allows trades to be considered.
Next, directional bias is defined using exponential moving averages and price positioning. This creates a clear long-only or short-only environment and helps avoid counter-trend trades.
Entry Structure
Entries are based on pullbacks within an established trend rather than breakout chasing.
The first valid pullback is marked as the initial entry. If the trend continues and additional controlled pullbacks occur, re-entry opportunities are identified and labeled sequentially. This structure helps traders scale into trends in a systematic and measured way.
Hold Confirmation
While a position is active, the indicator provides hold confirmation using momentum alignment and candle behavior. This is designed to help traders remain in strong trends and reduce premature exits during normal pullbacks.
Exit Logic
Exit signals appear only when two conditions align: market structure failure and clear trend weakening. This approach avoids exits based on minor price noise and focuses on objective trend invalidation.
Intended Use
This indicator is designed for intraday trading and scalping on indices, futures, and cryptocurrency markets. It performs best on lower to mid timeframes such as 3-minute, 5-minute, and 15-minute charts, where trend continuation and pullback behavior are most visible.
Asset Presets
Built-in presets are provided for NQ, Gold, and BTC. Each preset automatically adjusts internal parameters such as volatility thresholds, structure sensitivity, and trend strength filtering.
Important Notes
This indicator does not predict future price movements. It is a decision-support tool designed to help traders align with market conditions, manage entries systematically, and maintain consistency. Risk management, position sizing, and execution remain the responsibility of the user.
지표 설명
Market + Direction + Entry + Hold + Exit는 시장의 흐름이 명확한 구간에서만 거래 기회를 포착하도록 설계된 규칙 기반 인트라데이 트레이딩 지표입니다.
이 지표는 단일 신호에 의존하지 않고, 시장 활성도, 추세 방향, 모멘텀, 가격 구조, 되돌림 조건을 단계적으로 결합하여 낮은 확률의 구간을 걸러내는 데 초점을 둡니다. 예측보다는 정렬과 필터링을 통해 일관된 의사결정을 돕는 것이 목적입니다.
핵심 개념
지표는 여러 단계의 조건을 순차적으로 통과해야 신호를 생성하는 구조로 설계되어 있습니다.
먼저, 현재 시장이 거래하기에 충분히 활성화되어 있는지를 판단합니다. 변동성, 거래량, VWAP 대비 가격 이탈 정도를 기준으로 시장 상태를 평가하며, 일정 기준 이상일 때만 거래를 고려합니다.
이후, 이동평균과 가격 위치를 기반으로 추세 방향을 정의하여 롱 또는 숏 한 방향만 허용합니다. 이를 통해 역추세 진입을 자연스럽게 차단합니다.
진입 구조
진입은 돌파가 아닌 추세 내 되돌림을 기준으로 설계되어 있습니다.
첫 번째 유효한 되돌림 구간을 초기 진입으로 표시하며, 추세가 유지되는 동안 추가적인 되돌림이 발생할 경우 재진입 기회를 순차적으로 제공합니다. 이러한 구조는 감정적인 물타기가 아닌, 규칙 기반의 분할 진입을 가능하게 합니다.
홀드 신호
포지션 보유 중에는 모멘텀 정렬과 캔들 흐름을 통해 추세 지속 여부를 확인할 수 있습니다. 이를 통해 정상적인 조정 구간에서는 성급한 청산을 줄이고, 추세가 유지되는 동안 포지션을 안정적으로 관리할 수 있도록 돕습니다.
청산 로직
청산 신호는 가격 구조 붕괴와 추세 약화가 동시에 확인될 때만 발생합니다. 단기적인 노이즈에 의한 잦은 청산을 피하고, 추세가 객관적으로 무너지는 구간에 집중하도록 설계되었습니다.
활용 대상
이 지표는 인트라데이 트레이딩과 스캘핑에 적합하며, 지수, 선물, 암호화폐 시장에서 활용할 수 있습니다. 특히 3분, 5분, 15분 차트에서 추세와 되돌림 구조가 명확하게 나타나는 환경에서 효과적입니다.
자산 프리셋
NQ, Gold, BTC에 대해 사전 설정된 프리셋이 제공되며, 각 자산의 변동성과 특성에 맞게 내부 파라미터가 자동으로 조정됩니다.
유의 사항
본 지표는 가격의 미래를 예측하지 않습니다. 시장 환경을 정리하고 거래 판단을 보조하는 도구로서 사용되며, 손절 기준과 포지션 사이즈 관리는 사용자 책임입니다.
FVG DUAL HTF ALERTS FINAL DG FVG Dual HTF - Advanced Fair Value Gap Detector with Confluence & Strength Analysis
Professional-grade Fair Value Gap (FVG) detection system designed for precision trading on Gold and other instruments.
🎯 Key Features
Dual Higher Timeframe Analysis
HTF1 & HTF2 Detection: Simultaneously monitors two higher timeframes (default: 15min & 60min) for Fair Value Gaps
Multi-timeframe Confluence: Automatically detects when FVGs align across multiple timeframes for high-probability setups
Customizable Timeframes: Choose from 5min, 15min, 60min, 4H, or Daily for each HTF
Intelligent Strength Scoring System (0-11 Scale)
Our proprietary algorithm rates each FVG based on:
Gap size relative to ATR
Volume analysis vs. average
Current timeframe confluence (★ symbol indicates FVG exists on your chart timeframe)
Session timing (London & New York priority)
HTF confluence bonus
Color-Coded Ratings:
🟢 Lime (8-11): Premium strength - highest probability setups
🟡 Yellow (5-7): Good strength - solid opportunities
⚪ Gray (0-4): Weak strength - proceed with caution
Sweet Spot Entry Zones
Inner Box Technology: Highlights the optimal 10% entry zone within each FVG
BUY/SELL Labels: Clear visual cues for directional bias
Automatic Entry/Stop/Target Lines: Shows precise risk-reward setups on the 3 nearest FVGs
Position Sizing Calculator: Displays dollar values based on your lot size
Advanced Fill Methods
Choose how FVGs are invalidated:
Wick Sweep: Most conservative - requires price to sweep through the gap
Any Touch: Price touches the FVG boundary
Midpoint Reached: 50% fill required
Body Beyond: Strictest - candle body must close through the gap
Comprehensive Market Intelligence Table
Real-time monitoring of:
Gold Daily & Hourly Bias (with pip movement)
BTC Daily & Hourly Bias (optional)
Distance to nearest Bull/Bear FVGs
IN ZONE Indicator: 🔥 Alerts when price enters premium sweet spots
Shows strength rating and HTF source
Color-coded: Premium / Good / Weak / Out
Professional Alert System
HTF1 & HTF2 Zone Entry Alerts
Sweet Spot Entry Alerts (BUY/SELL)
High-Strength FVG Alerts (8+ rating)
Combined "ANY HTF" alerts for maximum flexibility
📊 Default Configuration
Optimized for Gold (XAU/USD) on 3-minute charts
Session Focus: London (8am-12pm GMT) & New York (1:30pm-4pm GMT)
Risk Management: Built-in R:R calculator with customizable stops and targets
🎨 Customization Options
Multiple color schemes for bull/bear zones
Adjustable inner box percentage
Confluence highlighting (bright colors when HTF1 & HTF2 align)
Show/hide individual components
BTC correlation tracking (optional)
⚙️ Technical Specifications
Maximum Display: Up to 50 FVGs per type (HTF1 Bull/Bear, HTF2 Bull/Bear)
Fill Tracking: Monitors touched vs. untouched zones
Lookback Period: Configurable (default: 100 bars for current TF confluence)
Body Close Requirement: Optional strict mode for cleaner signals
📈 Best Used For
Gold (XAU/USD) day trading
Institutional order flow analysis
High-probability reversal setups
Multi-timeframe confirmation strategies
Risk-reward optimization
🔒 Access & Support
This is a private indicator. Contact the owner for details about access and usage.
Disclaimer: This indicator is a tool for technical analysis. Past performance does not guarantee future results. Always use proper risk management and trade responsibly.
Short Version (if space is limited):
FVG Dual HTF - Professional Fair Value Gap System
Advanced FVG detector with dual higher timeframe analysis, intelligent strength scoring (0-11), and multi-timeframe confluence detection. Features sweet spot entry zones, automatic R:R lines, real-time IN ZONE alerts, and comprehensive market intelligence table.
Highlights:
🎯 Dual HTF monitoring (15m/60m default)
⭐ Strength scoring with current TF confluence (★)
📊 Color-coded ratings: Lime (8+) / Yellow (5-7) / Gray (<5)
🎨 Sweet spot inner boxes with BUY/SELL signals
🔔 Professional alert system
💰 Built-in position sizing calculator
📈 Gold Daily/Hourly + BTC bias tracking
Optimized for Gold and BTC. Multiple fill methods, customizable colors, and extensive settings.
Contact owner for access details.
MA 50 / 100 Crossover Candle OnlyTitle:
MA 50 / 100 Crossover Candle Only — Clean Trend Shift Signals
Short Title:
MA50_100Crossover
Tags:
moving-average, crossover, trend, buy-sell, momentum, trend-following, signal, entry
Short Description:
A clean moving average crossover indicator that highlights BUY and SELL signals only on the crossover candle.
Full Description:
The MA 50 / 100 Crossover Candle Only indicator is a classic trend-following tool designed to detect major market direction changes using the crossover between two widely followed moving averages.
It focuses exclusively on the exact crossover candle, helping traders clearly identify trend shifts without cluttering the chart.
By highlighting only the crossover bar, the indicator provides a precise visual cue for potential entry points while maintaining a clean and readable chart layout.
How It Works
The indicator monitors the relationship between a fast and a slow moving average representing medium- and longer-term market behavior.
A BUY signal is generated when the faster average crosses above the slower average.
A SELL signal is generated when the faster average crosses below the slower average.
Only the candle where the crossover occurs is colored and labeled, ensuring clarity and avoiding repetitive signals.
Key Features
Classic MA crossover logic using fixed medium/long-term periods
BUY and SELL signals displayed only on the crossover candle
Clean candle coloring for immediate visual confirmation
Supports multiple MA calculation types (SMA, EMA, WMA, RMA)
Optional on-chart MA labels for clarity
Built-in alerts for both BUY and SELL signals
Compatible with all markets and timeframes
Non-repainting logic
Use Cases
Identifying medium- to long-term trend reversals
Trend-following entry confirmation
Filtering trades in trending markets
Supporting swing and position trading strategies
Confluence tool with price action or support/resistance analysis
Notes
Signals appear only at confirmed crossovers.
The indicator does not attempt to predict price; it reacts to confirmed trend shifts.
Best results are achieved when combined with proper risk management.
Disclaimer
This script is for educational and analytical purposes only and does not constitute financial advice.
Trading involves risk; always confirm signals before executing trades.
Developer
Developed by Abdulrahman Alotaibi — ATA Scripts
One Candle 5min Retest Strategy🚀 One Candle 5min Retest Strategy (OCRS) – Your Morning on Autopilot
Less drawing, more trading.
Sick of drawing the opening range manually every single morning? Or catching yourself FOMOing into trades before the candle even closes? The OCRS Indicator automates the heavy lifting for the "First Candle" / "One Candle Retest" strategy (Scarface Trades style).
It’s basically a tool to keep you honest and save you time.
🧠 Why use it?
Forced Patience: The range lines stay PURPLE while the first 5 minutes are playing out. That’s your sign to chill and wait. No early entries.
Instant Levels: Once the range closes, the lines snap to BLUE (High) and ORANGE (Low) . You see the levels immediately.
The "Zone" Finder: If price breaks out, the script finds the specific Order Block for you (the last contrary candle before the move) and draws the retest box.
Bullish Breakout? Catches the last red candle.
Bearish Breakout? Catches the last green candle.
No Confusion: Markets are messy. If price fakes a pump and then dumps, the indicator keeps the old zone and draws the new one. You see exactly what's happening.
🛠️ The Good Stuff:
Set and Forget: Auto-syncs to NY Open (09:30 EST). Works on any timeframe.
Clean Charts: Lines only run for 90 minutes. No clutter for the rest of the day.
Day Separator: A simple vertical line marks the next session. Perfect for backtesting —you know exactly when to hit pause before the next open.
No Wicks: Boxes only paint when the candle actually closes outside the range. Zero fakeouts.
Your Style: Turn boxes on/off or change colors to match your vibe.
🎯 How to trade it:
Chill for the first 5 minutes (09:30 - 09:35 NY). Purple lines = hands off.
Watch for the break.
Candle CLOSES above Blue? Wait for the Blue Box .
Candle CLOSES below Orange? Wait for the Orange Box .
The Setup: Wait for price to tap back into the box.
Entry: Find your confirmation inside that zone and take the trade.
Keep your morning simple. Install OCRS and trade with clarity.
Note: This is just a tool to help with the strategy. Risk management is still on you.
Triple MA Candle Alert - FINALTitle:
Triple MA Candle Alert — Trend Shift Buy & Sell Signals
Short Title:
Triple - MA - Alert
Tags:
moving-average, trend, crossover, buy-sell, momentum, market-structure, signal, entry
Short Description:
A triple moving average trend indicator that highlights BUY and SELL signals at confirmed trend shifts.
Full Description:
The Triple MA Candle Alert indicator is a trend-following tool designed to detect clear bullish and bearish market transitions using a three–moving-average alignment system.
It focuses on identifying moments when short-term momentum aligns decisively with the broader trend, signaling potential entry opportunities.
The indicator highlights only the initial candle of a new trend phase, helping traders avoid late entries and excessive chart noise.
How It Works
The script monitors the relationship between three moving averages representing short-, mid-, and longer-term market behavior.
A signal is triggered when these averages align in a consistent directional order, indicating a confirmed trend shift.
BUY signal: when bullish alignment begins
SELL signal: when bearish alignment begins
Only the first candle of the new alignment is highlighted to mark the transition point clearly.
Key Features
Triple moving average trend confirmation
Clear BUY and SELL signals at trend transitions
Candle coloring only on the signal bar (no repainting)
Supports multiple MA calculation types (SMA, EMA, WMA, RMA)
Optional on-chart MA labels for clarity
Built-in alerts for BUY and SELL signals
Compatible with all markets and timeframes
Use Cases
Identifying early trend reversals
Trend-following entry confirmation
Filtering trades in trending markets
Supporting swing and intraday trading strategies
Confluence tool with price action or support/resistance
Notes
Signals are generated only at confirmed trend changes.
The indicator does not repaint.
Best results are achieved when used with proper risk management and higher-timeframe trend analysis.
Disclaimer
This script is for educational and analytical purposes only and does not constitute financial advice.
Trading involves risk; always confirm signals before executing trades.
Developer
Developed by Abdulrahman Alotaibi ..





















