SeekAlgo/Docs/Introduction
Docs/Introduction

Introduction

What the platform scripting system does, how public users move through it, and how the docs are organized.

Introduction

SeekAlgo uses a single JavaScript-like scripting surface for indicators and strategies.

The same script style powers:

  • chart indicators
  • strategy backtests
  • sample scripts in the editor
  • multi-symbol basket strategies

How To Read This Docs Set

The public path is:

  1. understand the script shape
  2. configure platform settings
  3. create an indicator or strategy
  4. move into multi-symbol workflows if needed
  5. use the reference pages for exact methods and signatures

Script Types

Use script({ type: 'indicator' }) when the script only plots or calculates values.

Use script({ type: 'strategy' }) when the script places entries and exits.

Execution Model

Scripts run bar by bar.

  • close, open, high, low, volume, and time are time series.
  • Use .get(0) for the current bar, .get(1) for the previous bar, and so on.
  • Indicator calculations should stay deterministic and based on historical series values.

Modern Syntax

The current docs and samples use these primitives:

script({ type: 'indicator', priceStudy: true });

const length = input.integer("Length", 14);
const value = ta.rsi(close, length);

plot(value, { type: "line", color: "#D65A31" });

For basket strategies:

script({ type: 'strategy', priceStudy: true });

symbols([
  "BTCUSDT:BINANCE:FUTURE:DEFAULT",
  "ETHUSDT:BINANCE:FUTURE:DEFAULT"
]);

const btcClose = symbol.close[0].get(0);

What The Sample Set Teaches

  • moving averages and crossovers
  • momentum and oscillator signals
  • volatility bands and channels
  • trend filters and confirmations
  • single-symbol and multi-symbol strategy patterns

Next Reading