Help Centre
Auto-sync with MT4, MT5, cTrader and NinjaTrader 8
On Pro, a read-only Expert Advisor (MetaTrader), cBot (cTrader) or add-on (NinjaTrader 8) sends your closed trades to the journal by itself. A short setup wizard walks you through it in about 3 minutes: open Connectors in the sidebar, or pick Auto-sync when the app asks how you want to add your trades.
What auto-sync looks like
26 seconds: a trade closed in MetaTrader 4 shows up in Dusk Analyst on its own. The steps below set it up.
Steps
- Open the account book you want to sync, open Connectors and start auto-sync. Pick your platform. The wizard asks if it is open on this computer: press Yes, it’s open, or Not right now to get the steps by email for later.
- Press Download. MetaTrader 5 gets the Dusk Sync app from the Microsoft Store (see the MetaTrader 5 step), MetaTrader 4 gets dusk-analyst-ea-mt4.ex4 cTrader gets dusk-analyst-cbot-ctrader.algo and NinjaTrader 8 gets dusk-analyst-ninjatrader.zip, all in your Downloads folder.
- MetaTrader 5: get Dusk Sync from the Microsoft Store (search Dusk Sync), open it and click Connect, then log in to Dusk Analyst in your browser and click Open. Open MetaTrader 5 logged in to your account: Dusk Sync finds it by itself. Nothing to change in MetaTrader 5 and no key to paste.
- MetaTrader 4: open Tools → Options, go to the Expert Advisors tab, tick Allow DLL imports and Allow WebRequest for listed URL, add https://duskanalyst.com and press OK. Click File → Open Data Folder, open MQL4 → Experts and drag dusk-analyst-ea-mt4.ex4 in from Downloads. In MetaTrader 4, right-click Expert Advisors in the Navigator and press Refresh. Double-click dusk-analyst-ea-mt4, tick Allow DLL imports and Allow import of external experts on the Common tab, paste your key on the Inputs tab and press OK.
- cTrader: click Algo in the menu down the far left (under Trade), make sure cBots is selected, click New → Choose a file and pick dusk-analyst-cbot-ctrader.algo. Add an instance of Dusk Analyst Sync on any symbol, open Advanced parameters and paste your key into the API key box. Press Play, and press Allow when cTrader asks for full access.
- NinjaTrader 8: in the Control Center, open Tools → Import → NinjaScript Add-On… and pick dusk-analyst-ninjatrader.zip (don’t unzip it). When it says Import successful, press OK. Then open New → Dusk Analyst Sync, paste your key into API key and press Save and sync. Full steps: Auto-sync with NinjaTrader 8.
- The wizard waits for the first sync and says Connected with the number of trades that came in, usually in under a minute. Your existing closed history comes first, then new trades arrive as they close. If the terminal was off, it backfills what it missed.
Good to know
- Prefer to watch? The wizard links a full setup video for MetaTrader 4 at https://youtu.be/3bsFuumQ3gw. Every step and line also has a ? with more detail.
- Not at your trading computer? Choose Not right now in the wizard and we email you these steps.
- Not syncing? On MetaTrader 5, open Dusk Sync: it says in one line what is missing (Connect, open MT5, or log in to MT5). On MetaTrader 4, check that WebRequest is allowed and https://duskanalyst.com is in the list, that the EA is on a chart and that DLL imports are on. On cTrader, check the cBot is running and that you allowed full access. On NinjaTrader 8, check NinjaTrader is open and connected and the key was saved in Dusk Analyst Sync.
- The EA, cBot and NinjaTrader add-on only read your closed trade history. They never place, modify or close orders, and Dusk Analyst never asks for your broker or investor password.
- cTrader must run the cBot locally. Cloud cBots cannot make web requests.
- TradingView is import-only. Its connector card says Coming soon and cannot be added yet; bring TradingView trades in as a CSV.
- Each connector card shows when it last synced, or Never synced if it has not reported in.
- Full setup guides for each platform: duskanalyst.com/connect-mt5, duskanalyst.com/connect-mt4, duskanalyst.com/connect-ctrader and duskanalyst.com/connect-ninjatrader.