Candlestick analysis
3 VCT + SMA200//@version=5
indicator("3 VCT + SMA200", overlay=true)
// SMA200
smaLength = 200
sma200 = ta.sma(close, smaLength)
plot(sma200, "SMA200", color=color.orange, linewidth=2)
// Condiciones de velas
isBullish = close > open
isBearish = close < open
// Contador de velas consecutivas
var contraCount = 0
if (close > sma200) // Tendencia alcista → buscamos 3 velas bajistas
if isBearish
contraCount += 1
else
contraCount := 0
else if (close < sma200) // Tendencia bajista → buscamos 3 velas alcistas
if isBullish
contraCount += 1
else
contraCount := 0
// Señal cuando se cumplan 3 consecutivas en contra
signal = (contraCount == 3)
// Mostrar en gráfico
plotshape(signal, title="Señal 3 velas", style=shape.labeldown,
text="", location=location.abovebar,
color=color.red, size=size.tiny, textcolor=color.white)
// Crear condición de alerta
alertcondition(signal, title="3 Velas Contra Tendencia",
message="Se han formado 3 velas en contratendencia respecto a la SMA200.")
LockedEye Trading Navigator**LockedEye Trading Navigator — Summary**
This script is a real-time market decision dashboard designed to prevent impulsive trades by forcing structure, context, and confirmation checks into a single glance. It does not generate blind buy/sell signals. It evaluates market conditions, trend alignment, and risk context before allowing a trade bias.
**Core Purpose**
Acts as a pre-trade checklist, not a signal spammer.
Helps traders wait, filter, and align with structure.
Designed for scalping to intraday trading.
Optimized to reduce FOMO entries and late trades.
**Key Features**
**1. Market State Detection**
Classifies the market into TREND ↑, TREND ↓, or COOKING (ranging/compression).
Uses volatility compression and linear regression slope to prevent trading during low-quality conditions.
**2. Multi-Timeframe Moving Average Alignment**
Tracks trend alignment using EMA 6 & 21 (momentum bias), EMA 50 (mid-trend filter), EMA 200 (macro bias), and EMA 70 & 99 on M15 (higher-timeframe confirmation).
Each MA condition is displayed with directional arrows and color-coded backgrounds.
**3. Break of Structure (BOS)**
Detects bullish or bearish structure breaks based on recent range.
Flags BULL, BEAR, or NO.
Used as structural confirmation, not as a standalone signal.
**4. MACD Momentum Bias**
Evaluates MACD line versus signal line.
Outputs BULL, BEAR, or NONE.
Acts as momentum confirmation for trend continuation or exhaustion.
**5. RSI Divergence Detection**
Detects basic bullish and bearish divergence.
Highlights momentum disagreement with price.
Used as a boost factor, not a trigger.
**6. Candlestick Context**
Identifies bullish engulfing, bearish engulfing, and doji candles.
Used to validate entry timing rather than direction alone.
**7. Volume Behavior**
Compares current volume to a 20-period SMA.
Flags INCREASING or DECREASING to confirm whether price movement is supported by participation.
**8. ICT Candle Logic (Correctly Color-Coded)**
Evaluates the current close relative to the previous candle.
INSIDE: Close remains within the previous high/low, indicating consolidation.
OUTSIDE (Green): Close above previous high, indicating bullish expansion.
OUTSIDE (Red): Close below previous low, indicating bearish expansion.
Helps avoid misreading fake breakouts and inside bars.
**9. Price Location Awareness**
Determines whether price is at SUPPORT, at RESISTANCE, or in MID range.
Ensures trades are only considered where risk is logical.
**10. Final Trade Summary Engine**
Outputs one of four states: LONG OK, SHORT OK, WAIT, or NO TRADE.
Requires trend alignment, MACD agreement, structure and location validation, and at least one supporting confirmation.
**Design Philosophy**
No repainting by default.
No emotional signals.
No hindsight bias.
Forces discipline and patience.
Designed as a decision filter, not a prediction tool.
**Best Use Case**
Scalping and intraday trading.
Traders who struggle with overtrading.
Traders who want structure before execution.
Works best when combined with manual price action reading.
Liquidity Hunter [VectorYield]Liquidity Hunter is a technical analysis tool designed to visualize market structure by identifying key liquidity pools—areas where stop-loss and pending orders are typically clustered. This indicator highlights these levels to help traders analyze potential price reaction zones.
What is Liquidity?
In technical analysis, liquidity refers to price levels where significant trading activity has historically occurred or is expected to occur, such as:
Above old Swing Highs (Buy-side liquidity)
Below old Swing Lows (Sell-side liquidity)
Core Features
1. Multi-Type Liquidity Detection
Plots various categories of market structure:
Structural : Swing Highs/Lows (S-H, S-L) and Equal Highs/Lows (EQH, EQL).
Time-Based : Previous Day, Week, and Month Highs/Lows.
Session-Based : High/Low of Asia, London, and New York sessions.
2. Volume-Based Strength
The indicator analyses volume at the pivot point of a swing. Levels marked as High-Strength (⭐) indicate that the pivot was formed with above-average volume relative to the lookback period.
3. Sweep vs. Break Classification
Distinguishes between price interaction types:
Liquidity Sweep (💰): Price wicks through a level but closes within the range.
Structural Break (▶): Price closes firmly beyond the level.
4. Session & Killzone Visuals
Optionally overlays the Asian, London, and New York trading sessions and specific "Killzone" time windows on the chart.
5. Dashboard
An on-screen dashboard displays the nearest bullish and bearish targets, their distance from current price, and their calculated strength status.
Settings & Customization
Pivot Lookback : Adjust the sensitivity of swing detection.
Session Times : Configure custom start/end times and timezones for session overlays.
Visuals : All colors, line styles, and symbols can be toggled or customized in the settings menu.
Filtered Outside BarPerfect! Let’s create a **TradingView-ready description** with **visual explanations** for your “RSI Filtered Outside Bar” indicator. I’ll include **how it looks on the chart** and **what each feature does** so your post will be professional and clear.
---
# 📊 RSI Filtered Outside Bar – Indicator
**Overlay:** ✅ Yes (Plotted on price chart)
**Purpose:** Detects **bullish and bearish outside bars** filtered by RSI overbought/oversold conditions. Perfect for spotting reversals or continuation setups.
---
## 🔹 Features
| Feature | Description |
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
| **Outside Bar Detection** | Detects consecutive outside bars (user-configurable `Number of Outside Bars`) |
| **RSI Filter** | Only triggers if previous bar RSI is in overbought or oversold zones |
| **Signal Arrows** | Optional bullish (green) and bearish (red) arrows plotted on chart |
| **Signal Lines** | Optional horizontal lines at high/low of the outside bar with configurable length and color |
| **Customizable Inputs** | Users can adjust RSI period, overbought/oversold levels, line color, extension length, arrows visibility |
---
## 🔹 Input Settings
**Outside Bar Settings:**
* Number of Outside Bars
* Show Arrow (✅/❌)
* Show Signal Lines (✅/❌)
* Signal Line Extension Length
* Signal Line Color
**RSI Settings:**
* RSI Length
* RSI Overbought Level
* RSI Oversold Level
---
## 🔹 How It Works (Visual Explanation)
**1️⃣ Bullish Outside Bar Signal**
* Previous bars are bearish
* Current bar is an outside bar (high > previous high, low < previous low)
* RSI of previous bar in overbought/oversold zone
**Chart Example:**
```
High ──────────────●
│
Close ──────────● │
Open ──────────│● │
Low ──────────│ ●
Bullish Arrow ↓ (below bar)
Horizontal line at high & low
```
---
**2️⃣ Bearish Outside Bar Signal**
* Previous bars are bullish
* Current bar is an outside bar
* RSI of previous bar in overbought/oversold zone
**Chart Example:**
```
High ──────────●│
Open ──────────│●│
Close──────────│ │●
Low ──────────●
Bearish Arrow ↑ (above bar)
Horizontal line at high & low
```
---
## 🔹 Notes
* Works on **any timeframe**
* Overlay on price chart, so arrows and lines are visible directly on candles
* Lines extend automatically based on user-defined length
* Arrow color, size, and line color are configurable
---
✅ **Trading Strategy Use Cases:**
* Spot potential **reversals** after RSI extremes
* Identify **high probability breakout bars**
* Combine with support/resistance or trend indicators
optionboss1. Dual-Directional Scalping Intelligence
This optionboss is built to identify high-probability Call (CE) and Put (PE) opportunities in real-time. It eliminates guesswork by providing clear "BUY CE" and "BUY PE" labels directly on the candles when the trend is ready to reverse or extend.
2. Proprietary "Dual Space" Logic
The script uses a specialized "Distance-from-Mean" calculation. It only triggers signals when the price is overextended (far from the baseline), ensuring you aren't trading in the "choppy" middle zone. This significantly reduces false signals compared to standard indicators.
3. Automatic T1 Target Projection
Stop wondering where to take profits. The optionboss automatically draws a T1 Target Line the moment a signal appears.
4. Candlestick "Elimination" Verification
The signal logic is based on institutional price action. A "BUY CE" only triggers when a green candle successfully "takes out" the high of a previous red candle at an extreme level, confirming that buyers have seized control.
5. Clean & Stealth Interface
Designed for professional traders who want a clean chart. The core moving averages are hidden behind generic "Sensitivity" settings to protect the strategy’s secrets. You get clear, non-repainting labels that stay fixed once the candle closes.
6. Fully Customizable for All Markets
While optimized for 5-minute scalping, the "Primary" and "Secondary" sensitivity inputs allow you to tune the engine for Nifty, Bank Nifty, Forex, or Crypto.
How to get access:
"This is a private, Invite-Only script. To maintain the quality of the signals and protect the strategy, access is restricted to authorized users. Please message me directly for subscription details and to have your TradingView username added to the access list."
Genesis Vector Ontology [GVO]Overview:
The Genesis Vector Ontology (GVO) is a high-fidelity market analysis tool designed to identify the "Birth" (Genesis) of market trends by calculating the transition from potential energy to kinetic movement. It treats price action not as a random walk, but as a vibrational field that "collapses" into a directional vector when market mass and tension reach a critical threshold.
Core Mathematical Logic:
Ontological Potential (Ψ): Based on the volatility-vibration principle, Ψ measures the energy stored in the price field. Using a normalized standard deviation, the script identifies "Squeeze" states where energy is compressed and ready for release.
Gravitational Mass (g(m)):
Unlike traditional volume indicators, GVO calculates "Mass" as a ratio of current volume relative to a moving average. A move is only considered "Real" (Ontologically Actualized) if it exceeds the user-defined Mass Threshold.
The Vector Resultant: The final Genesis Vector is the product of Potential, Mass, and Directional Momentum ($Vector = \Psi \cdot g(m) \cdot Direction$). This provides a smoothed representation of the true market wave, filtering out noise.
The Mizan (Fairness) Filter: Unique to the GVO framework is the Fairness Filter. By integrating the Money Flow Index (MFI), the script monitors "Greed" and "Fear" zones. It prevents entries in "Unfair" zones (extremes), ensuring that signals occur only when the market is in a state of balanced participation.
How to Use:
Charging (Grey Columns): Market is in a Squeeze state. Energy is building.
Release (Green/Red Columns): Ontological collapse detected. A new vector has been born.
GVO Signals: Labels appear when a Squeeze is released with high-mass confirmation and directional clarity.
FX_IDC_MYRIDRMYRIDR is the foreign exchange (Forex) ticker for the Malaysian Ringgit to Indonesian Rupiah currency pair. It tracks the exchange rate, representing how many Indonesian Rupiahs (IDR) are required to purchase one Malaysian Ringgit (MYR).
NQ 15m (SIGNALS ONLY, LOCKED, No Flip/Repaint)A buy and sell indicator made for the 15 minute NQ1! chart. The script is made to filter out the non tradable candles and looks for entries 3 minutes after the candle fires and then again at 4 minutes after the candle opens.
NQ1! 15m | NO FLIP | BUY/SELL AlertsA buy and sell alert for the 15minute candle NQ1! chart. Indicator is designed to weed out the non tradable candles and fires 4 minutes after the open of a candle.
Quarterly Cycles [Daye's Theory] with LabelsDescription:
This indicator automates the Quarterly Theory (also known as Cycle Days Theory), popularized by traders like Daye. It divides time into four distinct quarters to help traders identify the algorithmic phases of price delivery: Accumulation, Manipulation, Distribution, and Continuation (or Reversal).
Unlike standard cycle indicators that just color the background, this script draws High/Low Boxes around each quarter. This makes it significantly easier to spot SMT Divergences (Smart Money Technique) and liquidity sweeps between correlated assets (e.g., comparing the Q2 box on NQ vs. ES).
Key Features:
Fully Adaptive Timeframes: The indicator automatically switches modes based on your chart:
Intraday (1m - 30m): Shows Daily Cycles (Asia, London, NY AM, NY PM).
Weekly (1H - 2H): Shows Weekly Cycles (Mon, Tue, Wed, Thu).
Monthly (4H+): Shows Monthly Cycles (Week 1, Week 2, Week 3, Week 4).
New York Time Locked: All calculations are hardcoded to New York time (EST/EDT). You do not need to change your chart's timezone settings; the boxes will always appear at the correct algorithmic times.
True Open & Equilibrium:
True Open Line: Automatically plots a line from the Open of Q2 (e.g., Midnight NY). Price above this line suggests a Long bias; below suggests Short.
50% Equilibrium: (Optional) Toggle a midline to easily see if price is in Premium or Discount relative to the quarter's range.
Settings:
Fully customizable colors for Q1-Q4.
Toggle labels, borders, and the "True Open" line.
Main Killer Filter (Sweep + Displacement + Entry Zone) v6 masterMadrid session shading (NY AM + NY Pre-lunch in Madrid time by default)
5m “setup zone” creation (sweep + displacement → then uses nearest FVG as entry zone)
Touch logic: 2nd touch default + optional early entry
1m confirmation labels that only appear when a 5m setup is active (pulled via request.security)
Toggle confirmation mode:
Mode 1: displacement candle out of zone
Mode 2: displacement + BOS
IDX_ADROPT Alamtri Resources Indonesia Tbk (ADRO), formerly PT Adaro Energy Indonesia Tbk, is an integrated Indonesian mining and energy group focusing on coal, minerals, and renewable energy. The company is one of Indonesia's largest coal producers, operating across the entire supply chain from exploration to logistics. As of December 19, 2025, ADRO's stock price was IDR 1,900.0, with a market capitalization of approximately IDR 55.39 trillion.
IDX_TLKMPT Telkom Indonesia (Persero) Tbk (TLKM) is Indonesia's largest state-owned telecommunications and information and communication technology (ICT) services provider. The company provides a comprehensive range of services, including mobile, fixed-line, internet, and data communication services through its extensive infrastructure network. As of December 19, 2025, TLKM's stock price was IDR 3,430.0, with a market capitalization of approximately IDR 337.8 trillion.
IDX_PANIPT Pantai Indah Kapuk Dua Tbk (PANI), formerly PT Pratama Abadi Nusa Industri Tbk, is an Indonesian property developer specializing in the Pantai Indah Kapuk 2 (PIK 2) area, a strategic region along the northern coastline of Jakarta and Tangerang. The company shifted its core business from can manufacturing and fishery to real estate development after a change in controlling shareholders in 2021.
As of December 19, 2025, PANI's stock price was IDR 13,150.0, with a market capitalization of approximately IDR 239.14 trillion.
IDX_UNVRPT Unilever Indonesia Tbk (UNVR) is a leading Indonesian fast-moving consumer goods (FMCG) company, producing and distributing a wide range of products across home care, personal care, beauty, wellbeing, and food segments. As of December 19, 2025, UNVR's stock price was IDR 2,640.0, with a market capitalization of approximately IDR 105.68 trillion
IDX_GGRMPT Gudang Garam Tbk (GGRM) is a prominent Indonesian tobacco company specializing in the manufacture and sale of kretek (clove) cigarettes both domestically and internationally. As of December 19, 2025, GGRM's stock price was IDR 13,025.0, with a market capitalization of approximately IDR 25.35 trillion.
IDX_INPCPT Bank Artha Graha Internasional Tbk (INPC) is an Indonesian private bank providing general banking services, including savings, loans, and e-banking, through a variety of segments. As of December 19, 2025, INPC's stock price was IDR 148.0, with a market capitalization of approximately IDR 2.96 trillion.
IDX_BNGAPT Bank CIMB Niaga Tbk (BNGA) is a major Indonesian private bank that provides a full range of banking products and services, including retail, corporate, and Sharia banking, through its extensive network and digital platforms. As of December 19, 2025, BNGA's stock price was IDR 1,755.0, with a market capitalization of approximately IDR 44.38 trillion.
IDX_BDMNPT Bank Danamon Indonesia Tbk (BDMN) is a diversified Indonesian bank that provides general and Sharia-based banking, with core business segments in retail (including micro-banking and consumer financing) and wholesale banking (serving commercial and corporate customers). As of December 19, 2025, BDMN's stock price was IDR 2,450.0 with a market capitalization of approximately IDR 23.71 trillion. The bank is majority-owned by the Japanese financial giant MUFG Bank, Ltd., which holds a 92.47% stake.
IDX_BBTNPT Bank Tabungan Negara (Persero) Tbk (BBTN) is an Indonesian state-owned bank that specializes in the housing finance sector, particularly providing mortgages (KPR) for low- to middle-income individuals and a range of conventional and Sharia banking services. As of December 19, 2025, BBTN's stock price was IDR 1,175.0, with a market capitalization of approximately IDR 16.42 trillion.
IDX_BBRIPT Bank Rakyat Indonesia (Persero) Tbk (BBRI) is the oldest commercial bank in Indonesia, predominantly focused on serving the micro, small, and medium enterprises (MSME) segment. As of December 19, 2025, BBRI's stock price was IDR 3,780.0 with a market capitalization of approximately IDR 566.7 trillion.
Market State & Candlestick Patterns Made in ChinaIndicator Overview
The Market State & Candlestick Patterns Master (MSCP-Master) is a comprehensive, all-in-one technical analysis indicator that combines real-time market state identification with multiple candlestick pattern recognition. This powerful tool not only identifies classic price action patterns but also adapts their significance based on the current market volatility environment, providing context-aware trading signals for smarter decision-making.
Core Innovation: Adaptive Pattern Recognition
Traditional candlestick pattern indicators work in isolation, often giving false signals in the wrong market conditions. MSCP-Master revolutionizes this approach by:
First assessing market state (Low Volatility/Ranging/High Volatility) through a multi-dimensional scoring system
Then applying different confirmation criteria for each pattern based on the detected market state
Finally providing context-aware signals that are more reliable because they consider the broader market environment
Three-Layer Analysis System
Layer 1: Market State Identification (The Foundation)
Uses four key metrics to calculate a comprehensive market state score:
ATR Relative Volatility: Measures current volatility against historical norms
Bollinger Band Width: Identifies contraction/expansion periods
Amplitude Analysis: Evaluates recent price range activity
Momentum Strength: Assesses directional movement power
Based on the composite score, the market is classified into:
🔵 Low Volatility: Tight ranges, potential for breakout
🟡 Ranging: Normal oscillation within established bounds
🟢 High Volatility: Wide ranges, strong momentum moves
Layer 2: Pattern Recognition With Context Adaptation
Each pattern uses different confirmation logic based on market state:
High Volatility State: Uses SMA-based trend confirmation (Long/Short SMA comparison)
Low Volatility/Ranging States: Uses ATR-adjusted threshold confirmation (dynamic based on current vs. baseline volatility)
This adaptive approach means patterns are only considered valid when they make sense for the current market environment.
Layer 3: Comprehensive Pattern Library
The indicator identifies 10+ critical candlestick patterns:
Engulfing Patterns (Bullish/Bearish) with Harami confirmation requirement
Outside Bars (Bullish/Bearish) with customizable engulfing criteria
False Breakouts (Bullish/Bearish) with sophisticated tracking of "trap" moves
Hammer/Inverted Hammer with ATR-adjusted significance thresholds
Doji Variations (Standard, Dragonfly, Gravestone) with precise mathematical definitions
Three Soldiers Method (Enhanced) with dual absolute/relative strength measurements
Enhanced Three Soldiers Method - Beyond Traditional Interpretation
Unlike traditional "Three White Soldiers/Black Crows" patterns that rely on simple visual recognition, our enhanced version introduces:
Quantifiable Strength Metrics: Each candle must meet customizable thresholds for both absolute price movement (%) and relative efficiency (close-to-open vs. total range)
Two Signal Types: Preparation signals (amber) for early warnings and True signals (green/red) for confirmed breakouts
Breakout Confirmation: "True signals" only trigger when price breaks above/below recent signal cluster extremes
Full Customization: All parameters adjustable to match your trading style and market conditions
Key Features
🎯 Context-Aware Signals: Patterns are validated differently in high vs. low volatility markets
📊 Real-Time Market State: Clear color-coded background shows current market conditions
🔍 Multiple Confirmation Methods: Uses both SMA trend-following and ATR-adjusted threshold approaches
⚙️ Fully Customizable: Every parameter adjustable across all pattern types and market state calculations
📈 Comprehensive Visualization: Color-coded labels, reference lines, and information tables
Strategic Application
Preparation Signals: Use amber "single candle" or "three candle" signals to prepare for potential moves
True Signals: Green/red "True" signals indicate confirmed momentum - ideal for main entries
Market State Alignment: Trade with the market's character - aggressive in high volatility, cautious in low volatility
Pattern Convergence: Look for multiple patterns confirming the same direction for higher probability setups
Parameter Groups (Organized for Easy Customization)
Market State Identification: ATR, Bollinger Band, Amplitude, Momentum parameters
Pattern-Specific Settings: Engulfing, Outside Bars, False Breakouts, Hammer/Doji patterns
Three Soldiers Method: Absolute/Relative strength thresholds, lookback periods
Confirmation Logic: SMA lengths, ATR adjustment factors, sensitivity settings






















