Sfoglia il codice sorgente

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 mese fa
parent
commit
3f720df69c

BIN
client/localHedgingClientCopierMt5.ex5


+ 2 - 2
client/localHedgingClientCopierMt5.mq5

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