GOLD MARKET INTELLIGENCE TERMINAL Notifications
TradingView market data
Market data by TradingView ↗
CY66 TECHNOLOGY / CYGURU.GOLD

TradingView alert integration

One HTTPS endpoint. Independent engine routing. Explicit event evidence.

Endpoint

POST https://cyguru.gold/api/webhooks/tradingview

TradingView alert changes are manual. Publishing this Site does not alter an existing TradingView alert. Keep old alerts until a synthetic test and a real qualifying event are verified in the new receiver. Never run duplicate production alerts indefinitely.

Authentication

Add a secret field containing the server-side TERMINAL_WEBHOOK_SECRET to the JSON alert body. The actual value is not published. Authorization: Bearer is also supported for service tests. Do not place secrets in URLs. Existing CY66 path-token endpoints remain untouched.

Native v1 contract

{
  "secret": "REPLACE_PRIVATELY",
  "schema_version": 1,
  "event_id": "unique-event-id",
  "signal_id": "stable-signal-id",
  "indicator_id": "66-BREAKOUT-V1",
  "strategy_id": "BREAKOUT",
  "symbol": "OANDA:XAUUSD",
  "timeframe": "15",
  "action": "BUY",
  "event_type": "SIGNAL_CREATED",
  "entry_price": "NUMBER_FROM_SCRIPT",
  "stop_loss": "NUMBER_FROM_SCRIPT",
  "take_profit_1": "NUMBER_FROM_SCRIPT",
  "take_profit_2": "NUMBER_FROM_SCRIPT",
  "take_profit_3": "NUMBER_FROM_SCRIPT",
  "event_timestamp": "ISO_UTC_FROM_SCRIPT",
  "created_timestamp": "ISO_UTC_SIGNAL_ORIGIN",
  "expires_at": "ISO_UTC_EVALUATION_DEADLINE",
  "environment": "production"
}

Template tokens above must be replaced by actual script variables; this is not a ready-to-send market signal. Native timestamps use ISO UTC, prices use JSON numbers. event_id is unique per update, signal_id remains stable. Delivery must be within ten minutes. Retries retain the same event_id and payload.

Lifecycle

SIGNAL_CREATED → SIGNAL_UPDATED / TP1_HIT / TP2_HIT → TP3_HIT or STOP_LOSS_HIT / SIGNAL_CLOSED. SIGNAL_CANCELLED and SIGNAL_INVALIDATED are terminal. Price levels, direction and evaluation deadline remain immutable. Out-of-order and contradictory events are rejected. Test events use environment=test and never enter the public feed.

Existing Pine payload compatibility

The original 66.signals.v1 JSON contract is supported through a validated adapter. Keep every original field and append secret. SIGNAL maps to SIGNAL_CREATED, FILL to SIGNAL_UPDATED, TARGET to the matching TP event, STOP / STOP_AFTER_TARGET to a stop, AMBIGUOUS to invalidation and WINDOW_END to closure. Start the new receiver with the next original SIGNAL; updates without an origin are rejected.

IndicatorExact indicator_id / engine_idTimeframeMigration action
CyGuru IndicatorCYGURU-INDICATOR-3.2-RC115Use the original matching Pine script, enable “Any alert() function call”, privately add body secret, set central URL. Legacy entry_proposed-only script requires the supplied v3.3 lifecycle script or a native v1 emitter.
66 Trend66-TREND-V115Use the original matching Pine script, enable “Any alert() function call”, privately add body secret, set central URL. Legacy entry_proposed-only script requires the supplied v3.3 lifecycle script or a native v1 emitter.
66 Reversion66-REVERSION-V115Use the original matching Pine script, enable “Any alert() function call”, privately add body secret, set central URL. Legacy entry_proposed-only script requires the supplied v3.3 lifecycle script or a native v1 emitter.
66 Breakout66-BREAKOUT-V115Use the original matching Pine script, enable “Any alert() function call”, privately add body secret, set central URL. Legacy entry_proposed-only script requires the supplied v3.3 lifecycle script or a native v1 emitter.
66 Upside Momentum66-UPSIDE-MOMENTUM-V15Use the original matching Pine script, enable “Any alert() function call”, privately add body secret, set central URL. Legacy entry_proposed-only script requires the supplied v3.3 lifecycle script or a native v1 emitter.
66 Downside Momentum66-DOWNSIDE-MOMENTUM-V15Use the original matching Pine script, enable “Any alert() function call”, privately add body secret, set central URL. Legacy entry_proposed-only script requires the supplied v3.3 lifecycle script or a native v1 emitter.
66 NSI66-NSI-V15Use the original matching Pine script, enable “Any alert() function call”, privately add body secret, set central URL. Legacy entry_proposed-only script requires the supplied v3.3 lifecycle script or a native v1 emitter.
66 Hazem Signal66-HAZEM-V15 / 15Use the original matching Pine script, enable “Any alert() function call”, privately add body secret, set central URL. Legacy entry_proposed-only script requires the supplied v3.3 lifecycle script or a native v1 emitter.
CyGuru Safe SignalCYGURU-SAFE-V115Use the original matching Pine script, enable “Any alert() function call”, privately add body secret, set central URL. Legacy entry_proposed-only script requires the supplied v3.3 lifecycle script or a native v1 emitter.

Big Drop and Rapid Rise have no independently identified engine contract in the accessible source; they remain unactivated.

Original v3.3 setup notes →