Docs/Getting started with Kalgo on TradingView!

Getting started with Kalgo on TradingView!

This guide walks you through setting up the Kalgo algorithm on TradingView, from accessing the script to placing your first trade.

Prerequisites

Before you begin, make sure you have:

  • A Kalgo subscription (monthly or lifetime)
  • A TradingView account with a paid plan is required to run strategies with real time data and alerts
  • Your TradingView username added to your Kalgo profile (required to receive script access)

Step 1: Add Your TradingView Username to Your Profile

Kalgo uses TradingView's invite-only script system. To receive access, your TradingView username must be on file.

  1. Log in to your Kalgo dashboard at kalgo.io/dashboard
  2. Go to Profile
  3. Enter your TradingView username in the TradingView Username field and save

Your username is the one shown in your TradingView profile URL: tradingview.com/u/your-username

Once submitted, access is typically granted within a few minutes. You'll receive a notification in TradingView.


Step 2: Open the Kalgo Script in TradingView

  1. Log in to TradingView
  2. In the top navigation, click Indicators
  3. Go to the Invite-Only Scripts tab
  4. You should see Kalgo listed — click Add to Chart

If the script does not appear, your username may not have been processed yet. Wait a few minutes and refresh TradingView.


Step 3: Set Up Your Chart

For best results, configure your chart as follows:

  • Symbol: CME_MINI:NQ1! (E-mini NASDAQ-100 continuous futures)
  • Timeframe: 1-minute or 5-minute (the algorithm is optimized for intraday trading)
  • Session: Extended hours can be enabled, but the algorithm uses a configurable time filter, see settings below

Using the continuous front-month contract (NQ1!) ensures the algorithm always references the active contract.


Step 4: Configure the Algorithm Settings

Once the script is on your chart, click the Settings icon (gear icon) next to the script name to open the configuration panel.

Default Configuration

The algorithm ships with the following defaults, which are the recommended starting point:

  • Timestring: 0935-1130 — Monday through Friday, morning session only
  • Take Profit Multiplier: 1 — targets a 1:1 ratio relative to the entry range
  • Hard Stop Multiplier: 5 — allows up to 5x the entry range before cutting the trade
  • Martingale Mode: On
  • Max Contracts: 8

Do not adjust these settings until you have observed the algorithm running in simulation for at least one to two weeks.


Step 5: Set Up Broker Alerts (Automated Execution)

To execute trades automatically, you'll connect TradingView alerts to your broker using a webhook. You can find a guide on this here kalgo.io/guides/connect-your-broker


What the Algorithm Trades

Kalgo is designed primarily for NQ (E-mini NASDAQ-100 Futures). The same script is configurable for:

  • Gold (/GC) — adjust multiplier settings accordingly
  • Crude Oil (/CL) — higher volatility; use tighter session windows

Refer to the Algorithm Settings Reference guide for instrument-specific recommendations.


Troubleshooting

The script doesn't appear in Invite-Only Scripts
Make sure your TradingView username is saved in your Kalgo profile and allow up to 10 minutes for access to propagate.

Alerts are firing but no trades are executing
Check that your broker webhook URL is correct and your account has an active connection. Most brokers provide a webhook log in their dashboard.

The algorithm isn't taking trades during market hours
Verify the Timestring setting matches your intended session. The default session is 0935-1200 Eastern Time, Monday through Friday.

I see repainting on the chart
Kalgo uses confirmed bar closes for entries, so there is no repainting on live data. Historical backtesting may show different results than forward performance, this is normal.