Copilot prompt

RSI oversold on the KSE-100

A Strategy Copilot prompt that builds a long-only RSI mean-reversion paper bot on the KSE-100, with sensible stops.

pyPSX· 11 July 2026· 1 min read

Paste this into Strategy Copilot (Make Strategy on markets.pypsx.com). It builds a runnable paper bot, review the config, then launch.

Buy KSE-100 stocks when their RSI drops below 30. Sell at a 4% gain or a 1.5% loss, whichever hits first. Long only, market-hours only, 1.5% daily loss limit.

What Copilot builds from this

  • Universe: KSE-100 index.
  • Entry: RSI ≤ 30 (oversold).
  • Exit: take-profit 4%, stop-loss 1.5%.
  • Guards: market-hours schedule, daily loss limit.

Copilot combines multiple entry conditions with AND logic and is long-only

  • if you ask it for short-selling or an unsupported indicator (Ichimoku, ADX, Parabolic SAR, candlestick patterns), it tells you honestly instead of faking it.

Want to validate it first?

Copilot configs launch straight to paper, they aren’t run through the backtest page. To test the idea on history first, use the SDK’s run_backtest() with the rsi_momentum template, or see our RSI-oversold backtest on the KSE-100.