feature-f7-candle-limit

Gate strategy entries by daily limit-up touched candle index.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/13g7895123/littile-bao --skill feature-f7-candle-limit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-f7-candle-limit
Source: https://github.com/13g7895123/littile-bao/tree/main/.github/skills/feature-f7-candle-limit
Command: npx skills add https://github.com/13g7895123/littile-bao --skill feature-f7-candle-limit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents trades from being entered too late during a daily limit-up streak by enforcing an upper bound on the “limit-up touched” candle sequence index.

Core Features & Use Cases

  • Daily limit-up sequence gating: Only allows entries when the calculated daily “limit-up touched” candle index is within the configured limit (inclusive).
  • Configurable control: Lets you enable/disable the rule and adjust the maximum allowed candle index via f7_enabled and candle_limit.
  • Clear handling of intraday repeats: Does not increase the candle index if the stock opens and re-closes to the limit-up within the same day; the index tracks daily sequencing only.
  • Use Case: If a strategy should only buy the first or second daily limit-up touch (e.g., to avoid chasing), apply this gate to entry logic so late touches are blocked.

Quick Start

Tell the system to enable F7 and set candle_limit to 2 so entries are allowed only within the first two daily limit-up touched candle indices.

Frequently Asked Questions about feature-f7-candle-limit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I limit trading strategy entries to early daily limit-up streaks?

To restrict trading strategy entries to early daily limit-up streaks, enforce an upper bound on the limit-up touched candle index using entry gating. This prevents trades from being entered too late during a daily limit-up sequence by blocking late touches.

How does candle index tracking handle intraday limit-up repeats?

Candle index tracking handles intraday limit-up repeats by using daily sequencing semantics. If a stock opens and re-closes to the limit-up within the same day, the daily limit-up touched candle index does not increase.

How do I configure the maximum allowed candle index for limit-up entry gating?

You configure the maximum allowed candle index for limit-up entry gating by setting the candle_limit parameter and enabling the rule via f7_enabled. This allows entries only within the configured early window of the daily limit-up touched sequence.

Can I use this entry gating logic for 1-minute candle sequencing?

No, you cannot use this entry gating logic for 1-minute candle sequencing. The limit-up touched candle index specifically tracks daily sequencing semantics, meaning it evaluates the daily limit-up streak rather than intraday 1-minute intervals.

Why should I block late limit-up touches in a backtesting strategy?

You should block late limit-up touches in a backtesting strategy to avoid chasing stocks. Applying an entry gate to the strategy rule evaluation ensures trades only occur within the first or second daily limit-up touched candle indices, preventing poor execution prices.