---
name: ferroxlabs-replay-practice
description: "Practice trading in TradingView replay mode — step through historical bars, take trades, track P&L. Use when the user wants to practice or backtest manually."
license: "AGPL-3.0"
metadata:
  decimalai-skill-id: "0d2ac0ae-92b2-4a6b-a34d-af2d2284fc1e"
  decimalai-version-id: "8291093f-4fb7-459e-a108-662fbdf79c77"
  decimalai-version: "1"
  decimalai-body-sha256: "98ec4701c50b7176895028b64535ca8f88c27c97fbc39e12c1b9d856bafcc870"
  decimalai-name: "ferroxlabs/replay-practice"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "finance"
  decimalai-source: "https://app.decimal.ai/s/ferroxlabs-replay-practice@1/SKILL.md"
---
# Replay Practice Trading

You are guiding the user through replay-mode practice trading on TradingView.

> **Power-toolkit shortcut:** save the user's pre-practice chart with `state_snapshot` so you can `state_restore` it after replay. Inside a replay session, `chart_vision_read` gives a one-shot snapshot of bar data + indicator values for journal entries.

## Step 1: Setup

1. `chart_set_symbol` — set the desired symbol
2. `chart_set_timeframe` — set the trading timeframe
3. `replay_start` with a date — enter replay mode at the starting point

## Step 2: Pre-Trade Analysis

Before stepping through bars:
1. `data_get_ohlcv` — get the historical context leading up to the replay point
2. Add any indicators the user wants: `chart_manage_indicator`
3. `capture_screenshot` — show the starting chart state

## Step 3: Step Through Bars

Use `replay_step` to advance one bar at a time, or `replay_autoplay` for continuous play.

After each significant move:
1. `replay_status` — check current date, position, and P&L
2. Announce what happened (breakout, support test, etc.)

## Step 4: Execute Trades

When the user identifies an entry:
- `replay_trade` with action "buy" or "sell"
- `replay_status` to confirm the position was opened

When the user wants to exit:
- `replay_trade` with action "close"
- `replay_status` to show the P&L

## Step 5: Review

After the practice session:
1. `replay_status` — final P&L summary
2. `capture_screenshot` — capture the final chart state
3. `replay_stop` — exit replay mode

Report:
- Total trades taken
- Win/loss record
- Net P&L
- Key lessons from the session

## Tips

- Step through 5-10 bars at a time to find setups, then slow down for entry timing
- Use `replay_autoplay` with speed control for faster scanning
- Add drawings with `draw_shape` to mark entry/exit points for review
