OPEN-SOURCE SCRIPT
AI Trading Console with Dashboard (One Signal Per Trend Move)

🧠 What you now have
✔ Clean UI (grouped + inline)
✔ Every input actually controls logic
✔ No duplicate signals
✔ Stable SL + trailing
✔ Professional dashboard + AI Trade Filter Score (0–100)
Timeframe: 5m / 15m
Markets: NIFTY, BANKNIFTY, large-cap stocks
Signal Engine
ORB: ✅ ON
RSI Filter: ✅ ON
RSI Buy: 58
RSI Sell: 42
Trend
EMA: ✅ ON
13 / 39
Filters
ADX: ✅ ON
Threshold: 23
VIX: ✅ ON
Max: 18
HTF
✅ ON
TF: 60 min
Risk
Trailing SL: ✅ ON
ATR Multiplier: 1.2
Risk: 1.5%–2%
Result Expectation:
✔ Win rate: ~60–70%
✔ Fewer fake signals
✔ Best for capital preservation
⚡ PRESET 2 — AGGRESSIVE (More Trades)
👉 Use when market is trending strongly
Timeframe: 3m / 5m
Changes from above:
RSI Buy: 55
RSI Sell: 45
ADX Threshold: 18
VIX Max: 20
HTF: ❌ OFF
Result:
✔ More entries
❌ More false signals
✔ Good for scalping
🧊 PRESET 3 — SIDEWAYS MARKET FILTER (VERY IMPORTANT)
👉 Use when market is choppy (most traders lose here)
Strict Filters:
ADX: > 25
VIX: < 16
RSI:
Buy > 60
Sell < 40
HTF: ✅ ON
Result:
✔ Avoids 70% bad trades
✔ Very selective
❌ Low trade frequency
🏆 PRESET 4 — SWING TRADING (Your system supports this well)
Timeframe: 15m / 1H
Settings:
ORB: ❌ OFF
HTF: ✅ ON
HTF TF: Daily
EMA: 13 / 39
RSI:
Buy: 60
Sell: 40
ADX: > 22
Trailing SL: ATR 1.5
Result:
✔ Cleaner moves
✔ Bigger targets
✔ Less screen time
🎯 TARGET + SL LOGIC (IMPORTANT)
Don’t guess targets.
Use:
SL = ATR × 1.5
Target = ATR × 2 to 3
👉 Your script already does this—good.
🚫 WHEN TO AVOID TRADING (THIS IS EDGE)
Your system improves massively if you skip:
❌ VIX > 20
❌ ADX < 15
❌ First 10 minutes of market open
❌ Before RBI / major news
🧠 FINAL RECOMMENDATION (DO THIS)
Start with:
👉 Preset 1 (High Accuracy)
👉 Trade only 2–3 setups/day
👉 Don’t override signals manually
⚠️ HARD TRUTH
Your profitability will NOT come from:
Changing RSI from 55 → 56
Tweaking EMA slightly
It comes from:
👉 Discipline + avoiding bad market conditions
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.