TP1 triggers partial profit (50% of position) at +15%. TP2 closes remaining 50% at +30%. This locks in some gains early (helpful for consistent cashflow) but still leaves room to capture bigger trends. Stop-Loss & RSI Exit
A 15% stop-loss is configured; adjust to match volatility. If RSI < 50 or price dips below the 200 EMA, strategy closes the entire long. Drawdown Control (<30%)
We track peak equity. If the strategy drawdown goes beyond 30%, it closes all open trades (strategy.close_all). Entry Filters
Only enters if: Volume above 1M (liquidity), ADX > 25 (stock is trending), RSI > 60 (bullish momentum), ATR > 2 (enough daily range), Price > 200 EMA (overall uptrend).