INVITE-ONLY SCRIPT
업데이트됨 Open Close Trend Change

Open Close Trend Change
This indicator identifies potential trend reversal points based on the Close-Open Gap methodology. It detects specific two-candle patterns followed by a confirmation candle that breaks a key gap level, signaling a potential trend change. The indicator also provides visual confirmation signals when follow-through occurs.
What is a Trend Change?
A Trend Change occurs when:
This creates a Close-Open Gap between the two setup candles that acts as a critical decision level.
Pattern Rules
Long Trend Change (Bullish Reversal)
Setup Requirements:
Gap Level: Close price of the first candle
Confirmation: An up-close candle (close > open) closes above the gap level
Follow-Through Confirmation (Green Triangle):
Short Trend Change (Bearish Reversal)
Setup Requirements:
Gap Level: Close price of the first candle
Confirmation: A down-close candle (close < open) closes below the gap level
Follow-Through Confirmation (Red Triangle):
Key Features
Parameters
SETTINGS
VISUAL SETTINGS
Understanding Confirmation Triangles
The confirmation triangles are a powerful feature that identifies high-probability setups:
Why They Matter:
When the candle after a gap break closes in the same direction AND retests the level with its wick, it demonstrates:
Visual Indicators:
Trading Application
The Close-Open Gap acts as a decision level where price previously showed commitment to a direction. When this gap is broken by a candle closing on the opposite side, it suggests:
Example Use Cases
Long Trend Change:
Short Trend Change:
Pattern Recognition Logic
Rolling Window Approach:
When three or more consecutive same-colored candles occur, the indicator uses only the last two qualifying candles as the setup. This ensures:
Example: If you see 4 consecutive down-close candles where each makes lower lows and lower highs, only the gap between the last two will be marked.
Important Notes
How It Works
The indicator continuously monitors the selected timeframe for valid two-candle patterns. The process:
Best Practices
Disclaimer
This indicator is a pattern recognition tool for educational purposes. It does not predict future price movements and should be used as part of a comprehensive trading strategy with proper risk management. Past performance does not guarantee future results. Confirmation signals improve probability but do not eliminate risk.
This indicator identifies potential trend reversal points based on the Close-Open Gap methodology. It detects specific two-candle patterns followed by a confirmation candle that breaks a key gap level, signaling a potential trend change. The indicator also provides visual confirmation signals when follow-through occurs.
What is a Trend Change?
A Trend Change occurs when:
- Two consecutive candles of the same color form a specific pattern
- No additional pattern repetition occurs afterward
- A candle in the opposite direction closes beyond the gap level
- Optional: The next candle confirms the move with a wick touching the level
This creates a Close-Open Gap between the two setup candles that acts as a critical decision level.
Pattern Rules
Long Trend Change (Bullish Reversal)
Setup Requirements:
- Two consecutive down-close candles (close < open)
- Second candle must make a lower low AND lower high than the first candle
- No additional qualifying two-candle sequence follows immediately
Gap Level: Close price of the first candle
Confirmation: An up-close candle (close > open) closes above the gap level
Follow-Through Confirmation (Green Triangle):
- The candle immediately after the gap break closes above the gap level
- The wick (low) of this candle touches or goes below the gap level (testing support)
Short Trend Change (Bearish Reversal)
Setup Requirements:
- Two consecutive up-close candles (close > open)
- Second candle must make a higher high AND higher low than the first candle
- No additional qualifying two-candle sequence follows immediately
Gap Level: Close price of the first candle
Confirmation: A down-close candle (close < open) closes below the gap level
Follow-Through Confirmation (Red Triangle):
- The candle immediately after the gap break closes below the gap level
- The wick (high) of this candle touches or goes above the gap level (testing resistance)
Key Features
- Multi-Timeframe Support: Calculate trend changes on any timeframe while viewing on your preferred chart timeframe
- Customizable Lookback: Adjust how far back the indicator searches for patterns
- Visual Clarity: Distinct colors for bullish (green) and bearish (red) trend changes
- Confirmation Triangles: Visual indicators when follow-through occurs with proper level retest
- Selective Display: Toggle long or short signals on/off independently
- Extended Lines: Optional line extension to track levels into the future
- Smart Pattern Recognition: Automatically filters out superseded patterns when multiple setups occur in sequence
Parameters
SETTINGS
- Bars Lookback (default: 50): Number of bars to analyze for trend change patterns
- Timeframe (default: Daily): Timeframe used for pattern detection
VISUAL SETTINGS
- Show Long Trend Changes: Display bullish reversal signals
- Show Short Trend Changes: Display bearish reversal signals
- Long TC Color: Color for long trend change lines (default: green)
- Short TC Color: Color for short trend change lines (default: red)
- Line Width: Thickness of trend change lines
- Extend Lines Right: Extend lines to the right edge of the chart
- Show Confirmation Triangles: Display triangles when follow-through confirmation occurs
Understanding Confirmation Triangles
The confirmation triangles are a powerful feature that identifies high-probability setups:
Why They Matter:
When the candle after a gap break closes in the same direction AND retests the level with its wick, it demonstrates:
- Commitment: Market participants are willing to continue in the new direction
- Support/Resistance: The gap level is now acting as support (long) or resistance (short)
- Validation: The level has been successfully flipped
Visual Indicators:
- Green Triangle (pointing up): Appears below bullish follow-through candles
- Red Triangle (pointing down): Appears above bearish follow-through candles
- Triangles only appear when both close and wick conditions are met
Trading Application
The Close-Open Gap acts as a decision level where price previously showed commitment to a direction. When this gap is broken by a candle closing on the opposite side, it suggests:
- Previous directional momentum has weakened
- Market participants are willing to push through the gap
- A potential shift in short-term trend direction
- When confirmed with a triangle: Higher probability of continuation
Example Use Cases
Long Trend Change:
- Wait for two down-close candles forming lower lows (red line appears)
- Enter long when up-close candle breaks above the gap
- Stronger signal: Green triangle appears when next candle retests and closes above
- Use gap level as initial stop-loss reference
- Consider tighter stops when confirmation triangle is present
Short Trend Change:
- Wait for two up-close candles forming higher highs (red line appears)
- Enter short when down-close candle breaks below the gap
- Stronger signal: Red triangle appears when next candle retests and closes below
- Use gap level as initial stop-loss reference
- Consider tighter stops when confirmation triangle is present
Pattern Recognition Logic
Rolling Window Approach:
When three or more consecutive same-colored candles occur, the indicator uses only the last two qualifying candles as the setup. This ensures:
- Only the most recent pattern is considered
- Earlier setups in a continuous sequence are automatically superseded
- Reduced chart clutter from redundant signals
Example: If you see 4 consecutive down-close candles where each makes lower lows and lower highs, only the gap between the last two will be marked.
Important Notes
- Lines without triangles indicate basic trend change setups
- Lines with triangles indicate confirmed setups with follow-through
- Confirmation triangles appear only when specific wick and close conditions are met
- Not all gap breaks will generate confirmation triangles
- Trend changes indicate potential reversals but are not guaranteed
- Always combine with other technical analysis tools and proper risk management
- Consider overall market context and trend direction
- Works best when aligned with higher timeframe trend structure
How It Works
The indicator continuously monitors the selected timeframe for valid two-candle patterns. The process:
- Scans for two consecutive same-colored candles meeting specific criteria
- Filters out patterns that are immediately followed by another qualifying setup
- Draws a horizontal line at the gap level (close of first candle)
- Monitors for a candle closing beyond the gap in the opposite direction
- Checks the following candle for confirmation (close + wick retest)
- Displays a triangle when full confirmation occurs
Best Practices
- Use confirmation triangles as higher-confidence entry signals
- Combine with volume analysis for additional confirmation
- Consider multiple timeframes: gaps on higher timeframes often more significant
- Watch for confluence with other support/resistance levels
- Gaps that align with round numbers or key levels tend to be more reliable
- Monitor how price behaves after the confirmation triangle appears
Disclaimer
This indicator is a pattern recognition tool for educational purposes. It does not predict future price movements and should be used as part of a comprehensive trading strategy with proper risk management. Past performance does not guarantee future results. Confirmation signals improve probability but do not eliminate risk.
릴리즈 노트
Array bounds check optimized초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 trading-guide에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Get our indicators from here: https://indivisionx.com After purchase send us your tradingview name so that we can grant access.
Access our indicators from: indivisionx.com
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청 후 승인을 받아야 하며, 일반적으로 결제 후에 허가가 부여됩니다. 자세한 내용은 아래 작성자의 안내를 따르거나 trading-guide에게 직접 문의하세요.
트레이딩뷰는 스크립트의 작동 방식을 충분히 이해하고 작성자를 완전히 신뢰하지 않는 이상, 해당 스크립트에 비용을 지불하거나 사용하는 것을 권장하지 않습니다. 커뮤니티 스크립트에서 무료 오픈소스 대안을 찾아보실 수도 있습니다.
작성자 지시 사항
Get our indicators from here: https://indivisionx.com After purchase send us your tradingview name so that we can grant access.
Access our indicators from: indivisionx.com
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.