refactor: Update strategy guide with Monte Carlo and SunnyBands focus

This commit is contained in:
Bobby (aider) 2025-02-17 16:01:51 -08:00
parent 2dda835a3f
commit f81e82d171

View File

@ -6,17 +6,21 @@ def strategy_guide_page():
# Pre-Market Section
with st.expander("1. Pre-Market Preparation (Night Before)", expanded=True):
st.markdown("""
* Run SunnyBands Screener (Daily Timeframe)
* Run Screeners:
- SunnyBands Screener
- Heikin Ashi Screener
* Review Each Chart For:
- Volume patterns
- Trend direction
- SunnyBands indicator alignment
* Add strong setups to watchlist
* Focus on:
- Stocks near key SunnyBands levels
- SMA crossovers
- RSI confirmation
* Mark key levels:
- Support
- Resistance
- Potential breakout zones
* Set price alerts
* For each watchlist stock:
- Use Monte Carlo Position Calculator
- Pre-calculate optimal position sizes
- Note potential entry zones
* Set price alerts for:
- Entry zones
- Key SunnyBands levels
""")
# Morning Trading Section
@ -25,21 +29,26 @@ def strategy_guide_page():
**Objective:** Capture early momentum plays
**Best Setups:**
1. Gap and Go
- Stock gaps up with high volume
- Breaks pre-market high
2. Opening Range Breakout (ORB)
- 5-15 min consolidation
- Clean breakout
3. Pullback to Key Support
- Dips to major MA or VWAP
- Shows bounce potential
1. SunnyBands 15-Minute Setups
- Clear band crossovers
- Volume confirmation
- Trend alignment
2. Heikin Ashi Confirmation
- Strong candle patterns
- Matches SunnyBands direction
3. Volume-Based Entry
- Above average volume
- Clear direction
**Rules:**
* Focus on 2x+ relative volume
* Tight stops (1-2% max)
* Partial exits at 3-5%
* Avoid chasing gaps
* Use Monte Carlo simulator for each entry:
- Calculate optimal stop loss
- Determine target price
- Set position size
* Set firm stop loss orders
* Place alerts at target prices
* When target alert hits:
- Switch to trailing stop loss
""")
# Midday Trading Section
@ -48,43 +57,56 @@ def strategy_guide_page():
**Objective:** Identify clear trends for swing trades
**Best Setups:**
1. Trend Continuation
- Holding above VWAP/SMA50
- Shows consistent strength
2. Reversal Entry
- RSI/MACD divergence
- Near SunnyBands lower level
3. Breakout Retest
- Morning breakout
- Clean retest of level
1. SunnyBands Continuation
- Holding within bands
- Strong volume support
2. Band Reversal Entry
- Clear band crossover
- Volume confirmation
3. Momentum Continuation
- Strong Heikin Ashi signals
- Band support/resistance tests
**Rules:**
* Confirm morning runners
* Wait for pattern confirmation
* Clear stop loss placement
* Focus on SunnyBands levels
* Recheck Monte Carlo projections
* Adjust stops based on new calculations
* Monitor volume for trend strength
* Keep trailing stops on winning positions
""")
# Execution Rules Section
with st.expander("4. Trade Execution Rules"):
st.markdown("""
* Risk Management:
- 1-2% account risk per trade
- No overleverage
* Order Types:
- Use limit orders for entries
- Set OCO orders for exits
* Pre-Entry:
- Run Monte Carlo simulation
- Calculate position size
- Determine stop loss and target
* Entry Rules:
- Enter only at planned levels
- Use limit orders when possible
- Confirm volume and direction
* Position Management:
- Follow stop-loss plan
- Take partial profits at 5-10%
- Trail stops on runners
- Set hard stop loss immediately
- Place target price alerts
- Convert to trailing stop when target hits
* Risk Management:
- Follow Monte Carlo stop loss levels
- Use calculated position sizes only
- No overriding system calculations
""")
# Review Section
with st.expander("5. Post-Trading Review"):
st.markdown("""
* Journal every trade
* Review performance
* Check scanner results
* Refine strategies
* Journal every trade with:
- Entry/exit points
- Monte Carlo projections vs actual
- SunnyBands signal accuracy
* Review screener effectiveness
* Analyze stop loss performance
* Check target price hit rates
* Evaluate trailing stop effectiveness
""")