Skip to main content
Glama
supermocs01-arch

HEBAT-MCP

HEBAT MCP - SMCΓ—ICT Trading System

Sistem trading gabungan SMC + ICT untuk XAUUSD. Built by Fitra with AI assistance.

🎯 Overview

Item

Value

Target

XAUUSD (Gold)

Broker

OANDA Cent MT5

Account

~2,000 USC

Pine Version

v1.1 (7 Sep 2026)

Strategy

Paten Fitra + ICT Kill Zones

Related MCP server: Dragonglass TradingView MCP

⚑ Quick Start (First Time Setup)

Step 1: Clone & Install

# Clone repo
git clone https://github.com/supermocs01-arch/HEBAT-MCP.git
cd HEBAT-MCP

# Install dependencies
npm install

Step 2: Install Node.js (if not installed)

Download from https://nodejs.org/ (version 16 or higher)

Step 3: Deploy Pine Script

  1. Open TradingView Desktop

  2. Open chart XAUUSD (any timeframe, recommended M15)

  3. Press F3 or click Pine Editor at bottom

  4. Copy ALL contents of smc_ict_unified_v1.pine

  5. Paste into Pine Editor

  6. Click "Add to chart" (bottom right)

You should see "SMCΓ—ICT v1.1 OK" at top right of chart.

Step 4: First Run

# Health check - verify TV connection
node C:\HEBAT\tradingview-mcp\src\cli\index.js status

# Cycle TF (warm-up PINE - IMPORTANT after first deploy!)
node C:\HEBAT\cycle_tf_efficient.cjs

# Run market analysis
node C:\HEBAT\analisa_gabungan.cjs

# Update overlay on chart
node C:\HEBAT\overlay_position.cjs

Step 5: (Optional) Auto-Start Watcher

Run this once when PC starts - it auto-detects TV restart:

node C:\HEBAT\auto_start_watch.cjs

πŸ”„ Daily Usage

# Morning startup - full sequence
node C:\HEBAT\hi_fitra.cjs

# Or individual commands:
node C:\HEBAT\analisa_gabungan.cjs    # Scan market
node C:\HEBAT\overlay_position.cjs     # Update chart overlay
node C:\HEBAT\cycle_tf_efficient.cjs   # Refresh PINE (after TV restart)

πŸ“ File Structure

File

Purpose

smc_ict_unified_v1.pine

Main Pine Script - Deploy to TradingView

PATEN.md

Core trading rules

pelajaran_sl.md

Lessons from losses (MISS #1-#14)

pengetahuan_fibo.md

Fibonacci knowledge

KNOWLEDGE_BASE.md

Complete system documentation

AGENTS.md

AI agent instructions

hitung.cjs

Risk calculator

analisa_gabungan.cjs

Market analysis (PINE + SMC + ICT)

overlay_position.cjs

Chart overlay panel

monitor_limit_xau.cjs

Position monitor

cycle_tf_efficient.cjs

TF warm-up (fixes PINE none bug)

auto_start_watch.cjs

Auto-run on TV restart

hi_fitra.cjs

Full startup sequence

πŸ› Bug Fixes (v1.1)

PINE request.security() NA Bug

Problem: request.security() for HTF (D1/H4/H1) returns NA after TV restart.

Solution (v1.1):

  1. EMA-based MTF trend detection (more robust)

  2. Last-known-value pattern with var cache

  3. Auto-cycle TF via cycle_tf_efficient.cjs on TV restart

How it works:

TV Restart β†’ auto_start_watch.cjs detects β†’ cycle_tf_efficient.cjs runs
→ cycles through D→240→60→30→15→5 → PINE populates all TF

🎨 Features

Built-in Visual Indicators

  • SMC: BOS, CHoCH, FVG, Order Blocks, Sweeps

  • ICT: Kill Zones, Silver Bullet, Judas Swing, OTE

  • Fibonacci: 61.8%, 78.6%, OTE zones

  • MTF Table: Trend per timeframe

  • Auto SL/TP: Suggested levels per trade

Automated Tasks

  • Chart overlay with position/Layer info

  • Position monitoring with glitch filter

  • Market analysis with verdict engine

  • Alert-ready JSON output

⚠️ Important Rules

  1. Max 3 entries/day - Stop after 2 losses

  2. BUY only at DISKON (below mid range)

  3. SELL only if D1 BEARISH + PREMIUM

  4. Structural SL - Outside sweep/swing + buffer, NOT 10 pips fixed

  5. Entry requires confirmation: PINE M15 signal + CHoCH + candle

πŸ“– Documentation

File

Read First

PATEN.md

Core rules (read this first!)

pelajaran_sl.md

All lessons from losses

pengetahuan_fibo.md

Fibonacci zones

KNOWLEDGE_BASE.md

Consolidated system docs

SETUP.md

Detailed setup guide

πŸ†˜ Troubleshooting

"PINE shows none"

# Run cycle TF to warm up
node C:\HEBAT\cycle_tf_efficient.cjs

"Overlay not showing"

# Re-run overlay
node C:\HEBAT\overlay_position.cjs

"Monitor not running"

# Check lock
type C:\HEBAT\monitor.lock

# Restart monitor
node C:\HEBAT\monitor_limit_xau.cjs

TV connection issues

# Verify TV is running with CDP
node C:\HEBAT\tradingview-mcp\src\cli\index.js status

# If failed, restart TV and run
node C:\HEBAT\hi_fitra.cjs

Built with ❀️ by Fitra + AI (Fatra)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables automated control of TradingView Desktop via Chrome DevTools Protocol with 78+ tools for chart manipulation, Pine Script development, and indicator analysis. Supports automated morning briefs for session bias generation, replay trading practice, and multi-pane layouts with secure local-only data processing.
    2
    -
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI co-pilots to interact with TradingView charts, manage alerts via REST API, automate morning briefs with custom trading rules, and perform real-time market analysis.
    -
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI to analyze and manipulate TradingView charts via Chrome DevTools Protocol, and access market data through public scanner API.
    105
    313
    3
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Analyzes the instrument currently open on your TradingView chart using 311 published quantitative models and free market data, returning a confidence-scored verdict with position sizing. Supports universe scanning and verified Pine Script export.
    1
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/supermocs01-arch/HEBAT-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server