i need a good bot which can scalp and have a tight stop loss an advance bot with a two position only and alot size should be 0.02
AI Trading Bot Development PromptBuild a fast, precision-based scalping trading bot designed to capture small price movements in the market while maintaining strict risk management.
Develop a scalping strategy focused on quick entries and exits.
Trade only when multiple indicators confirm the same direction.
Identify short-term trends, momentum, and breakout opportunities.
Avoid entering trades during sideways markets, choppy price action, or low liquidity.
Prioritize high-probability setups over frequent trades.
The bot must be able to open 2 positions per trade signal.
Each position must use a fixed lot size of 0.02 lots.
Both positions must follow the same entry direction (BUY or SELL).
Never open more than 2 positions for one signal.
Do not open additional positions if the maximum exposure has been reached.
Do not use martingale, grid trading, or lot-size multipliers.
Do not increase lot size after a loss.
Use a tight stop-loss based on market volatility and recent price structure.
Place the stop-loss immediately after opening each trade.
The stop-loss should adapt to volatility using ATR or recent swing highs/lows.
Avoid stop-losses that are so tight that normal market noise triggers them constantly.
Position 1: Take profit at the first target to secure quick profits.
Position 2: Use a larger take-profit target or trailing stop to capture extended moves.
Move the second position's stop-loss to breakeven once position 1 closes in profit, subject to spread and execution costs.
Never widen the stop-loss to increase risk after entry.
Use a combination of the following indicators:
EMA 9 and EMA 21: Identify short-term trend direction.
EMA 50: Confirm the broader intraday trend.
RSI (14): Confirm momentum without chasing overbought/oversold moves.
ATR (14): Calculate volatility and dynamically adjust stop-loss distance.
Price action: Confirm breakouts, pullbacks, support, and resistance.
BUY conditions:
EMA 9 is above EMA 21.
Price is above EMA 50 or showing a confirmed bullish reclaim.
RSI confirms bullish momentum.
Price action confirms an entry.
Spread is acceptable and the market is not excessively volatile.
SELL conditions:
EMA 9 is below EMA 21.
Price is below EMA 50 or showing a confirmed bearish rejection.
RSI confirms bearish momentum.
Price action confirms an entry.
Spread is acceptable and the market is not excessively volatile.
Use a fast execution timeframe such as M1 or M5.
Check entries on every new candle or tick, but avoid duplicate entries from the same signal.
Open both positions as close to the same entry price as possible.
Verify that both positions have a stop-loss successfully placed.
Account for spread, commission, slippage, and execution delays.
Avoid trading when spreads are unusually high.
Risk per trade must be calculated before entry.
Set a configurable maximum risk per trade.
Stop trading after reaching a configurable daily loss limit.
Limit the number of trades per day.
Add a cooldown period after consecutive losses.
Stop trading if the platform disconnects or execution errors occur.
Never open trades without a valid stop-loss.
Ensure the combined risk of the two 0.02 positions is within the account's risk limits.
Trade only during liquid market sessions.
Allow configurable trading hours.
Avoid major economic news releases and abnormal volatility.
Automatically stop trading outside the selected trading session.
Display:
Current market direction
BUY/SELL signals
Current spread
Open positions
Lot size per position
Current floating profit/loss
Daily profit/loss
Number of trades taken
Stop-loss and take-profit levels
Bot status (ACTIVE / PAUSED)
Log every trade, including entry reason, exit reason, stop-loss, take-profit, spread, and result.
Build clean, modular, and reliable code.
Include configurable inputs for lot size, stop-loss, take-profit, indicators, trading hours, risk limits, and maximum trades.
Handle broker errors and requotes.
Prevent duplicate orders.
Include a backtesting mode.
Include a demo/paper trading mode.
Do not activate live trading by default.
Create a disciplined, high-speed scalping bot that opens exactly two positions per confirmed signal, each with a fixed lot size of 0.02, uses tight but volatility-aware stop-losses, secures partial profits on the first position, and manages the second position for additional profit while protecting capital.
The bot should prioritize capital preservation, consistency, and controlled execution over aggressive trading. Do not promise guaranteed profits.