About the Benji Trading Strategy
See how Project Chimba evaluates Forex markets, identifies short-entry signals, sizes orders, and manages open positions using programmed trading rules.
Strategy Overview
Project Chimba implements a rules-based, short-selling strategy using OANDA market data. The entry logic combines a price crossover below an exponential moving average (EMA) with a relative strength index (RSI) filter. Separate scheduled workers manage profit-taking and loss limits.
Entry Rules
The robot opens a short position only when both signal conditions pass:
- The closing price crosses downward through the 13-period EMA. Simply being below the EMA is not enough.
- The 14-period RSI is above 30 and below 70.
The signal is evaluated on the newest candle. When conditions are not met, no entry is triggered.
Position Sizing
For a qualifying entry, the opener calculates a proposed position size from the broker account balance:
units = int((account balance × 50 ÷ 8) ÷ current price)Orders are submitted as negative units to open a short. The opener checks whether the instrument already has an open position and skips the order if it does.
The 50× factor is used in the sizing formula; actual broker margin and execution remain subject to the account and instrument.
Position Management & Exits
Take Profit: +$111.11
The profit collector checks open positions and sends a close request when unrealized P/L reaches or exceeds $111.11.
Stop Loss: −$74.07
For short positions, the stop-loss collector acts when unrealized P/L falls to or below negative two-thirds of $111.11 (approximately −$74.07).
These are account-currency unrealized P/L thresholds evaluated by scheduled software workers, not fixed pip distances or guaranteed execution prices.
How the Robot Operates
Read OANDA candles and check the EMA crossover plus RSI conditions.
Calculate units, check for an existing position in the instrument, and submit a short market order when eligible.
Check open positions against profit and loss thresholds every 10 seconds.
Explore the dashboard, transactions, audit trail, and system health monitor to inspect other parts of the demonstration.
Tired of Watching Charts All Day?
Stop staring at charts waiting for the perfect setup. We turn your trading strategy into an automated system that handles entries, exits, and risk management.