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 |
β‘ 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 installStep 2: Install Node.js (if not installed)
Download from https://nodejs.org/ (version 16 or higher)
Step 3: Deploy Pine Script
Open TradingView Desktop
Open chart XAUUSD (any timeframe, recommended M15)
Press F3 or click Pine Editor at bottom
Copy ALL contents of
smc_ict_unified_v1.pinePaste into Pine Editor
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.cjsStep 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 |
| Main Pine Script - Deploy to TradingView |
| Core trading rules |
| Lessons from losses (MISS #1-#14) |
| Fibonacci knowledge |
| Complete system documentation |
| AI agent instructions |
| Risk calculator |
| Market analysis (PINE + SMC + ICT) |
| Chart overlay panel |
| Position monitor |
| TF warm-up (fixes PINE none bug) |
| Auto-run on TV restart |
| 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):
EMA-based MTF trend detection (more robust)
Last-known-value pattern with
varcacheAuto-cycle TF via
cycle_tf_efficient.cjson 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
Max 3 entries/day - Stop after 2 losses
BUY only at DISKON (below mid range)
SELL only if D1 BEARISH + PREMIUM
Structural SL - Outside sweep/swing + buffer, NOT 10 pips fixed
Entry requires confirmation: PINE M15 signal + CHoCH + candle
π Documentation
File | Read First |
| Core rules (read this first!) |
| All lessons from losses |
| Fibonacci zones |
| Consolidated system docs |
| 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.cjsTV 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.cjsBuilt with β€οΈ by Fitra + AI (Fatra)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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