Hybrid Masking Instruments and Orders

From SharpTrader Arbitrage Software Wiki: A Detailed Overview of High-Speed Trading Technology
Jump to navigation Jump to search

Instruments & Orders — Parameters Description

Enabled - Activates or deactivates trading for the selected instrument.

✅ Checked — strategy trades this pair.

⬜ Unchecked — trading is disabled for this pair.

Name - The instrument’s symbol (e.g., EURUSD, XAUUSD, etc.) used for order execution and price data collection.

Lot size - Specifies the trading volume per order, if random lots are not enabled.

Example: 0.5 = 0.5 lots per trade.

Lot type - Defines how the lot size is determined:

  • Fixed – constant volume per order.
  • (If supported) Dynamic – volume may depend on balance, risk %, or randomizer.

Decimals - Number of decimal digits used for the symbol’s quotes (e.g., 5 for EURUSD, 3 for USDJPY, 2 for XAUUSD).

Spread SL -If enabled, the Stop Loss value will automatically include the current spread.

Useful for brokers with variable spreads.

S/L (Stop Loss) - Distance from entry price to stop-loss in points.

Example: 65 = 6.5 pips if the broker uses 5-digit pricing.

T/P (Take Profit) - Distance from entry price to take-profit in points.

Min Profit - Minimum profit (in points) that must be reached before closing a trade if other conditions are met.

Pips for Min Profit - Number of pips required to activate profit-protection logic (for partial close or trailing).

Trail distance - Distance (in points) for the trailing stop to follow the price once it moves in profit.

Trail units - Defines whether the trailing distance is measured in Points, Pips, or other units (if supported).

Order Lifetime (minutes) - How long a pending or open order remains valid before it is automatically closed.

Example: 270 = 4.5 hours.

Direction

Defines trade direction:

  • Buy only
  • Sell only
  • Both – allows trading in both directions according to trend filters.

Comment - A custom label added to each order (useful for log tracking or identifying strategy instance).

Example: c_EUR... for EURUSD setup.

Fibo% % - The Fibonacci retracement level used to calculate potential pullback entries (for limit orders).

Example: 66 = price will look for retracement near 66% of the previous move.

Loopback period - Defines how many previous bars (candles) are analyzed to identify the last completed trend move before measuring retracement.

Main timeframe - Timeframe used for entry logic (trend + pullback detection).

Example: 5 Minutes.

Fast EMA period / Slow EMA period

Periods for EMA indicators used on the main timeframe:

  • Fast EMA – reacts quickly, shows short-term trend.
  • Slow EMA – smoother, shows overall direction. Their crossover determines trend direction or pullback start.

High timeframe - A Higher timeframe is used to confirm the main trend direction.

Example: 30 Minutes, 1 Hour, 4 Hours.

High fast MA period / High slow EMA period

EMA or MA periods are used on the higher timeframe for trend confirmation.

Example: if Fast EMA crosses above Slow EMA — the trend is considered bullish.

Curr Spread Slow - Displays the current spread (in points) for the “slow” broker or feed.

Useful for comparing latency or spread widening effects.

💡 Tip:

To create realistic masking behavior:

  • Use different EMAs for each pair.
  • Set the Fibo% between 60–70 for believable retracements.
  • Adjust Order Lifetime and Trail distance according to volatility (shorter for FX, longer for gold).