OPEN-SOURCE SCRIPT
Aktualisiert

Alpha Forge Core v6.4.15

2 167
Alpha Forge Core v6.4.15

Advanced trend, momentum, structure, trade-management, and webhook automation indicator.

This multi-layer decision-support tool is designed to help traders evaluate trend direction, momentum, market regime, price structure, entry conditions, and active trade management from one chart.

Rather than relying on a single crossover or isolated signal, the system combines several confirmation layers to assess whether conditions support a potential long or short setup.

It is intended for discretionary chart analysis, TradingView alerts, and compatible webhook-based automation.

What the indicator analyzes

The script evaluates:

Trend direction
Moving-average alignment
Momentum strength
Adaptive market regime
Higher-timeframe confirmation
Price structure
Breakout conditions
Pullback and reclaim behavior
Entry distance and price extension
Volatility
Signal quality
Active trade state
Protective stop placement
Profit-target progression
Breakeven protection
Trailing-stop protection

These components are combined into a single decision process rather than displayed as unrelated signals.

Automatic market detection

The system can detect the general symbol type using TradingView market information.

Supported categories include:

Stocks
ETFs
Crypto
Forex
Futures
Other supported symbols

When automatic behavior is enabled, the detected market can influence the effective operating configuration.

Crypto scalping behavior

When a crypto symbol is detected, the script can automatically apply its faster Crypto Scalping configuration.

This mode is designed for shorter-term crypto charts and removes higher-timeframe influence from the effective scoring process.

Recommended crypto timeframe:

5 minutes

Pine Script cannot automatically change the chart timeframe. When the current chart does not match the recommended timeframe, the Guide may display a reminder.

Operating presets
Scalping

Designed for shorter timeframes and faster-moving setups. This preset uses more responsive conditions and shorter trade-development windows.

Day

Designed for intraday trading with a balance between responsiveness and confirmation. This is the recommended starting point for many stock and ETF charts.

Swing

Designed for higher timeframes and slower-developing setups. This preset applies more selective confirmation and allows additional time for trades to develop.

Custom

Allows the available settings to be controlled manually.

Suggested starting points:

Stocks and ETFs: 15-minute chart with Day mode
Crypto: 5-minute chart with automatic Crypto Scalping
Short-term scalping: 3-minute to 5-minute charts
Swing trading: 30-minute to 4-hour charts

These are general starting points only. Settings should be evaluated on the intended symbol and timeframe.

Signal grades

Potential entries can be filtered by grade.

Available options include:

A Only
B Only
A and B
All Grades

A-grade setups represent stronger internal alignment.

B-grade setups may appear earlier or with fewer confirmation layers while still meeting the selected eligibility rules.

C-grade setups represent lower-confirmation conditions and are available when All Grades is selected.

Grades describe the amount of confirmation present at the time of the setup. They do not guarantee a particular outcome.

Entry behavior

The engine can identify several types of setup behavior.

Breakout entries

These occur when price moves through an important structure level with sufficient directional confirmation.

Impulse entries

These identify stronger directional expansion when momentum and price accelerate together.

Early reclaim entries

These occur when price briefly loses a key level and then reclaims it with confirmation.

Continuation entries

These identify opportunities within an established trend after a valid pullback or consolidation.

B-grade re-entry

When enabled, the system can permit a controlled re-entry after a valid pullback instead of repeatedly triggering during the same move.

Range and extension protection

The script includes filters intended to reduce weaker entries during unsuitable conditions.

These can include:

Blocking continuation setups in range conditions
Requiring trend-regime eligibility
Limiting entries when price is too far from its reference level
Avoiding repeated entries during an active trade
Waiting for candle-close confirmation
Requiring directional confirmation

These filters are designed to improve consistency, but they may also reduce signal frequency.

Higher-timeframe confirmation

Higher-timeframe alignment can be used as an additional confirmation layer.

The script supports both responsive and confirmed higher-timeframe behavior.

When higher-timeframe influence is disabled, scoring is normalized so that the missing HTF component does not unfairly reduce setup quality.

