Macro Sync Trades Tool
Macro Sync Trades Tool — MT4 script, supplied with source code and a compiled file. Source metadata: ID 9647 | Macro Sync Trades Tool Source algorithm identifier: SYNC_TRADE_SL_TP. Declared inputs include: SymbolOverride, MagicFilter, SlippagePoints, MaxAttempts, MaxNewOrders, StopLossMode, StopLossValue, TakeProfitMode, TakeProfitValue. Description extracted from the supplied source metadata. Compilation compatibility, runtime behavior and trading results have not been independently verified.
Script · MT4 · v1.0 · Free
About Macro Sync Trades Tool
Macro Sync Trades Tool is a script for MetaTrader 4. It has 9 settings, such as Symbol override, Magic filter and Slippage points. MQL source code included.
Files in the download: Macro_Sync_Trades_Tool.mq4, Macro_Sync_Trades_Tool.ex4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Symbol override | Empty uses the chart symbol; nonempty is exact, never fuzzy-matched. | |
| Magic filter | -1 | -1 means all magic numbers, still exact TargetSymbol only. |
| Slippage points | 30 | Maximum slippage allowed when opening a trade |
| Max attempts | 3 | |
| Max new orders | 10 | |
| Stop loss mode | DISTANCE_PIPS | Stop loss distance |
| Stop loss value | 50.0 | Stop loss distance |
| Take profit mode | DISTANCE_PIPS | Take profit distance |
| Take profit value | 100.0 | Take profit distance |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Scripts.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the script onto a chart to run it once.
Tags: MT4 Script · MQL4 Source Code