OPEN-SOURCE SCRIPT
업데이트됨 MA Color-Change

Description
This indicator identifies continuation setups built around a pullback to a moving average followed by a directional shift in candle color and a breakout of the prior bar. A signal is generated when price interacts with a short-term moving average, then prints a color change where a green candle takes out the high of a prior red candle for longs, or a red candle takes out the low of a prior green candle for shorts. The signal candle must originate near the moving average, defined by its open being within an ATR-based distance from the average, ensuring the move begins at the area of interest rather than after price has already extended.
Trend context is incorporated through both slope and higher timeframe alignment. The short moving average must be trending in the direction of the trade, and an optional long moving average filter requires price and the short moving average to be positioned on the correct side of the long-term trend. An optional confirmation rule can require the signal candle to close through the body of the prior candle, increasing selectivity and filtering weaker moves. Signals can be configured to trigger only after the candle closes to prevent intrabar fluctuations, or in real time for earlier entries.
This creates a structured framework for identifying pullback continuation opportunities where price reacts at a key dynamic level, confirms direction through a color change and range expansion, and aligns with the prevailing trend.
This indicator identifies continuation setups built around a pullback to a moving average followed by a directional shift in candle color and a breakout of the prior bar. A signal is generated when price interacts with a short-term moving average, then prints a color change where a green candle takes out the high of a prior red candle for longs, or a red candle takes out the low of a prior green candle for shorts. The signal candle must originate near the moving average, defined by its open being within an ATR-based distance from the average, ensuring the move begins at the area of interest rather than after price has already extended.
Trend context is incorporated through both slope and higher timeframe alignment. The short moving average must be trending in the direction of the trade, and an optional long moving average filter requires price and the short moving average to be positioned on the correct side of the long-term trend. An optional confirmation rule can require the signal candle to close through the body of the prior candle, increasing selectivity and filtering weaker moves. Signals can be configured to trigger only after the candle closes to prevent intrabar fluctuations, or in real time for earlier entries.
This creates a structured framework for identifying pullback continuation opportunities where price reacts at a key dynamic level, confirms direction through a color change and range expansion, and aligns with the prevailing trend.
릴리즈 노트
Internal logic updated.Defaults updated.
릴리즈 노트
Keltner lines & user control added.One signal per trend option added.
Internal logic updated.
Default inputs updated.
릴리즈 노트
Pine category updated.Current Model: Trend-following moving average indicator that identifies bullish and bearish continuation/reversal entries after major MA crossover trend shifts. Signals are generated when price pulls back near the slow moving average within an ATR-defined zone, then confirms direction with a candle color change and breakout takeout using either wick or close confirmation. Includes dynamic MA trend coloring, ATR bands, optional one-signal-per-trend filtering, and built-in buy/sell alerts for structured trend-entry setups.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.