OPEN-SOURCE SCRIPT
fmfm12

chosen chart timeframe. It monitors the price to determine:
Whether resistance has been broken → BUY signal
Or support has been broken → SELL signal
After a breakout or breakdown, the indicator automatically draws price targets (T1 / T2 / T3) as percentages from the breakout point, and also displays FVG (Fair Value Gaps) zones that indicate imbalances between supply and demand.
⚙️ Main Components
Support and Resistance Levels (Key Levels)
Automatically calculated from the 4-hour timeframe (180 minutes).
Draws lines:
Green = Resistance
Red = Support
Option to display a midline (blue).
Line style (solid / dashed / dotted), thickness, and label size are customizable.
Trading Signals (Signals)
When resistance is broken upward → BUY signal (green).
When support is broken downward → SELL signal (red).
Signal size is adjustable (small / large, etc.).
Price Targets (Targets)
After confirming a breakout or breakdown, the indicator draws:
T1 / T2 / T3 as horizontal lines in the breakout direction.
Target percentages are adjustable (default: 0.5%, 1%, 1.5%).
Different colors for bullish and bearish targets.
Fair Value Gaps (FVG)
Detects bullish and bearish gaps within a set number of candles (default: 10).
Draws transparent colored zones:
Light Green = Bullish Gap
Light Red = Bearish Gap
📊 Practical Usage
Add the indicator to TradingView (paste the code into the Pine Editor, save, and add it to the chart).
When the price approaches a support or resistance line, observe:
Whether resistance has been broken → BUY signal
Or support has been broken → SELL signal
After a breakout or breakdown, the indicator automatically draws price targets (T1 / T2 / T3) as percentages from the breakout point, and also displays FVG (Fair Value Gaps) zones that indicate imbalances between supply and demand.
⚙️ Main Components
Support and Resistance Levels (Key Levels)
Automatically calculated from the 4-hour timeframe (180 minutes).
Draws lines:
Green = Resistance
Red = Support
Option to display a midline (blue).
Line style (solid / dashed / dotted), thickness, and label size are customizable.
Trading Signals (Signals)
When resistance is broken upward → BUY signal (green).
When support is broken downward → SELL signal (red).
Signal size is adjustable (small / large, etc.).
Price Targets (Targets)
After confirming a breakout or breakdown, the indicator draws:
T1 / T2 / T3 as horizontal lines in the breakout direction.
Target percentages are adjustable (default: 0.5%, 1%, 1.5%).
Different colors for bullish and bearish targets.
Fair Value Gaps (FVG)
Detects bullish and bearish gaps within a set number of candles (default: 10).
Draws transparent colored zones:
Light Green = Bullish Gap
Light Red = Bearish Gap
📊 Practical Usage
Add the indicator to TradingView (paste the code into the Pine Editor, save, and add it to the chart).
When the price approaches a support or resistance line, observe:
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.