Trade lifecycle

The indicator tracks a complete trade state from entry through exit.

The lifecycle can include:

Entry confirmation
Protective stop placement
TP1
TP2
TP3
Breakeven activation
Trailing-stop activation
Stop-loss exit
Breakeven exit
Trailing-stop exit
Final target exit

Only one active position is tracked at a time. New entries are blocked until the current position is closed.

Protective stops

Stops can use a combination of structure and ATR-based distance.

Available controls may include:

ATR stop multiplier
Structure buffer
Maximum stop distance
Same-bar target and stop priority
Breakeven activation
Trailing-stop source
Trailing-stop distance

These settings should be matched to the symbol’s volatility and the trader’s risk plan.

Profit targets

The system supports three target levels:

TP1
TP2
TP3

Target progress is shown on the chart and in the dashboard.

Breakeven and trailing protection can be activated after a selected target is reached.

Forge Guide

The Guide has been rebuilt as a forward-looking coaching panel.

Instead of repeating dashboard information, it focuses on what matters next.

It can display:

What the system is waiting for
What to watch next
Whether a setup is armed
Trigger conditions
Invalidation conditions
Remaining setup window
Whether price is too extended
Current trade objective
Active protection
Target progression
Trailing-stop status

Typical Guide states include:

WAIT
WATCH LONG
WATCH SHORT
LONG NEAR READY
SHORT NEAR READY
STAND ASIDE
DO NOT CHASE
MANAGE LONG
MANAGE SHORT
PROTECT PROFIT

The Guide is intended to explain the current condition in plain language without replacing personal judgment.

Dashboard

The compact dashboard focuses on live decision information.

It may display:

Effective preset
Detected market
Trend
Adaptive regime
B eligibility
Momentum
Higher-timeframe state
Structure
Current decision
Active trade
Protection
Last exit
TP1, TP2, and TP3 status

Historical testing statistics and diagnostic counters are not shown in the public dashboard so the chart remains clean and easy to read.

Alerts and webhook automation

The script supports TradingView alerts and JSON webhook messages.

For long-only automation:

buy opens a long position
sell closes the long position

A sell action may be generated when the active long closes through:

TP3
Stop loss
Breakeven
Trailing stop
Another enabled long-exit condition

The JSON format includes fields for:

Secret token
Ticker
Asset type
Action
Price
Strategy
Timeframe
Order type
Stop loss
Take-profit levels

For webhook use:

Enter the secret token in the alert settings.
Enable bot JSON alerts.
Create one TradingView alert using Any alert() function call.
Enter the webhook URL supplied by the connected execution service.
Recreate alerts whenever the script or alert configuration is changed.

Existing alerts continue running the older saved script snapshot until they are recreated.

Important notes

This indicator is a chart-reading and decision-support tool.

It does not predict future price movement and does not guarantee profitable outcomes.

Historical chart behavior may differ from live execution because of:

Spread
Slippage
Liquidity
Latency
Broker rules
Order handling
Market gaps
Partial fills

Signals should be evaluated alongside personal risk management, position sizing, market conditions, and independent analysis.
Versionshinweise
What’s new:

Added initial automatic Forex Day configuration
Added initial automatic Gold Day configuration
Improved detection for spot gold, gold CFDs, and gold futures
Prevented stock symbols such as NYSE:GOLD from being misclassified as the gold commodity
Retained automatic Crypto Scalping behavior
Improved automatic preset and market identification in the dashboard
Corrected HTF Off behavior so disabled higher-timeframe conditions cannot invalidate armed setups
Improved bearish chart analysis while using Longs Only
Short execution remains restricted to Longs & Shorts mode
Prevented repeated bearish labels and duplicate C-grade labels
Improved dashboard decision colors for bullish, bearish, and C-grade signals
Improved Forge Guide messaging for active setups, blockers, triggers, invalidation, and trade management
Clarified the separation between chart analysis, internally tracked trades, and webhook execution
Updated version references throughout the indicator and webhook payload
General code cleanup and consistency improvements

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.