Explorar el Código

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 hace 7 meses
padre
commit
3f720df69c

BIN
client/localHedgingClientCopierMt5.ex5


+ 2 - 2
client/localHedgingClientCopierMt5.mq5

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