Save source
Open MT4/MT5 → File → Open Data Folder. Save .mq4 to MQL4/Indicators or .mq5 to MQL5/Indicators.
Browse regional guides. Interactive trading tools remain in English until fully localised.
International rolloutKnow the price of getting in.
Make the invisible bill of trading visible: spread, estimated slippage, commissions, swaps and the distance to breaking even, expressed in pips and R.
Make the invisible bill of trading visible: spread, estimated slippage, commissions, swaps and the distance to breaking even, expressed in pips and R.
What will this trade really cost?Spread measured from current bid/ask and tick size
Commission and slippage assumptions kept separate
Total round-trip cost translated into risk units
Verify tick/pip units on five-digit FX, JPY crosses and spot gold independently.
Roadmap progress describes engineering tasks, not win rates or performance. New source changes require a dated owner release entry.
Native source-file editions, not static demos. These read broker prices, completed bars or active FX positions in MetaTrader itself. No broker orders or cloud requests. Compilation in the actual MetaEditor terminal and broker-chart checks are still necessary.
Native MQL4 .mq4 source for the desktop MT4 data folder.
Download PRIME_TOLL53_MT4_v1_00.mq4 Owner sign-in required. Downloads must be compiled in the matching MetaEditor before the indicator appears in Navigator.Reads a fresh, valid broker tick and measures its current bid/ask spread. Separately adds manually configured round-trip commission and prospective slippage expressed in PRICE UNITS, then divides the sum by an explicitly provided fixed stop distance. It shows whether the illustrative cost budget is comfortable, elevated or excessive.
Configure: Set PlannedStopDistancePrice, CommissionRoundTripPrice and SlippageRoundTripPrice to appropriate positive/zero-price-unit values for your broker. Never assume the EURUSD-style defaults apply to gold or JPY.
Open MT4/MT5 → File → Open Data Folder. Save .mq4 to MQL4/Indicators or .mq5 to MQL5/Indicators.
Open the downloaded file in the matching MetaEditor and press F7. Fix all reported errors before attachment; this site cannot certify MetaEditor compilation.
Refresh Navigator, select the instrument, attach the indicator to a DEMO chart and optionally load the matching .set preset.
Inspect the Experts and Journal tabs. Confirm the broker symbol, recent quote/history and the indicator's state. Only read-only calculations should occur.
It is not a full automatic broker fee reconciler: fees and future slippage cannot be inferred from the bid/ask snapshot. For JPY pairs, metals or other symbols, change the default stop and fee price units to the actual instrument. No automatic account-currency conversion is implied. This indicator cannot make or guarantee a profitable trade. Please check MetaEditor F7 errors and terminal output before relying on any result.
An attractive M5 strategy can lose its small apparent edge in a wider spread, commission or delayed fill. TOLL compares the price of admission with the actual distance to the setup's fixed stop, without inventing slippage.
Adjust the assumptions and see exactly what changes. These are browser-only teaching models, not connected broker diagnostics, trading alerts or backtested profits.
Every adjustment updates the decision, measurement and explanation below.
Estimated friction is below the example threshold; no actual future fill has been measured.
Spread 0.04R + commission 0.03R + estimated slippage 0.02R = 0.09R. These values are assumed and use no live contract data.
Estimated friction is below the example threshold; no actual future fill has been measured.
Demand accurate commission schedules and compare the cost gate against a full after-cost trade sample.
One of the biggest goals is to replace obscure indicator jargon with readable states and an exact explanation of what the algorithm would need to measure.
Capture synchronized broker bid, ask, tick time and tick size using MQL4 MarketInfo or MQL5 SymbolInfoTick. Fail closed if price is stale, crossed, invalid or outside broker trading hours.
Calculate spread in price and ticks; add independently configured round-trip commission and prospective slippage budget using account-currency conversion validated against broker contract/tick specifications. Unknown fees remain UNKNOWN.
For a frozen reference stop distance and risk-per-unit, costR=(round-trip cost per unit)/(price risk per unit) where the same units are used. Show tick, pip (only supported FX) and R displays separately; do not double-count spread.
Optional local per-order opt-in CSV: planned quote, actual fill, observed spread, timestamps, commissions and closing outcome. Distinguish planned versus actual and reject missing deals. New-bar and event driven, no network polling.
MQL4/MQL5 research source and source-matching presets are now available above. These are the target design goals; actual MetaEditor compiler output and broker chart behaviour still need verification.
MQL4: OnCalculate, M5/H1 history access, incremental closed-bar work, chart objects owned by prefix, no orders or external AI services. MetaEditor 4 compile and broker testing required.
Capture synchronized broker bid, ask, tick time and tick size using MQL4 MarketInfo or MQL5 SymbolInfoTick. Fail closed if price is stale, crossed, invalid or outside broker trading hours.
Calculate spread in price and ticks; add independently configured round-trip commission and prospective slippage budget using account-currency conversion validated against broker contract/tick specifications. Unknown fees remain UNKNOWN.
For a frozen reference stop distance and risk-per-unit, costR=(round-trip cost per unit)/(price risk per unit) where the same units are used. Show tick, pip (only supported FX) and R displays separately; do not double-count spread.
Optional local per-order opt-in CSV: planned quote, actual fill, observed spread, timestamps, commissions and closing outcome. Distinguish planned versus actual and reject missing deals. New-bar and event driven, no network polling.
Separate MQL4 OnCalculate with MarketInfo and MQL5 OnCalculate with SymbolInfoTick/position-deal history. An indicator can read contract metadata but cannot use the EA/script-only OrderCalcProfit API directly; use verified symbol-specific formulas or a separate optional EA bridge. No OrderSend.
Source-level checks alone are not enough. The selected build must be independently compiled and checked on actual broker candles before release.
The MT4 and MT5 native source files are generated and owner-downloadable, but have not been compiled in actual MetaEditor or tested against real broker execution and chart feeds. Browser demos remain synthetic, and no win rates or trading outcomes are verified. These research indicators never place orders. Any proposed edge needs completed-candle, cost-inclusive, untouched-sample testing. Spread, slippage and capital loss remain possible.