ssh drhas_0918@192.168.1.
45
drhas@0918
nano /mnt/trading/scripts/nifty_monitor.py
touch ~/no_shutdown = If Want to keep working past 5 PM
/mnt/trading/scripts/pi_power_manager.sh --force =
Shutdown Manually, auto on/off will work from next morning.
🔍 Finding 1: The Market Has Spoken — Shorts Don't Work on Nifty
Overall win rate (all signals): 46–48% → slightly below coin flip
Short signals (filtered): 41–50% → zero to negative edge
Long signals (filtered): 59–77% → clear positive edge
🏆 Finding 2: The Golden Setup — ADX Direction is the Real Alpha
Matrix 8 reveals something critical that wasn't obvious upfront:
ALL top long combinations show: adx_direction = BEAR (DI– > DI+)
This seems counterintuitive but is actually classic institutional mean reversion logic:
ADX Moderate (20–30) + DI– > DI+ = Trend is weakening but not collapsed
RSI dipping to 35–40 = Price pulled back on that weakness
→ This is a PULLBACK in an uptrend, not a breakdown
→ Smart money buys here, not at RSI 30 (too late, too damaged)
🎯 Finding 3: Your Top 3 Tradeable Combinations
Rank Setup Trades Win% Avg Ret Sharpe Verdict
🥇 Long | RSI(14) | 40 | Moderate | Bear 44 72.7% 0.94% 0.47 ✅ Best balance
🥈 Long | RSI(14) | 40 | Range | Bear 29 69.0% 0.96% 0.51 ✅ Solid
🥉 Long | RSI(9) | 40 | Moderate | Bear 49 67.3% 0.67% 0.27 ✅ Most trades
⚠️ Long | RSI(14) | 35 | Moderate | Bear 22 77.3% 1.35% 0.78 🔶 Best stats, low count
💡 Finding 4: RSI Level Sweet Spot is Higher Than Expected
Best levels: 35 and 40 (not the classic 30 oversold)
RSI 25/30: Works but fewer trades, higher volatility in returns
RSI 35/40: More signals, better filtered win rate, tighter drawdowns
OutputMeaning
🟢 PRIMARY signal RSI(14) < 40, all conditions met → act
🟢 SECONDARY signal RSI(9) < 40, all conditions met → act with smaller size
🟡 NEAR MISS Only 1 condition failing → watch this stock
⚪ No signal Shows current RSI/ADX snapshot for awareness
🎯 Signal Output Example
🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢
NIFTY RSI SIGNAL — PRIMARY
🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢
Bar Time : 2026-04-13 11:15:00
RSI(14) : 38.4 (crossed below 40)
ADX : 24.7 (Moderate)
DI+ / DI- : 18.2 / 26.5 (DI- dominant = pullback)
Daily RSI : 54.3 (uptrend intact)
─────────────────────────────────────
Ref Close : 22,450.30
Breakout Lvl : 22,467.85 ← place buy-stop above this
─────────────────────────────────────
ACTION: Open chart → confirm candle structure
→ place buy-stop order above 22,467.85
→ target RSI(14) > 60 or 10 calendar days