agentleFS
SKE-LabsSKE-Labs/agent-trading-skills/skills/ict-smart-money/premium-discount/SKILL.md

premium-discount

Skill17 starsChanged 4 months agoApache-2.0View on GitHub

Measure price location within a chosen swing range using ICT premium/discount terminology. Use when testing whether above/below-midpoint location adds value to an existing directional setup.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test long and short filters separately.

    line 25
  2. Distinctive:

    If evaluating OTE, compare the Fibonacci band with continuous location and equal-width control bands.

    line 26
  3. Distinctive:

    Treat the setup as a testable hypothesis, not a prediction.

    line 43
  4. Distinctive:

    Do not infer institutional accumulation/distribution or a "retail trap" from range location.

    line 51
  5. Distinctive:

    Treat 50% as arithmetic, not an empirical decision boundary or fair value.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Premium & Discount Trading

This convention labels price above a selected range midpoint "premium" and below it "discount." It describes relative location, not fundamental value, equilibrium, or an obligation to oscillate.

Core Concept

Equilibrium = (Swing High + Swing Low) / 2

ZoneLocationAction
PremiumAbove 50%Upper half of selected range
MidpointAt 50%Arithmetic midpoint
DiscountBelow 50%Lower half of selected range

Trading Zones

  • Test long and short filters separately; below/above 50% is not an entry by itself.
  • If evaluating OTE, compare the Fibonacci band with continuous location and equal-width control bands.

Workflow

  1. Identify the swing range using a fixed pivot/timeframe algorithm and only information available at the timestamp:
    get_candles_around_date(symbol=<symbol>, exchange=<exchange>, interval="1d", date=<date>)
  2. Draw Fibonacci using draw_chart_analysis with fib_retracement (0% = Swing High, 100% = Swing Low)
  3. Determine current position: Above 50% = Premium, Below 50% = Discount
  4. Mark levels using draw_chart_analysis: equilibrium with support/resistance, OTE zone with demand/supply
  5. Combine with a separately defined direction hypothesis and report conflicts.
  6. Apply a predeclared entry trigger; range location alone is watch, not a trade.
  7. Use a fixed execution timeframe and closed bars; avoid hindsight swing changes.

Evidence and Validation

  • Treat the setup as a testable hypothesis, not a prediction. Define thresholds, entry, invalidation, and exit before evaluating outcomes.
  • Calibrate on the same instrument, venue, session, and timeframe. Use closed candles and a held-out or walk-forward sample; record every variant tried.
  • Include spread, fees, slippage, borrow or funding, partial fills, and latency. Reject the setup when net expectancy is not positive or depends on one narrow parameter.
  • Return observed inputs, missing data, cost assumptions, entry, invalidation, exit, and a valid, watch, or no-trade status.
  • Research basis: Empirical Fibonacci research does not support special standalone bounce power for retracement ratios; the 50% split is a descriptive range location, not fundamental value.

Key Rules

  • Do not infer institutional accumulation/distribution or a "retail trap" from range location.
  • Permit both directions in either half when a separately validated strategy does; test the filter incrementally.
  • State range endpoints, confirmation status, timeframe, and midpoint explicitly.
  • Treat 50% as arithmetic, not an empirical decision boundary or fair value.

Related Skills

  • optimal-trade-entry — OTE provides the precise entry within premium/discount zones
  • market-structure-shift — Structure determines whether to look for entries in premium or discount

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.