PROTECTED SOURCE SCRIPT
已更新 MentFx Structure

This indicator is designed to identify and track swing highs and lows on any timeframe, displaying them as customizable solid lines on the chart. Users can adjust line color and width to suit their preferences.
The logic behind these levels is based on whether the current market structure is bullish (most recent break to the upside) or bearish (most recent break to the downside).
In a bullish range, the high continues updating until a valid swing high forms. The low is only updated if a candle body (open or close) closes below the existing low, filtering out wick noise.
In a bearish range, the low continues updating until a valid swing low forms. The high only updates if a candle body (open or close) closes above the existing high.
Swing points are confirmed using strict rules:
A swing high is a high with lower highs on both sides.
A swing low is a low with higher lows on both sides.
The indicator follows a unique structure-tracking method based on the idea that institutional flows often involve “sell before buy” (bullish accumulation) or “buy before sell” (bearish distribution). These structural ranges aim to visualize where major transitions occur — offering clarity on trend continuation or reversal zones.
The tool is especially useful for traders who analyze price delivery in context of higher and lower timeframes, allowing for confluence in market structure reading.
ℹ️ This script is published as a protected script. Users can add it to their chart, but the source code is hidden.
📩 For inquiries or access to the full code, feel free to message me directly.
The logic behind these levels is based on whether the current market structure is bullish (most recent break to the upside) or bearish (most recent break to the downside).
In a bullish range, the high continues updating until a valid swing high forms. The low is only updated if a candle body (open or close) closes below the existing low, filtering out wick noise.
In a bearish range, the low continues updating until a valid swing low forms. The high only updates if a candle body (open or close) closes above the existing high.
Swing points are confirmed using strict rules:
A swing high is a high with lower highs on both sides.
A swing low is a low with higher lows on both sides.
The indicator follows a unique structure-tracking method based on the idea that institutional flows often involve “sell before buy” (bullish accumulation) or “buy before sell” (bearish distribution). These structural ranges aim to visualize where major transitions occur — offering clarity on trend continuation or reversal zones.
The tool is especially useful for traders who analyze price delivery in context of higher and lower timeframes, allowing for confluence in market structure reading.
ℹ️ This script is published as a protected script. Users can add it to their chart, but the source code is hidden.
📩 For inquiries or access to the full code, feel free to message me directly.
發行說明
Fixed a minor glitch in the zone detection受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。