Browse Source

Update default lot option and reorder input parameters

Changed the default value of the 'lotoption' input from 'fix' to 'slaveLotCal' and moved the 'mappingSymbol' input to group it with other symbol-related parameters for better organization.
Huzaifa-MQLDev 1 month ago
parent
commit
3f720df69c
2 changed files with 2 additions and 2 deletions
  1. BIN
      client/localHedgingClientCopierMt5.ex5
  2. 2 2
      client/localHedgingClientCopierMt5.mq5

BIN
client/localHedgingClientCopierMt5.ex5


+ 2 - 2
client/localHedgingClientCopierMt5.mq5

@@ -133,7 +133,7 @@ sinput       string                  string_0                  = "<><><><><><> G
133 133
 input        int                     slip                     = 5;               // Master Order Variation in Pips
134 134
 input        int                     sec                      = 10;              // Master Order Expired After Seconds
135 135
 input        tradeCopy_type          tradeType                = buySell;         // Trades To Copy
136
-input        lot_option              lotoption                = fix;             // Lot Option
136
+input        lot_option              lotoption                = slaveLotCal;     // Lot Option
137 137
 input        double                  mult                     = 1.0;             // Multiplier (for Client)
138 138
 input        double                  fixed                    = 0.1;             // Fixed Lot (for Client)
139 139
 input        double                  Bmult                    = 1;               // Balance Multiplier (for Client)
@@ -142,11 +142,11 @@ input        double                  maxDd                    = 8000;
142 142
 input        string                  suffix                   = "";              // Suffix
143 143
 input        string                  symbolExclude            = "";              // Symbol to Exclude
144 144
 input        string                  prefix                   = "";              // Prefix
145
+input        string                  mappingSymbol            = "GOLD,XAUUSD;bitcoin,BTCUSD"; // Mapping Pairs Inp,Out;Inp,Out
145 146
 
146 147
 // Heart Beat
147 148
 sinput       string                  string_1                  = "<><><><><><> HeartBeat Setting <><><><><><>";   //__
148 149
 input        string                  clientServer             = "";              // Master Server
149
-input        string                  mappingSymbol            = "GOLD,XAUUSD;bitcoin,BTCUSD"; // Mapping Pairs Inp,Out;Inp,Out
150 150
 input        string                  localApiKey              = "U2FsdGVkX18vBY4H1uzQiZwuh8B++8VBtCGJ3yGr2XPII0qCodmfuhjssKu5oug1J4e97bkwPtDQLi4py1OODQ=="; // Local API Key
151 151
 input        string                  localHB_req_link         = "http://localhost/api/slastConnected"; // Request Link For LastConnected
152 152