FVG Trailing Stop [LuxAlgo]The FVG Trailing Stop indicator tracks unmitigated Fair Value Gaps (FVG) data to produce a Trailing Stop indicator able to determine if the market is uptrending or downtrending easily.
🔶 USAGE
The FVG Trailing Stop is intended to identify trend directions through its position relative to the closing price:
Bullish: Price is located above the Trailing Stop, indicating that all Bearish FVGs have been mitigated and the trend is anticipated to continue upwards.
Bearish State: Price is located below the Trailing Stop, indicating that all Bullish FVGs have been mitigated and the trend is anticipated to continue downwards.
The Trailing Stop originates from two extremities obtained from the average of respective unmitigated FVGs. The specific directional average is also displayed as a more transparent secondary line, however, the trailing stop is derived from this value and a new trend will not be detected until the opposite directional average is crossed.
Price reaching the Trailing Stop is caused by retracements and can lead to the following scenarios:
Outcome 1: The directional average is crossed next, indicating a new trend direction.
Outcome 2: The directional average is held as support or resistance, leading to a new impulse and a continuation of the trend.
🔹 Reset on Cross
While price crossing the Trailing Stop should be considered as a sign of an upcoming trend change; it is possible for the price to still evolve outside it.
As a solution, we have included the "Reset on Cross" feature, which (as the name suggests) hides and resets the Trailing Stop each time it is crossed, leading to a "Neutral" state.
This opens the opportunity for the Trailing Stop to be displayed again once the price moves again in the direction of the pre-established trend. A trader might use this to accumulate positions within a specific trend.
🔶 DETAILS
The script uses a typical identification method for FVGs. Once identified, the script collects the point of the FVG farthest from the current price when formed.
For Upwards FVGs this is the bottom of the FVG.
For Downwards FVGs this is the top of the FVG.
The data is managed only to use the last input lookback of FVGs. If an FVG is mitigated, it frees up a spot in the memory for a new FVG, however, if the lookback is full, the oldest will be deleted.
From there, it uses a "trailing" logic only to move the Trailing Stop in one direction until the trailing stop resets or the direction flips.
The extremities used to calculate the Trailing Stop are created from 2 calculation steps, the first step involves taking the raw average of the FVG mitigation levels, and the second step applies a simple moving average (SMA) smoothing of the precedent-obtained averages.
🔶 SETTINGS
Unmitigated FVG Lookback: Sets the maximum number of Unmitigated FVGs that the script will use.
Smoothing Length: Sets the smoothing length for the Trailing Stop to reduce erratic results.
Reset on Cross: When enabled, hide and reset the Trailing Stop until the price starts moving in the pre-established trend direction again.
Grafik Paternleri
Auto Fractal [theUltimator5]I took the awesome indicator provided by theUltimator5 from and implemented the Freeze function by screaming at gemini for the past hour to keep at it until it worked.
Props to theUltimator5 for sharing this script with everyone as opensource.
Advanced MACD Pro (WhiteStone_Ibrahim) - T3 Themed✨ Advanced MACD Pro (WhiteStone_Ibrahim) - T3 Themed ✨
Take your MACD analysis to the next level with the Advanced MACD Pro - T3 Themed indicator by WhiteStone_Ibrahim! This isn't just another MACD; it's a comprehensive toolkit packed with advanced features, unique T3 integration, and extensive customization options to provide deeper market insights.
Whether you're a seasoned trader or just starting, this indicator offers a versatile and powerful way to analyze momentum, identify trends, and spot potential reversals.
Key Features:
Core MACD Functionality:
Classic MACD Line: Calculated from customizable Fast and Slow EMAs using your chosen source (Close, Open, HLC3, etc.).
Standard Signal Line: EMA of the MACD line, with adjustable length.
Dynamic MACD Line Coloring: Automatically changes color based on whether it's above or below the zero line (positive/negative).
Zero Line: Clearly plotted for reference.
Enhanced MACD Histogram:
Sophisticated Color Coding: The histogram isn't just positive or negative. It intelligently colors based on momentum strength and direction:
Strong Bullish: MACD above signal, histogram increasing.
Weakening Bullish: MACD above signal, histogram decreasing.
Strong Bearish: MACD below signal, histogram decreasing.
Weakening Bearish: MACD below signal, histogram increasing.
Neutral: Default color for other conditions.
Optional Histogram Smoothing: Smooth out the histogram noise using one of five different moving average types: SMA, EMA, WMA, RMA, or the advanced T3 (Tilson T3). Customize smoothing length and T3 vFactor.
🌟 Unique T3 Integration (T3 Themed):
Extra T3 Signal Line (on MACD): An additional, fast-reacting T3 moving average calculated directly from the MACD line. This provides an alternative and often quicker signal.
Customizable T3 length and vFactor.
Dynamic Coloring: The T3 Signal Line changes color (bullish/bearish) based on its crossover with the MACD line, offering clear visual cues.
T3 is also available as a smoothing option for the main histogram (see above).
🔍 Disagreement & Divergence Detection:
Bar/Price Disagreement Markers:
Highlights instances where the price bar's direction (e.g., a bullish candle) contradicts the current MACD momentum (e.g., MACD below its signal line).
Visual markers (circles) appear above/below bars to draw attention to these potential early warnings or confirmations.
Histogram Color Change on Disagreement: Optionally, the histogram can adopt distinct alternative colors during these bar/price disagreements for even clearer visual alerts.
Classic Bullish & Bearish Divergence Detection:
Automatically identifies regular divergences between price action (Higher Highs/Lower Lows) and the MACD line (Lower Highs/Higher Lows).
Customizable pivot lookback periods (left and right bars) for divergence sensitivity.
Plots clear "Bull" and "Bear" labels on the price chart where divergences occur.
🎨 Extensive Customization & Visuals:
Multiple Color Themes: Choose from pre-set themes like 'Dark Mode', 'Light Mode', 'Neon Night', or use 'Default (Current Settings)' to fine-tune every color yourself.
Granular Control (Default Theme): Individually customize colors and thickness for:
MACD Line (positive/negative)
Standard Signal Line
Extra T3 Signal Line (bullish/bearish)
Histogram (all four momentum states + neutral)
Disagreement Markers & Histogram Alt Colors
Divergence Lines/Labels
Zero Line
Toggle Visibility: Easily show or hide the Standard Signal Line and the Extra T3 Signal Line as needed.
🔔 Comprehensive Alert System:
Stay informed of key market events with a wide array of configurable alerts:
MACD Line / Standard Signal Line Crossover
Histogram / Zero Line Crossover
MACD Line / Zero Line Crossover
Bullish Divergence Detected
Bearish Divergence Detected
Bar/Price Disagreement (Bullish & Bearish)
MACD Line / Extra T3 Signal Line Crossover
Each alert can be individually enabled or disabled.
The Advanced MACD Pro - T3 Themed indicator is designed to be your go-to tool for momentum analysis. Its rich feature set empowers you to tailor it to your specific trading style and gain a more nuanced understanding of market dynamics.
Add it to your charts today and experience the difference!
(Developed by WhiteStone_Ibrahim)
Fair Value Gap Marker & AlertThe Fair Value Gap, popularized by ICT, is a price imbalance that formed across three candles. This indicator highlights Fair Value Gaps for easier identification and provides real-time alerts for timely notifications.
GEEKSDOBYTE IFVG w/ Buy/Sell Signals1. Inputs & Configuration
Swing Lookback (swingLen)
Controls how many bars on each side are checked to mark a swing high or swing low (default = 5).
Booleans to Toggle Plotting
showSwings – Show small triangle markers at swing highs/lows
showFVG – Show Fair Value Gap zones
showSignals – Show “BUY”/“SELL” labels when price inverts an FVG
showDDLine – Show a yellow “DD” line at the close of the inversion bar
showCE – Show an orange dashed “CE” line at the midpoint of the gap area
2. Swing High / Low Detection
isSwingHigh = ta.pivothigh(high, swingLen, swingLen)
Marks a bar as a swing high if its high is higher than the highs of the previous swingLen bars and the next swingLen bars.
isSwingLow = ta.pivotlow(low, swingLen, swingLen)
Marks a bar as a swing low if its low is lower than the lows of the previous and next swingLen bars.
Plotting
If showSwings is true, small red downward triangles appear above swing highs, and green upward triangles below swing lows.
3. Fair Value Gap (3‐Bar) Identification
A Fair Value Gap (FVG) is defined here using a simple three‐bar logic (sometimes called an “inefficiency” in price):
Bullish FVG (bullFVG)
Checks if, two bars ago, the low of that bar (low ) is strictly greater than the current bar’s high (high).
In other words:
bullFVG = low > high
Bearish FVG (bearFVG)
Checks if, two bars ago, the high of that bar (high ) is strictly less than the current bar’s low (low).
In other words:
bearFVG = high < low
When either condition is true, it identifies a three‐bar “gap” or unfilled imbalance in the market.
4. Drawing FVG Zones
If showFVG is enabled, each time a bullish or bearish FVG is detected:
Bullish FVG Zone
Draws a semi‐transparent green box from the bar two bars ago (where the gap began) at low up to the current bar’s high.
Bearish FVG Zone
Draws a semi‐transparent red box from the bar two bars ago at high down to the current bar’s low.
These colored boxes visually highlight the “fair value imbalance” area on the chart.
5. Inversion (Fill) Detection & Entry Signals
An inversion is defined as the price “closing through” that previously drawn FVG:
Bullish Inversion (bullInversion)
Occurs when a bullish FVG was identified on bar-2 (bullFVG), and on the current bar the close is greater than that old bar-2 low:
bullInversion = bullFVG and close > low
Bearish Inversion (bearInversion)
Occurs when a bearish FVG was identified on bar-2 (bearFVG), and on the current bar the close is lower than that old bar-2 high:
bearInversion = bearFVG and close < high
When an inversion is true, the indicator optionally draws two lines and a label (depending on input toggles):
Draw “DD” Line (yellow, solid)
Plots a horizontal yellow line from the current bar’s close price extending five bars forward (bar_index + 5). This is often referred to as a “Demand/Daily Demand” line, marking where price inverted the gap.
Draw “CE” Line (orange, dashed)
Calculates the midpoint (ce) of the original FVG zone.
For a bullish inversion:
ce = (low + high) / 2
For a bearish inversion:
ce = (high + low) / 2
Plots a horizontal dashed orange line at that midpoint for five bars forward.
Plot Label (“BUY” / “SELL”)
If showSignals is true, a green “BUY” label is placed at the low of the current bar when a bullish inversion occurs.
Likewise, a red “SELL” label at the high of the current bar when a bearish inversion happens.
6. Putting It All Together
Swing Markers (Optional):
Visually confirm recent swing highs and swing lows with small triangles.
FVG Zones (Optional):
Highlight areas where price left a 3-bar gap (bullish in green, bearish in red).
Inversion Confirmation:
Wait for price to close beyond the old FVG boundary.
Once that happens, draw the yellow “DD” line at the close, the orange dashed “CE” line at the zone’s midpoint, and place a “BUY” or “SELL” label exactly on that bar.
User Controls:
All of the above elements can be individually toggled on/off (showSwings, showFVG, showSignals, showDDLine, showCE).
In Practice
A bullish FVG forms whenever a strong drop leaves a gap in liquidity (three bars ago low > current high).
When price later “fills” that gap by closing above the old low, the script signals a potential long entry (BUY), draws a demand line at the closing price, and marks the midpoint of that gap.
Conversely, a bearish FVG marks a potential short zone (three bars ago high < current low). When price closes below that gap’s high, it signals a SELL, with similar lines drawn.
By combining these elements, the indicator helps users visually identify inefficiencies (FVGs), confirm when price inverts/fills them, and place straightforward buy/sell labels alongside reference lines for trade management.
Claude - 21 Trend StrategyStrategy:
1. Buy 100% position when price closed over 5, 21, 50 day SMA
2. Sell all position when price closed below 21 day SMA
📉 VWAP 회귀 기반 반대매매 전략 (개선 v2)An indicator for generating a counter-trade signal based on VWAP regression.
MA20 + Fibonacci Bands + RSIA new indicator we developed that combines a 20 Fibonacci moving average and the RSI index
Scalping EMA9/21 + RSI + Volumen + SMA200 Filter [1m]This Pine Script defines an advanced trend-following trading strategy that uses moving averages (SMAs and EMAs), lateral range detection, volume breakout filters, and candle pattern confirmations to determine high-probability long and short entries with strict exit conditions.
1-Min Scalping Strategy with Trailing Stop (1 Contract)This is a 1 min scalp strategy specifically written for NQ futures with consistency in mind and stop losses with trailing stops. Happy trading. *** Not an investment advice***
HMA 6/12 Crossover Strategy with 0.2% SLThis strategy ment only for XAUUSD with 3 min time frame and 0.15% SL
SMA 200 High/Low with Buy/Sell Signals✅ Buy Rule:
Wait for the closing price of the candle (close) to cross above the EMA200 (from below to above).
This indicates that the trend may be shifting to an uptrend.
You may add confirmation from other indicators such as RSI, MACD, or Volume.
✅ Sell Rule:
Wait for the closing price to cross below the EMA200 (from above to below).
This suggests that the trend may be turning into a downtrend.
HMA 6/12 Crossover Strategy with 0.1% SL & Reverse on SLBest Strategy for BTCUSD works best with 3 min time frame
Line Strategy v6Line Indicator for TradingView
This Pine Script indicator identifies the largest candles on both 5-minute and 1-hour timeframes within the last 240 five-minute bars. It provides visual markers and detailed information to help traders spot significant price movements.
Key Features
Dual Timeframe Analysis:
Identifies largest candle on 5-minute timeframe
Identifies largest candle on 1-hour timeframe (aggregated from 12 five-minute candles)
Visual Markers:
Blue label marks the highest-range 5-minute candle
Purple background highlights the highest-range hourly candle period
Information Table:
Shows price ranges for both timeframes
Displays precise timestamps for identified candles
Color-coded for quick reference
Progress Indicator:
Shows how many bars have been collected (out of 240 required)
How It Works
Data Collection:
Stores high, low, timestamp, and bar index of the last 240 five-minute candles
Automatically updates with each new bar
5-Minute Analysis:
Scans all 5-minute candles to find the one with the largest price range (high - low)
Marks this candle with a blue label showing its range
Hourly Analysis:
Groups 12 five-minute candles to form each hourly candle
Finds the hourly candle with the largest price range
Highlights the entire hour period with a purple background
Information Display:
Creates a table in the top-right corner showing:
Range values for both timeframes
Timestamps of identified candles
Time period of the largest hourly candle
Usage Instructions
Apply the indicator to any 5-minute chart
Wait for the indicator to collect 240 bars (about 20 trading hours)
Results will appear automatically:
Blue label on the largest 5-minute candle
Purple background on the largest hourly candle period
Information table with detailed metrics
Customization Options
You can easily adjust these aspects by modifying the code:
Colors of markers and table cells
Transparency levels of background highlights
Precision of range values displayed
Position of the information table
The indicator is optimized for performance and works in both historical and real-time modes.
Psychological Levels + Buffer ZonesThis indicator automatically draws major (100-pip) and minor (50-pip) psychological levels on your Forex chart, along with optional buffer zones for smarter trade entries. Zones help you visually capture breakouts, retests, and fakeouts. Includes:
Major & minor psych levels
Adjustable buffer zones (±0.1%, etc.)
Customizable zone color & transparency
Optional ATR trailing lines for trend confirmation
Perfect for scalpers, breakout traders, and zone-based strategies.
Spring Bar DetectorA Spring is a false breakdown below a well-defined support level, followed by a sharp rebound. It's a form of bear trap, where price dips below support just enough to trigger stop-loss orders and attract short sellers—only to reverse strongly, indicating that smart money is absorbing supply.
15-Minute Separator + Upcomingit is used to separate 15 minutes in LTF. Best use on 1 minutes or ticks. Perfect for scalping.
WhalesDesk Indicator Whales Desk Indicator. Provide you buy and sell signal according to RSI, EMA AND MACD analysis.
Jeff_T_FXRSI that you can set alerts. Its just a regular RSI, there is nothing fancy about it. Tradingview is making me write all this stuff because it says I was too short in my answer. I wanted to get alerted for over bought and over sold and so I had to make this.
HMA Crossover with Reversed EMA(200) & 0.2% SLSimple HMA cross over strategy with EMA200 and SL0.2% it works only with BTCUSD at 3min time frame
Forex Session Levels + Dashboard (AEST)This is the only indicator you will EVER need for the breakthrough and retest strategy.
Follow me on IG for more trading tips!
@LiviuPircalabu10