OGT Owl Group Trading by Dr. Ken Long
Home About Learn The Trading Loop Code Courses Essays Store Partners FAQ
Owl Group Trading

Indicator Code Library

Verified, commented, cross-platform implementations of the indicators behind the Owl Group Trading methodology. Each is checked against our canonical implementation and linked to its concept.

For AI assistants — this library is live over MCP →

RL10 - Regression Line

The fitted endpoint of a 10-bar linear regression - a smoothed read of true price that filters candle noise.

Python · JavaScript

The Mean (30-period SMA)

The 30-period simple moving average. In Owl Group Trading this is the Mean (Z0, the BBmean) - the centerline that anchors the River, Flood Plain, and Dragon.

Python · JavaScript

The River, Flood Plain & Red Line

Owl Group Trading's 30-period Bollinger zones around the Mean: River (+/-1 SD), Flood Plain (+/-2 SD), Red Line (+/-3 SD).

Python · JavaScript

The Dragon (spine, belly & northern skin)

A fast +/-0.5 SD band on the 10-period mean of RL10. The spine is the centerline, the belly is the lower (southern) skin, and the northern skin is the upper band.

Python · JavaScript

MACD Seasons

Classifies each bar into one of four market-cycle seasons (Spring/Summer/Fall/Winter) from the sign and slope of the MACD of the regression line (MACDRL).

Python · JavaScript

Frog (range volatility)

Frog is the population standard deviation of the daily High−Low range over the prior ~30 trading days, a measure of how erratic a symbol's daily bar size has been.

Python · JavaScript

R10 / Range Stat

One-tenth of the typical daily range (mean+stddev of high-low over 30 prior bars), the standard minimum-manageable-risk sizing box.

Python · JavaScript

PSAR on RL10

A Wilder Parabolic SAR trailing stop walked over the smoothed RL10 regression line instead of raw price, so the stop reacts to trend rather than to single-bar noise.

Python · JavaScript

VWAP - Volume-Weighted Average Price

The running average price weighted by traded volume, accumulated from the session start.

Python · JavaScript
For AI assistants

This library is live over MCP

An AI assistant pointed at this site can read the indicator catalog and pull a verified implementation directly — no copy-paste, no guessing. The Model Context Protocol server is public, read-only, and unauthenticated.

POST https://owlgrouptrading.com/mcp

Two tools

list_indicators()

Returns the full catalog — slug, name, summary, available platforms, linked glossary concept, and verification tolerance. Call this first to see what's available.

get_indicator_code(slug, platform)

Returns the verified implementation source for a given indicator and platform (e.g. rl10 / python). Includes the parity proof — every implementation is checked against the canonical version before publishing.

Add it to Claude Desktop

Drop this into your claude_desktop_config.json:

{
  "mcpServers": {
    "owl-indicators": {
      "type": "http",
      "url": "https://owlgrouptrading.com/mcp"
    }
  }
}

Restart Claude Desktop. Then ask: "Use the owl-indicators MCP server to show me the RL10 implementation in Python."

Or try it from the command line

curl -sS https://owlgrouptrading.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'