Diamond EA MT5
- Experts
-
AL MOOSAWI ABDULLAH JAFFER BAQER
To trade successfully we need to go through the proven path that others had gone and reached!
Here are 17 quotes from such successful investors:
1- Limit your size in any position so that fear does not become the prevailing instinct guiding your judgment.
Joe Vidich - Version: 3.0
- Updated: 11 November 2026
- Activations: 5
THEN vs NOW. Then: the first SELL could only start when BUY orders were allowed, and a refused order still moved the grid. Now: each side has its own switch, and the ladder moves only after the broker confirms a fill.
What changed for you: a new TO TARGET and NEXT LEVEL readout tells you, in pips, how far price is from closing each basket and from adding the next level.
Works with: hedging and netting accounts, manual trades and other EAs on the same symbol (everything is filtered by symbol and magic number), any broker lot step.
Built for traders who want a calm two-sided grid. One job: wait for a slow Stochastic turn, ladder patiently, close each side as one basket. Try it free first in the Strategy Tester with visual mode on.
Why it is called Diamond
A diamond is pressure that has been given time. Diamond EA works the same way: it does not chase every wiggle. A heavily smoothed Stochastic has to leave an extreme zone before the first order is placed, and only then does the grid start to build. Every level after that pays toward one shared target for its side.
One cycle in plain verbs
Waits for the smoothed Stochastic to cross back out of the oversold or overbought zone on a closed bar. Opens the first order of that side. Adds a new level each time price moves a fixed distance against the side, with a slowly growing lot, at most one level per bar. Moves the take profit of every order on that side to the shared basket target, sent to the broker. When the side is deep enough, closes its oldest and newest orders together once their combined result is positive, which shrinks the book without waiting for a full return. Then waits for the next turn.
Plain risk statement: this IS a grid. There is no stop loss by default and the book is never dumped at a loss. Protection works by blocking new levels: at most 100 orders, at most 0.1 lot per order, a free margin check with a 50 percent buffer, and optional margin level and netting caps.
The console panel
A dark console with ice-blue accents sits on the left of the chart and leaves the price scale clean. It shows a status pill (WATCHING, ACTIVE, SAFETY or MARKET CLOSED), each side's orders, lots and net, the next lot, order count, spacing, the basket targets, the new TO TARGET and NEXT LEVEL distances, banked profit, the signal reading, the entry gate, spread, active timeframe and margin. Below it are the last five closures and the open order table. It can be dragged with MOVE and minimised, it sizes itself to its text, and it is not drawn in non-visual tests, so optimisation stays fast.
What else is fixed in this build
- The sell-side cleanup used the buy ticket list; it now uses its own list.
- Lots follow your broker's minimum, maximum and step instead of being rounded to two decimals.
- Max Lot Per Order 0 now really means unlimited instead of stopping the grid.
- The opposite side is no longer blocked on brokers that report no volume limit.
- The Stochastic is created once and every read is checked, so short history cannot crash the EA.
- New bars are detected by time, not by bar count, which stopped moving on long charts.
- After a restart, the ladder anchor and lot are rebuilt from the live positions.
- Orders wait while the session is closed, and the filling mode is chosen for your broker.
How to start
- Run it in the Strategy Tester on your broker's data first, EURUSD H1 is a good first chart.
- Keep the starting lot of 0.01 for every 1000 USD of balance.
- Attach it to one chart per symbol. Use a different magic number if you run two copies on one account; a second chart with the same magic is refused.
- Watch the TO TARGET and NEXT LEVEL rows for a few days before raising the lot.
Every setting explained
Orders
- Note_Orders - a label only.
- Lot - starting lot of each side (0.01). About 0.01 per 1000 USD is a sensible start.
- MaxSpread - no first order while the spread is above this many points (30).
- OrderComments - comment written on every order.
- MagicNumber - identifies this EA's orders (666666).
- Max_Lot_PerOrder - largest lot any level may use (0.1); 0 means no cap.
- Max_lots_PerChart - total lots allowed on this symbol (0 = no cap).
- Max_Number_Orders - most open orders for this EA (100; 0 = no cap).
- OpenBuyOrders / OpenSellOrders - allow each side separately.
- SmallAccountMode - every level uses the minimum lot, no growth (off).
Execution
- FillingMode - Automatic asks the symbol which filling it accepts (recommended).
- MaxSlippagePoints - accepted slippage (30).
- CloseRetries - attempts before a close is tried again on the next tick (5).
- UseBrokerSideTPSL - keeps a broker copy of the target; Diamond already sends its basket target to the broker.
- VerboseExecution - prints every trade reply in the journal (off).
Protection
- SignalBarsDelay - bars required between two first orders (30; 0 = off).
- OneOrderPerBar - at most one new level per bar on each side (on).
- MinMarginLevelPercent - no new order below this margin level (0 = off).
- NetMaxMarginPercent - netting accounts only: stop adding when used margin passes this percent of equity (5).
Margin timeframe safety (off by default)
- UseMarginTFSafety - when on, a falling margin level lifts the signal to a higher timeframe and widens the spacing by that timeframe's ATR.
- Level1MarginPct / Level1TF - first step (6000 percent, M15).
- Level2MarginPct / Level2TF - second step (5000 percent, H1). Never below the chart timeframe.
- MarginTFHysteresisPct - extra recovery needed before stepping back (500).
- MarginTFATRPeriod - ATR length for the wider spacing (14).
Panel
- ShowPanel, PanelCorner, PanelX, PanelY - show the panel and where it starts.
- PanelBgColor, PanelTextColor, PanelFontSize - look and size.
- MaxTableRows - open order rows shown (10).
- ShowArabic - Arabic labels under the console.
- ShowChartMarks - next level lines and entry arrows.
Honest expectations
A grid manages a position; it does not predict the market. A long one-way trend will deepen the book, so choose a lot your account can carry and test on your own broker first. Short tests only show a few levels, so judge it over a long period. Works on any symbol and timeframe, needs no DLLs and no extra files.
If you use Diamond EA, a short honest review on this page, good or critical, helps other traders decide and tells me what to improve next.
