Install
openclaw skills install @fxdavid-offbeatforex/ask-a-legendGet one legendary trader's read on a symbol — Wyckoff, Gann, Elliott Wave, Dow Theory, Livermore, DeMark, Wilder (RSI/ADX), Ichimoku (Hosoda), Weinstein stage analysis, or O'Neil CAN SLIM. Pass the legend and symbol, e.g. "gann on eurusd" or "what would Wyckoff say about AAPL?". Analysis and a second opinion, not a signal.
openclaw skills install @fxdavid-offbeatforex/ask-a-legendRun a single-legend analysis from $ARGUMENTS — a legend (name/nickname), a
symbol, and optionally a timeframe and platform (e.g. "gann eurusd 15m",
"what does Wyckoff think of BTCUSD?", "livermore on AAPL from tradingview").
Default timeframe is 1h if omitted.
Run scripts/setup.sh (in this skill's own directory) and capture its stdout as TLC_HOME
(it clones/updates github.com/FXDavid-OffbeatForex/TLC under ~/.tlc/ and
installs requirements.txt into an isolated venv at $TLC_HOME/.venv).
cd "$TLC_HOME" and add the venv to PATH before every command below:
export PATH="$TLC_HOME/.venv/bin:$TLC_HOME/.venv/Scripts:$PATH" (POSIX
venvs use bin, Windows-native venvs use Scripts — only one will exist,
so prepending both is safe everywhere). This makes plain python3 (or
python on Windows, which usually has no python3 shim) resolve to the
venv with deps installed — not to any other Python that happens to be
on PATH (e.g. the harness's own bundled interpreter), which would silently
run against the wrong environment and fail with confusing import errors.
If the script fails, report the exact error — do not fall back to a
half-installed run.
Do all of this skill's work in the terminal tool, inside $TLC_HOME —
never execute_code or any other code-sandbox tool for tlc.* commands.
Those sandboxes are a separate, isolated Python environment without this
project's venv, MetaTrader5, or MBT's core module, so a tlc.* call there
fails with a misleading ModuleNotFoundError/NotImplementedError. Three rules
follow:
ModuleNotFoundError is almost never a real data outage. It
means the wrong tool ran the command, or the venv/cwd from §0 didn't carry
into this call. Re-assert cd "$TLC_HOME" + the PATH export in terminal and
retry there. Never let such an error override data you already fetched
successfully earlier in the same conversation — reuse that data, don't discard it.terminal too — temp frames.json/
packet.json/ballot.json, spec files, config.yaml/.env. Every path here
is relative to $TLC_HOME; if you use any other tool for a file, give it the
absolute path under $TLC_HOME, or the next terminal command won't find it.Still inside $TLC_HOME, check for config: ls .env config.yaml 2>/dev/null.
Both present → already configured. Continue to §1, and do NOT re-prompt for
anything (including a TV key): if TradingView is enabled but .env has no
TVR_API_KEY, say so once, only the first time a TV symbol is actually
requested — never nag it on every run.
Missing → this is first-run setup. Auto-configure. Do NOT run a question wizard, and never ask about "engine" or "alerts" (Hermes runs the model and handles scheduling/delivery — those TLC settings don't apply here). Do this:
Setup gate — finish steps 2 and 3 before anything else. After writing config, do NOT advance to §1, fetch data, run an analysis, or answer the legend request until setup is complete. Until then the only things you may emit are the MT5-terminal choice (step 2, when more than one terminal is running) or the TradingView-key prompt (step 3).
config.yaml from config.example.yaml: enabled_platforms: [mt5, tradingview], default_platform: mt5, no bridge_url (Docker/
remote only). Write a blank .env scaffold.$TLC_HOME/MBT
(clone github.com/FXDavid-OffbeatForex/MBT there + pip install -r MBT/requirements.txt if absent); tlc.providers.mt5 puts it on sys.path,
so no bridge is needed. Before any fetch, count the running MT5 terminals
(Get-Process terminal64 on Windows / pgrep -f terminal64 under Wine):
mt5.initialize() auto-attaches; leave mt5_path blank.mt5_path in MBT/config.yaml to their choice. Never silently pick.C:\Program Files\**\terminal64.exe and confirm.$TLC_HOME/.env (code .env / reveal it) and have
them paste it in a real editor and save — key stays in the file, not chat.$TLC_HOME/.env immediately
(and delete their message if the channel supports it). Or "skip" —
MT5 works with no key.
If skipped, leave TVR_API_KEY blank; TradingView stays unavailable until
someone adds it to $TLC_HOME/.env (it's one shared file — set once, works
from every interface). Do not re-ask on later runs.Never invent or hardcode a key; never put a real secret in config.yaml. Then
continue to §1 (do not report a "config missing" failure — you just fixed it).
Map the name/nickname in $ARGUMENTS to an id:
| Say any of… | id |
|---|---|
| Dow, Dow Theory | dow |
| Wyckoff | wyckoff |
| Livermore, Jesse Livermore | livermore |
| Elliott, Elliott Wave | elliott |
| Gann, W.D. Gann | gann |
| DeMark, Tom DeMark | demark |
| Wilder, Welles Wilder, RSI, ADX | wilder |
| Ichimoku, Hosoda | hosoda |
| Weinstein, Stan Weinstein, stage analysis | weinstein |
| O'Neil, CAN SLIM | oneil |
If the user names a custom legend they previously forged, its id is
whatever they gave it — its spec lives at my_legends/<id>.md (check there
first, then tlc/legends/<id>.md).
Follow tlc/legends/_single_legend_flow.md exactly, using that legend's spec
file as the method. Stay strictly in the legend's voice and method — if their
setup is absent, vote FLAT; never force a trade.
Platform (mt5 / TradingView) resolves like this: a trailing tv/mt5 token or
a phrase like "from tradingview" forces it, otherwise it auto-routes by asset
class (forex/metals → mt5, stocks/crypto → tradingview), else falls back to
config.yaml's default. Fetch bars with the registered MCP tool for that platform if one is
present in this Hermes environment, else the headless shortcut
python3 -m tlc.data_desk <symbol> <tf> --platform <tv|mt5>.
Never fabricate market data. If every fetch path fails (no MCP registered, no API key, network error, timeout), stop and report the failure plainly — which path you tried and why it failed. Do not estimate, guess, or invent bars/prices/indicators to keep going. A wrong "I couldn't get data" is safe; an invented ballot is not.
Do not stop after fetching data or writing an internal verification note. Your final message to the user MUST be the analysis + ballot JSON below — if you've done the work but haven't shown it, you are not done. (On weaker models it's easy to halt right before this step; don't.)
A short analysis in the legend's voice, then the ballot JSON block (direction, conviction, entry, invalidation, target, thesis). This is one trader's read — frame it as analysis and a second opinion, never as a signal or financial advice.