OPEN-SOURCE SCRIPT
已更新 INMERESH

INMERESH (INTRADAY MEAN REVERSION SHORT) – First 5-Minute EMA Breakdown Highlight
This indicator is designed to highlight bearish candles on the 5-minute chart that close below the 5-minute 6 EMA, providing a clear visual representation of the first EMA breakdown after short-term bullish activity.
Key Features:
Highlights the first bearish candle that closes below the 5-minute 6 EMA after prior conditions are met.
Only triggers after sufficient prior closes above the 5-minute 6 EMA, helping to visually potentially identify the transition from short-term bullish to bearish momentum.
Incorporates MACD (6, 20, 9) prior bearish check — the signal occurs only if the MACD was bearish in prior bars, giving context to the breakdown.
Candle filtering based on body characteristics:
Weak bearish closes are prioritized, based on body size relative to the total candle range.
Close position within the candle range is considered to focus on meaningful bearish closes.
Highlights only the first breakdown candle after the conditions are met, preventing repeated signals during ongoing downtrends.
Visual customization: background color highlights the signal candle for easy identification.
Inputs / Configurable Options:
EMA length for 5-minute chart
Number of bars to check for prior closes above EMA
Minimum prior closes above EMA required
Lookback bars for prior MACD bearish condition
Candle body filtering thresholds
Option to show or hide background highlight
Use case:
This tool is primarily a visual aid for analyzing 5-minute price action relative to short-term EMA and MACD conditions, emphasizing the initial bearish shift after short-term bullish activity.
This indicator is designed to highlight bearish candles on the 5-minute chart that close below the 5-minute 6 EMA, providing a clear visual representation of the first EMA breakdown after short-term bullish activity.
Key Features:
Highlights the first bearish candle that closes below the 5-minute 6 EMA after prior conditions are met.
Only triggers after sufficient prior closes above the 5-minute 6 EMA, helping to visually potentially identify the transition from short-term bullish to bearish momentum.
Incorporates MACD (6, 20, 9) prior bearish check — the signal occurs only if the MACD was bearish in prior bars, giving context to the breakdown.
Candle filtering based on body characteristics:
Weak bearish closes are prioritized, based on body size relative to the total candle range.
Close position within the candle range is considered to focus on meaningful bearish closes.
Highlights only the first breakdown candle after the conditions are met, preventing repeated signals during ongoing downtrends.
Visual customization: background color highlights the signal candle for easy identification.
Inputs / Configurable Options:
EMA length for 5-minute chart
Number of bars to check for prior closes above EMA
Minimum prior closes above EMA required
Lookback bars for prior MACD bearish condition
Candle body filtering thresholds
Option to show or hide background highlight
Use case:
This tool is primarily a visual aid for analyzing 5-minute price action relative to short-term EMA and MACD conditions, emphasizing the initial bearish shift after short-term bullish activity.
版本注释
INMERESH (INTRADAY MEAN REVERSION SHORT) – First 5-Minute EMA Breakdown HighlightThis indicator is designed to highlight bearish candles on the 5-minute chart that close below the 5-minute 6 EMA, providing a clear visual representation of the first EMA breakdown after short-term bullish activity.
Key Features:
Highlights the first bearish candle that closes below the 5-minute 6 EMA after prior conditions are met.
Only triggers after sufficient prior closes above the 5-minute 6 EMA, helping to visually potentially identify the transition from short-term bullish to bearish momentum.
Incorporates MACD (6, 20, 9) prior bearish check — the signal occurs only if the MACD was bearish in prior bars, giving context to the breakdown.
Candle filtering based on body characteristics:
Weak bearish closes are prioritized, based on body size relative to the total candle range.
Close position within the candle range is considered to focus on meaningful bearish closes.
Highlights only the first breakdown candle after the conditions are met, preventing repeated signals during ongoing downtrends.
Visual customization: background color highlights the signal candle for easy identification.
Inputs / Configurable Options:
EMA length for 5-minute chart
Number of bars to check for prior closes above EMA
Minimum prior closes above EMA required
Lookback bars for prior MACD bearish condition
Candle body filtering thresholds
Option to show or hide background highlight
Use case:
This tool is primarily a visual aid for analyzing 5-minute price action relative to short-term EMA and MACD conditions, emphasizing the initial bearish shift after short-term bullish activity.
Updated name of the indicator and changed default settings.
版本注释
Update: Fixed 5-minute candles closing below the 5-minute 6 EMA and highlighting red when the MACD (custom 6, 20, 9) settings was not providing a bearish signal. Now the 5-minute candles which close in a bearish manner below the 5-minute 6 EMA should only highlight if the MACD bearish.版本注释
Update: Can now change the background opacity of the 5-minute candle being highlighted.开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。