EURUSD grid MT4
- Experts
- Dmytro Podkin
- 버전: 1.0
- 활성화: 5
Name: EURUSD grid MT4
Overview:
Opens BUY and/or SELL according to user flags and manages volume in a grid-aware manner, but always trades only EURUSD regardless of chart symbol. Lot selection: base lot, keep previous lot between entries, or increase by base lot on edge steps (as per logic). Includes spread filter with digit adjustment, volume validations, and margin check. Basket close by profit and equity safeguard are implemented.
Key features:
- Optional dual-side trading (BUY/SELL)
- Grid-aware lot logic (base/keep/add by base lot)
- Spread filter with digit multiplier
- Volume min/max/step validations
- Margin check before sending orders
- Basket profit close and equity-based emergency close
- Forced symbol: EURUSD on any chart
Inputs (Expert properties):
- mn — Magic number: identifies this EA’s orders in OrderSend and in all scans; use a unique value per EA instance on the account.
- MaxSpread — Spread filter: new orders are allowed only if MODE_SPREAD for EURUSD is strictly below this value (points as reported by the terminal for the symbol).
- startLot — Base lot: starting volume and reference for grid lot sizing (including add-on lot at grid “edges” in getBuyLots/getSellLots).
- Fact_Up — If true, BUY orders may be opened.
- Fact_Dn — If true, SELL orders may be opened.
