last works ...
must Fix Refactoring X_POSITION_TYPE side affects ...
This commit is contained in:
@@ -295,38 +295,4 @@ public:
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Tools ...
|
||||
void Default()
|
||||
{
|
||||
//
|
||||
allowLong = true;
|
||||
allowShort = true;
|
||||
|
||||
//
|
||||
r2r = 1;
|
||||
|
||||
//
|
||||
maxAllowedLong = 3;
|
||||
maxAllowedShort = 3;
|
||||
|
||||
//
|
||||
staticVolumeLong = 0.01;
|
||||
staticVolumeShort = 0.01;
|
||||
|
||||
//
|
||||
maxAllowedOpenPositionAge = 576; // Two Days on 5 Min
|
||||
delayBetweenTwoSameTypeSignals = 12; // 1 Hour on 5 Min
|
||||
|
||||
//
|
||||
// Set 10 $ Per each Trade on 0.01 Volume
|
||||
// is Enough for Hedging ...
|
||||
minRequiredProfitPerTrade = 10;
|
||||
minRequiredProfitPerTradeVolumeFactor = 0.01;
|
||||
|
||||
//
|
||||
openNextPositionOnProfit = true;
|
||||
ignoreProfitForOppositeSignals = true;
|
||||
}
|
||||
};
|
||||
@@ -169,38 +169,4 @@ public:
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Tools ...
|
||||
void Default()
|
||||
{
|
||||
//
|
||||
allowLong = true;
|
||||
allowShort = true;
|
||||
|
||||
//
|
||||
r2r = 1;
|
||||
|
||||
//
|
||||
maxAllowedLong = 3;
|
||||
maxAllowedShort = 3;
|
||||
|
||||
//
|
||||
staticVolumeLong = 0.01;
|
||||
staticVolumeShort = 0.01;
|
||||
|
||||
//
|
||||
maxAllowedOpenPositionAge = 576; // Two Days on 5 Min
|
||||
delayBetweenTwoSameTypeSignals = 12; // 1 Hour on 5 Min
|
||||
|
||||
//
|
||||
// Set 10 $ Per each Trade on 0.01 Volume
|
||||
// is Enough for Hedging ...
|
||||
minRequiredProfitPerTrade = 10;
|
||||
minRequiredProfitPerTradeVolumeFactor = 0.01;
|
||||
|
||||
//
|
||||
openNextPositionOnProfit = true;
|
||||
ignoreProfitForOppositeSignals = true;
|
||||
}
|
||||
};
|
||||
@@ -176,38 +176,4 @@ public:
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Tools ...
|
||||
void Default()
|
||||
{
|
||||
//
|
||||
allowLong = true;
|
||||
allowShort = true;
|
||||
|
||||
//
|
||||
r2r = 1;
|
||||
|
||||
//
|
||||
maxAllowedLong = 3;
|
||||
maxAllowedShort = 3;
|
||||
|
||||
//
|
||||
staticVolumeLong = 0.01;
|
||||
staticVolumeShort = 0.01;
|
||||
|
||||
//
|
||||
maxAllowedOpenPositionAge = 576; // Two Days on 5 Min
|
||||
delayBetweenTwoSameTypeSignals = 12; // 1 Hour on 5 Min
|
||||
|
||||
//
|
||||
// Set 10 $ Per each Trade on 0.01 Volume
|
||||
// is Enough for Hedging ...
|
||||
minRequiredProfitPerTrade = 10;
|
||||
minRequiredProfitPerTradeVolumeFactor = 0.01;
|
||||
|
||||
//
|
||||
openNextPositionOnProfit = true;
|
||||
ignoreProfitForOppositeSignals = true;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user