PROTECTED SOURCE SCRIPT

Strong Economic Event Indicator (mtbr)

52
Description:
This indicator is designed for traders to visualize entry levels, targets (TP1, TP2, TP3), and stop loss around key economic events for the selected asset, defaulting to XAUUSD. It provides a clear reference for potential market movements based on the event's surprise and direction (Bullish, Bearish, or Neutral).

Key Features:
Customizable Event Selection:
Select from a list of major economic events including ISM Services PMI, CPI, Non-Farm Payrolls, Fed Rate Decision, and more.
Set the exact year, month, day, hour, and minute for the event so that lines and labels appear at the correct bar.

Surprise Calculation and Direction:
Automatically calculates the difference between Actual and Forecast.
Displays the market direction in the table as Bullish, Bearish, or Neutral.

Price Levels in Pips Relative to Entry:
Entry, three targets (TP1, TP2, TP3), and Stop Loss can be set in pips relative to the entry price.
Directional logic ensures that levels adjust automatically according to Bullish or Bearish surprise.
Each line and label is independent and updates only when its corresponding input changes.

Chart Visualization:
Colored lines and labels:
Entry → Blue
TPs → Green
Stop Loss → Red
Vertical event line → Orange (dashed), highlighting the event release moment.

Integrated Informative Table:
Displays:
Selected economic event
Entry price
TP1, TP2, TP3 levels
Market direction status
Color-coded: green for Bullish, red for Bearish, gray for Neutral.

How to use the script:
Add the indicator to the chart of your preferred asset (default is XAUUSD).
Select the economic event from the drop-down list.
Set the event date and time in the input panel.
Enter the Entry Price and pip values for TP1, TP2, TP3, and Stop Loss according to your strategy.
The indicator will automatically draw lines and labels on the chart and update the table with event details and market direction.
Whenever an input value changes, only the corresponding line and label will update, leaving other levels intact.

Important Notes:
This indicator is visual and educational only; it does not place trades automatically.
Make sure the event timezone is correct to match your local release time.
Use in combination with your own trading strategy and risk management.

TradingView Publication Compliance:
Full instructions for usage
Explanation of inputs and settings
Description of line and label behavior
Educational disclaimer (no automated trading)

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.