MetaTrader settings
Use the MMTK Expert Advisor’s Inputs tab to configure trade setup, key actions, chart appearance, and execution controls.
For an explanation of a keyboard action, see the Key reference.
Open and change the settings
-
Select the MetaTrader chart with MMTK attached.
-
Right-click the chart and choose Expert Advisors → Properties.
- Open the Inputs tab.
-
Double-click the value you want to change, then enter a value or choose an available option.
-
Select OK to apply the changes.
Use Save in the Inputs tab to save a parameter preset, and Load to restore a previously saved preset.
Initial offsets
These settings determine the initial positions of the trade-setup and trigger lines.
| Input | Meaning |
|---|---|
| Offset x pips of SL line from current price (OPEN CALC) | Initial stop-loss distance in pips when opening the trade configurator. |
| Offset x pips of TP line from current price (OPEN CALC) | Initial take-profit distance in pips when opening the trade configurator. |
| Offset x pips of the MP line from current price (MARKET PENDING) | Initial pending-entry line distance in pips. |
| Offset x pips in profit (SL@entry) | Distance from entry, on the profit side, used when pressing SL ENTRY. |
| Sets SL x pips in profit (BE) | Distance from entry, on the profit side, used for the new stop loss when AUTO BE triggers. |
| Offset x pips trigger line from entry price (AUTO BE) | Initial distance of the AUTO BE trigger line from entry. You can move the trigger line afterward. |
The AUTO BE trigger price and the resulting stop-loss price are configured separately.
Risk and order size
Risk method
Risk method: calc of order size determines how MarketMaker calculates the order size:
- Fixed money risk: use an amount in your account currency.
- Percentage of the balance: calculate the size from a percentage of the selected account basis.
- Fixed lot size: use a specified number of lots.
Sizing and execution inputs
| Input | Meaning |
|---|---|
| Order size (% of balance = range 0-100) | Default sizing value interpreted according to the selected risk method. For percentage sizing, the documented range is 0–100. |
| Use equity or balance for calculation? | Choose equity or balance as the account basis for percentage calculations. |
| Max pips slippage (deviation from desired price) | Configure the permitted deviation from the desired entry price. |
| Max lots (applies to all risk types) | Maximum permitted order size in lots. |
| Min lots (applies to all risk types) | Minimum permitted order size in lots. |
After opening the trade configurator, INPUT RISK lets you change the sizing value for the current trade setup.
Targets and trade actions
Take-profit presets
The two target keys have separate risk-reward ratio settings. Each calculates the take-profit target relative to the stop-loss distance.
| Input | Meaning |
|---|---|
| Sets TP to x risk-reward ratio (TARGET@default) | Ratio used when pressing TARGET DEFAULT. |
| Sets TP to x risk-reward ratio (TARGET@1:X) | Alternative ratio used when pressing TARGET 1:X. |
Closing and repeating trades
| Input | Meaning |
|---|---|
| Closes x % (range 0-100) of all open trades | Percentage closed by CLOSE CUSTOM. This action affects open trades for the current chart’s instrument. |
| Recalculate lots on press of DOUBLE ORDER? | Choose whether DOUBLE ORDER recalculates the lot size using the distance between the stop loss and the current price. |
Partial take profit and stop loss
Partial exits have two separate settings: where the exit is placed and how much of the trade it closes.
Price calculation
Calculation type of partial TP/SL selects the initial placement method:
- Fixed distance from entry price (in pips): place the partial level a configured number of pips from entry.
- % from distance of entry to sl/tp: place the partial level at a percentage of the distance from entry to the full stop loss or take profit.
For example, 50% places the initial partial level halfway between entry and the corresponding full exit level.
You can adjust the resulting level by dragging its chart line.
When several trades are open, the initial calculation uses the trade with the smallest relevant distance between entry and take profit or stop loss.
Percentage-based placement
These inputs apply when the percentage-distance calculation is selected.
| Input | Meaning |
|---|---|
| Offset % of distance from entry to TP | Initial partial take-profit distance as a percentage of the distance from entry to the full take profit. |
| Offset % of distance from entry to SL | Initial partial stop-loss distance as a percentage of the distance from entry to the full stop loss. |
Fixed-pip placement
These inputs apply when the fixed-distance calculation is selected.
| Input | Meaning |
|---|---|
| Offset x pips of PTP line from entry price (PARTIAL TP) | Initial partial take-profit distance from entry, in pips. |
| Offset x pips of PSL line from entry price (PARTIAL SL) | Initial partial stop-loss distance from entry, in pips. |
Closing amounts and stop-loss behavior
| Input | Meaning |
|---|---|
| Initial PTP inputfield close % value | Default percentage of the trade’s size to close when the partial take-profit level is reached. |
| Initial PSL inputfield close % value | Default percentage of the trade’s size to close when the partial stop-loss level is reached. |
| Move SL to BE on PTP hit? | Choose whether reaching the partial take-profit level also moves the remaining trade’s stop loss to the configured break-even level. |
The resulting break-even stop-loss offset is configured under Initial offsets.
OPEN CALC settings
These inputs control how the trade configurator opens and prepares a trade.
| Input | Meaning |
|---|---|
| Initial price locking (sl/tp/mp move with current price) | Enable the configurator’s price lock initially, allowing the stop-loss, take-profit, and pending-entry lines to move with the current price. |
| Number of trades to open | Number of orders to open when executing the configured trade. |
| Split risk when multiple trades? | Choose whether to divide the configured risk or order size across the specified number of trades. |
| Setup initial order type on press of OPEN CALC? | Choose whether opening the configurator also selects a configured initial order type. |
| Order type to set on press of OPEN CALC | Initial order type, used when the preceding option is enabled. |
| Setup trailed SL on press? | Apply candle-high/low stop-loss trailing when opening the configurator. Its candle reference and offset follow the trailing settings below. |
Initial order type
When Setup initial order type on press of OPEN CALC? is enabled, choose one of these values under Order type to set on press of OPEN CALC:
- Market Buy
- Market Sell
- Buy Limit
- Sell Limit
- Buy Stop
- Sell Stop
Function-key assignments
Use Action on FN0, Action on FN1, Action on FN2, Action on FN3, and Action on FN4 to assign an action to each function key independently.
| Action | Meaning |
|---|---|
| Trail prev high/low | Trail the stop loss using a candle’s low for a long trade or high for a short trade. |
| Lower timeframe | Switch the chart to a lower timeframe. |
| Higher timeframe | Switch the chart to a higher timeframe. |
Candle-high/low trailing
These inputs apply to the Trail prev high/low function-key action and to Setup trailed SL on press? under OPEN CALC settings.
| Input | Meaning |
|---|---|
| Trail to high/low of x candles back (0 = current) | Select the reference candle. Zero uses the current candle; one uses the previous candle. Long trades use its low, and short trades use its high. |
| Offset x pips from high/low | Distance in pips applied to the reference candle’s high or low when calculating the stop-loss level. |
Execution controls and trading limits
Second-press confirmation
| Input | Meaning |
|---|---|
| Confirm execution with second press (red buttons only) | Require a second press before executing a red key’s trading action. |
| Cancel 1st press after x seconds | Time allowed for the confirming second press. After this period, the first press is discarded. |
Trading-limit window
Show trading limit window? displays the MMTK trading-limit window at the top-left of the chart.
| Input | Meaning |
|---|---|
| Max opened positions per day | Daily limit on the number of positions opened. |
| Max cumulative loss % per day | Daily cumulative-loss threshold, expressed as a percentage. |
| Max cumulative gain % per day (0 = not set) | Daily cumulative-gain threshold, expressed as a percentage. Zero leaves this threshold unset. |
| Max trade loss % per day | Loss threshold for an individual trade, expressed as a percentage. |
| Block trading when limit(s) exceeded? | Enable MMTK’s blocking of further orders when a configured trading limit is exceeded. |
Alerts
These inputs enable popup alerts for the corresponding events.
| Input | Meaning |
|---|---|
| Show alert when exceeding limit? | Show an alert when a configured trading limit is exceeded. |
| Show alert PTP hit? | Show an alert when a partial take-profit level is reached. |
| Show alert PSL hit? | Show an alert when a partial stop-loss level is reached. |
| Show alert AUTO-BE trigger hit? | Show an alert when the automatic break-even trigger is reached. |
Chart appearance
Pip counter
| Input | Meaning |
|---|---|
| Show pip counter? | Show the pip counter at the top-right of the chart while trades are open. |
| Show all symbol trades? | Include trades across all instruments in the pip counter rather than only the current chart’s instrument. |
| Pip counter header font size | Size of the pip counter’s main heading. |
| Pip counter font size | Size of the pip counter’s smaller text. |
| Pip counter extra horizontal spacing | Additional horizontal spacing between the pip counter and the chart edge. |
| Pip counter unrealized profit color | Color used for unrealized profit in the pip counter. |
| Pip counter unrealized loss color | Color used for unrealized loss in the pip counter. |
Line labels
Placement of the labels controls where labels appear relative to their chart lines:
- Right BOTTOM: below the line on the right.
- Right Top: above the line on the right.
- Left BOTTOM: below the line on the left.
- Left TOP: above the line on the left.
| Input | Meaning |
|---|---|
| Labels font size | Size of the chart-line labels. |
| Line labels extra horizontal spacing | Additional horizontal spacing for the line labels. |
Line appearance
| Input | Meaning |
|---|---|
| Line thickness | Thickness of the default stop-loss and take-profit lines. |
| Selected line thickness | Thickness used when a line is selected. |
| MP price line color | Color of the pending-entry line. |
| SL price line color | Color of the stop-loss line. |
| TP price line color | Color of the take-profit line. |
| Partial sl line color | Color of the partial stop-loss line. |
| Partial tp line color | Color of the partial take-profit line. |
| AUTO BE line color | Color of the automatic break-even trigger line. |

