OPEN-SOURCE SCRIPT

FVG Precision | Exact Labels | 2R | Webhook

239
FVG Precision | Exact Labels | 2R | Webhook is a Fair Value Gap (FVG) trading indicator designed to identify structured bullish and bearish FVG setups, wait for price to return into the imbalance, confirm rejection, and then display a complete trade setup with entry, stop loss, take profit, and trade direction.

HOW THE INDICATOR WORKS

The indicator looks for bullish and bearish Fair Value Gaps created by strong price displacement.

A bullish FVG is detected when price creates an upside imbalance between candles.

A bearish FVG is detected when price creates a downside imbalance between candles.

The script uses ATR-based filters to reduce very small or weak gaps and also checks for displacement strength before accepting an FVG.

After an FVG is identified, the indicator waits for price to return and fully fill the qualifying area.

When rejection confirmation is enabled, a trade signal is not generated simply because price touches the FVG. Price must fill the zone and then show confirmation back in the expected direction.

For bullish setups, the script looks for bullish rejection and a close back through the required portion of the FVG.

For bearish setups, the script looks for bearish rejection and a close back through the required portion of the FVG.

This helps filter out many simple touches that do not produce a confirmed reaction.

ENTRY

Once all conditions are satisfied, the indicator creates either a BUY or SELL signal.

The official entry price is based on the closing price of the candle that confirms the setup.

The indicator displays:

• BUY or SELL direction
• Exact entry price
• Signal time in Eastern Time
• Active entry FVG
• Stop Loss
• Take Profit
• Current trade status

STOP LOSS

Stops are structure-based rather than using an arbitrary fixed distance.

For BUY setups, the stop is placed below the most recently confirmed swing low, including the selected stop buffer.

For SELL setups, the stop is placed above the most recently confirmed swing high.

This allows the risk level to adapt to the current market structure.

TAKE PROFIT

The default take-profit target uses a 1:2 risk-to-reward ratio.

This means:

Risk = 1R
Target = 2R

For example:

If the distance between entry and stop loss is 5 points, the take-profit target is positioned approximately 10 points from the entry in the profitable direction.

The 2R level is automatically calculated for every qualifying setup.

ONE ACTIVE TRADE AT A TIME

The indicator is intentionally designed to manage only one active signal at a time.

While a BUY or SELL setup is active, the indicator will not issue another new trade signal.

A new setup becomes eligible after the current trade ends through:

• Take Profit
• Stop Loss
• FVG invalidation
• Weekend reset

This design helps prevent conflicting BUY and SELL signals from being active simultaneously.

ACTIVE FVG INVALIDATION

The original FVG remains part of the trade-management logic.

If price closes through the active FVG in the invalid direction before the trade completes, the indicator can classify the setup as:

FVG BROKEN

The active setup is then cancelled.

TRADING SESSION

Signals are restricted to the futures trading window used by this indicator:

Sunday 6:00 PM ET
through
Friday 4:00 PM ET

Saturday is disabled.

A weekend reset occurs Friday at 4:00 PM Eastern Time.

SUPPORTED CHART TIMEFRAMES

The indicator can visually operate on:

• 1 Minute
• 5 Minute
• 15 Minute
• 30 Minute

RECOMMENDED / PRIMARY TIMEFRAME: 15 MINUTES

The 15-minute timeframe is the primary timeframe this version is designed to be used with.

Compared with the lower timeframes, the 15-minute chart generally provides a cleaner view of market structure and reduces the amount of short-term price noise seen on very small candles.

IMPORTANT WEBHOOK RULE:

Only signals generated on the 15-minute timeframe are permitted to send trade-copier webhook events.

1 Minute:
Indicator can display setups, but website webhook transmission is OFF.

5 Minute:
Indicator can display setups, but website webhook transmission is OFF.

15 Minute:
Indicator displays setups AND webhook transmission is ON.

30 Minute:
Indicator can display setups, but website webhook transmission is OFF.

This restriction was intentionally added so an external trade copier or automation system receives only the selected 15-minute signals rather than signals from multiple chart timeframes.

WEBHOOK / AUTOMATION SUPPORT

The indicator contains machine-readable webhook functionality for integration with an external trade-management or trade-copying application.

Supported webhook lifecycle events include:

• ENTRY
• TP_HIT
• SL_HIT
• FVG_BROKEN
• WEEKEND_RESET

Every new trade receives a unique signal ID.

That same signal ID follows the trade throughout its lifecycle so an external application can associate subsequent events with the correct original signal.

ENTRY webhook data can include:

• Unique Signal ID
• Symbol
• TradingView Symbol
• BUY / SELL direction
• Timeframe
• Signal timestamp
• Entry price
• Stop Loss
• Take Profit
• Risk/Reward

This provides a structured foundation for webhook-based alerts and external automation.

BENEFITS

The purpose of FVG Precision is to make Fair Value Gap trading more structured and easier to interpret.

Key benefits include:

• Automatically identifies qualifying bullish and bearish FVGs
• Uses displacement and ATR filters to reduce weak setups
• Waits for FVG interaction instead of signaling immediately
• Optional rejection confirmation helps filter simple touches
• Automatically identifies BUY and SELL opportunities
• Displays exact entry prices
• Automatically calculates structure-based stop losses
• Automatically calculates a 2R profit target
• Displays the active FVG visually
• Prevents multiple active signals at the same time
• Provides FVG invalidation logic
• Restricts signals to the selected trading session
• Provides BUY, SELL, TP, SL and FVG Broken alerts
• Supports structured webhook integration
• Restricts automated webhook transmission to the preferred 15-minute timeframe

IMPORTANT

This indicator is a decision-support and automation tool. Signals are based on predefined technical conditions and do not guarantee profitable trades.

Historical or visually successful setups do not guarantee future results. Slippage, liquidity, market volatility, news events, execution quality, commissions, and other market conditions can materially affect actual results.

Users should test the indicator thoroughly and use appropriate risk management before using any signal for live trading.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.