last ...
This commit is contained in:
@@ -473,8 +473,8 @@ public:
|
||||
bool canAccept =
|
||||
//
|
||||
isLong
|
||||
? longs < shorts
|
||||
: shorts < longs
|
||||
? longs < shorts || longProfits > shortProfits
|
||||
: shorts < longs || shortProfits > longProfits
|
||||
//
|
||||
;
|
||||
if (!canAccept)
|
||||
|
||||
@@ -38,9 +38,9 @@ input string x121EASymbols = "EURUSDb"; // Symbols
|
||||
input bool x121EAAllowLong = true; // Allow Long Trades
|
||||
input bool x121EAAllowShort = true; // Allow Short Trades
|
||||
input int x121EAManageInterval = 0; // Manager Check Intervals Seconds
|
||||
input int x121EAMaxAllowedPositions = 5; // Max Allowed Positions
|
||||
input int x121EAMaxAllowedPositions = 10; // Max Allowed Positions
|
||||
input double x121EAMaxAllowedSpread = 0; // Max Allowed Spred for Opening Trades
|
||||
input double x121EAMinProfitPerTrade = 4; // Min Profit Per Trade based On Volume Factor (Hedge)
|
||||
input double x121EAMinProfitPerTrade = 0.6; // Min Profit Per Trade based On Volume Factor (Hedge)
|
||||
input double x121EAMinProfitPerVolumeFactor = 0.01; // Min Volume Factor for Calculating Profit (Hedge)
|
||||
input double x121EAMaxAllowedDrawdownFactor = 0.002; // Max Allowed Drawdown Factor
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user