Linda on Cinderella's Electric Curfew Session Capital Control The Legendary Linda Bradford Raschke's Health and Life Balance Cinderella's Electric Curfew Strategy – Session-Aware Risk Strategy
This strategy enforces a strict "curfew" on trades: new entries are only allowed during selected market sessions (the "ball"), and all positions are automatically closed at or shortly after session end (midnight). Inspired by the fairy tale, it prevents overnight holds to reduce gap risk and promote disciplined capital preservation.
Key Features:
• Supports major exchanges: NYSE, London, Germany (Xetra), Tokyo, Hong Kong, Sydney — select one via inputs
• Timezone-aware session handling (uses chart's exchange timezone)
• Risk-based position sizing: risks only a user-defined % of equity per trade, calculated via ATR stop distance
• Forced curfew exit: flattens positions on last session bar or after grace period (customizable in minutes)
• Optional ATR-based stop-loss and take-profit levels
• Simple SMA crossover entry example (easy to replace with your own signals)
• Visuals: green bgcolor during allowed sessions, entry shapes, SMA plots
Why Useful?
Most strategies ignore session boundaries, leading to risky overnight exposure on stocks/indices. This one adds strong capital control by design — ideal for intraday traders avoiding gaps/news events outside regular hours.
How to Use:
1. Apply to intraday charts (5m–1h recommended) of exchange-matched symbols (e.g., AAPL for NYSE).
2. Enable only ONE session checkbox (first enabled wins).
3. Adjust risk %, ATR multipliers, curfew grace.
4. Replace SMA signals with your preferred entry logic if needed.
5. Backtest carefully — curfew forces exits, so optimize around session closes.
Limitations:
- Best on session-based instruments (stocks, indices); less relevant for 24/7 markets like forex/crypto.
- Grace period is approximate (bar-based); test on your timeframe.
- No multi-session support (extendable via code if desired).
Original work — combines session filtering with dynamic risk sizing for better real-world capital protection.
Happy trading! 🚀
Pine Script®策略






















