OGT Owl Group Trading by Dr. Ken Long
Owl Group Trading

Code & Tools

Working material for the practice: verified, commented, cross-platform implementations of the indicators behind the Owl Group Trading methodology, plus free tools we use in the daily work. Each indicator 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

Tools

Free spreadsheets and small utilities from the practice. No signup required.

The Simple Trade Log

Write the trade down or it never happened. One log tab: date, symbol, direction, entry, stop, exit, size, the pattern you traded, and your mental state going in. The calculated columns score every trade in R, and the Stats tab keeps the numbers that matter: win rate, average win and loss in R, expectancy, cumulative R, profit factor. Ten trades in, you have data instead of feelings.

Download for Excel (.xlsx) Copy to Google Sheets

The Excel and Google Sheets versions are identical. Prefer to look before you copy? Preview the Google Sheet.

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"}'