High Performance
Real-time

Introducing kScript v2

kScript is Kiyotaka's official scripting language, empowering traders to build custom indicators with unprecedented access to market data. Designed with a familiar PineScript-inspired syntax, kScript ensures a seamless transition for experienced scripters while remaining approachable for newcomers.

Beta

Currently in beta and evolving fast - join our Discord community with thousands of other traders where we're building and improving kScript together, with rapid feedback loops and collaborative development.

kScript Showcase
kScript
RSI Indicator
Output
Loading chart...

Beta Launch

Evolving Fast

We're shipping new functions, chart types, and performance improvements weekly based on trader feedback. Every update is backward-compatible - your scripts will never break, only get more powerful. Beta users receive permanent benefits including priority compute resources and expanded data access - your early support means lifetime advantages.

50+
Built-in Functions
Ready to use
6
Data Types
Available
2.0k
Depth Levels
Real-time
5
Chart Types
Supported

Why kScript?

Familiar Yet Powerful

🎯

We've designed the syntax to be both familiar and trader-friendly. If you know PineScript, you'll feel at home immediately. If you don't, you'll find kScript refreshingly intuitive. Unlike other platforms, we've removed timeout restrictions and calculation limits - run complex strategies that would fail elsewhere, processing millions of data points without worrying about execution limits.

Unmatched Data Access

📊

While other platforms limit you to basic OHLC data, kScript opens the entire market to your analysis:

Order Book Depth

Access granular order book data up to 2,000 levels deep - build liquidity indicators that see what others can't. We're one of the few platforms offering years of historical order book data, not just OHLC, so you can backtest strategies that were previously impossible to validate.

Institutional Data

ETF holdings, fund flows, lending rates, and margin data

Options Flow

Real-time options data for advanced market sentiment analysis

Cross-Exchange Aggregation

Combine data from multiple exchanges in a single indicator for true market-wide analysis - track price discrepancies, liquidity imbalances, and arbitrage opportunities across venues

Multi-Symbol Intelligence

Unlike traditional platforms that lock you to a single symbol per script, kScript lets you reference unlimited symbols in one indicator. Build correlation matrices between BTC and ETH volumes, track sector rotation across multiple stocks, or create market breadth indicators using dozens of symbols simultaneously.

This vast data access lets you create hybrid indicators that combine multiple market signals - mix order flow with options sentiment, correlate institutional positioning with price action, or develop entirely new indicator categories that were previously impossible.

Developer-First Features

🛠️

Live Debugging

See your variables update in real-time as the market moves

Version Control

Built-in versioning for all your scripts with rollback capabilities

AI-Powered Development

New

Transform your AI assistant into a kScript expert. Our reference document teaches ChatGPT, Claude, and other LLMs the exact kScript syntax - no more debugging broken AI-generated code.

Download Prompt

Get the kScript syntax guide optimized for LLMs

Attach to AI

Upload to your ChatGPT or Claude conversation

ChatGPTClaude

Generate Code

Get working kScript with correct syntax every time

Open Kiyotaka
Note: While AI assistants become more helpful with our reference, always verify generated code. Complex strategies may need manual adjustments.

Join the Beta Community

Your feedback is heard and implemented quickly - we've shipped 40+ community-requested features in the past month alone. Report a bug in the morning, see it fixed by afternoon. Suggest a function today, use it next week. This rapid iteration cycle means kScript evolves exactly how you need it to.

Join our Discord to:

🚀Get early access to new features and documentation
Submit feedback that gets responded to within hours, not weeks
🤝Collaborate on code with other developers building advanced indicators
🔧Share and debug scripts together in real-time
🎯Help prioritize the development roadmap
📊Request custom data sources and new functions
🎯

Trader Friendly Syntax

Built-in functions for many common indicators and patterns

📊

Real-time Data

kScript processes live market data instantly, ensuring your indicators reflect the market as it moves

Blazing Fast

Built from the ground up for speed, kScript is lightweight and executes complex calculations in microseconds

Ready to start building?

Join thousands of traders using kScript to power their trading strategies with unprecedented market data access

📖
Introduction
Overview of kScript language
🔍
Overview
Complete technical documentation
🚀
Quick Start
Get started with kScript basics
📋
Function Reference
Complete API reference guide
📚
Type System
Understanding kScript data types
General FAQ
Frequently asked questions about kScript
Best Practices
Guidelines for writing efficient kScript code
⚠️
Limitations
Known constraints and workarounds
🆕
Updates
v1 vs v2 differences and improvements
🔧
Core Concepts
Variables, data types & data sources
⚙️
Execution Model
Per-bar execution lifecycle and phases
🏷️
Keyword Arguments
Named parameters for clear function calls
🔗
Field Accessors
Dot notation for timeseries field access
🛠️
User-Defined Functions
Create custom reusable functions
🔗
Script Definition
Defining inputs and metadata
TimeSeries Management
Working with time-aligned data
🎯
Utility Functions
Helper functions and calculations
📈
Moving Averages
SMA, EMA and trend-following indicators
📊
Oscillators
RSI, Stochastic and momentum indicators
📈
Trend Indicators
Trend direction and strength analysis
📉
Volume Indicators
Volume-based analysis tools
📦
Orderbook Functions
Market depth analysis tools
🎨
Plotting & Visualization
Chart rendering and styling
🌈
Color Functions
Color manipulation and styling
📊
Data Subscriptions
Subscribe to OHLCV, trades, and orderbook data
🔄
Loops
For loops and while loops for iteration
🧮
Math Functions
Mathematical functions and constants
🏠
Go Home
Return to main landing page