BayGridSell
- Experts
-
Ilya Putintsev
I'm a simple Russian guy who started working on Iskra computers with 5.25" floppy disks, back when there were no 3.5" floppy disks. I remember when the game Doom was released, and I played StarCraft before I started programming, first in Basic and then in Pascal. In high school and later in college - Versione: 1.0
- Attivazioni: 10
This advisor is a Grid Trading Robot (Grid EA) that opens trades based on signals from the technical indicator RSI. Its main feature is the division of the order grid into 3 independent waves (W1, W2, W3), which are activated sequentially to "rescue" the drawdown if the price moves against the first grid.
What this Expert Advisor can do:
- Enter by trend/reversal: Analyzes the RSI indicator on the current timeframe to determine overbought and oversold zones.
- Protect the deposit: Can dynamically calculate lot size depending on balance, has a global Stop-Loss, and a function for emergency closure of all trades when a critical drawdown in percentage is reached.
- Accompany profit (Smart Trailing): Instead of a fixed Take Profit, it can automatically track the peak profit in currency and close the grid if the profit starts to roll back.
- Manage the grid in 3 stages:
- W1 (Main): Opens a base grid of orders on an RSI signal.
- W2 (Second wave): Activates only if the price has moved far against W1 and a new confirming RSI signal has appeared.
- W3 (Third wave): The last line of defense, activates at an even deeper drawdown against W2.
Brief decoding of settings:
Lot (Lot Settings)
- BaseLot (0.01) — initial volume of the very first order.
- LotPerBalance (10000.0) — balance step for auto-increasing lot (e.g., if balance is 20,000, initial lot becomes 0.02).
Grid Settings (Grid W1 / W2 / W3)
- StepPips — distance in pips between orders within the grid.
- MaxOrders — maximum number of "legs" (orders) that this wave can open.
- LotMult (1.5) — martingale coefficient (each subsequent lot in the grid will be multiplied by this number).
- TriggerPips (for W2 and W3) — how many pips the price must move against the previous wave to activate the waiting mode for the next wave.
- BaseLot (for W2 and W3) — starting lot for this specific wave.
Profit/Loss Fixing (Take Profit / Stop Loss / Risk)
- TargetProfit_USD (50.0) — desired total profit in USD, upon reaching which all orders will be closed.
- UseStopLoss / StopLossPips — enable switch and size of the classic Stop-Loss for each order.
- MaxDrawdownPercent (50.0) — ironclad protection: if the current equity drawdown reaches 50% of balance, the advisor will close everything at a loss, saving half of the account.
Profit Trailing
- UseAutoTrailing — enable/disable the "pulling" profit function.
- TrailingStart_USD (5.0) — at what profit (in $) to activate tracking.
- TrailingStep_USD (0.5) — allowed roll back from the profit peak. If the robot earned $10, and then profit dropped to $9.5 — it will close the grid.
RSI Settings
- RSI_Period (10) — indicator period.
- RSI_Overbought (55) / Oversold (45) — levels, crossing which makes the robot understand it's time to open a grid on Sell or Buy.
System and GUI
- MagicGrid — unique ID of advisor orders, so it doesn't touch other people's trades.
- Init_GUI_... — coordinates and font size for the graphical panel on the chart.

