last works ...
must Fix Refactoring X_POSITION_TYPE side affects ...
This commit is contained in:
@@ -2610,6 +2610,40 @@ public:
|
||||
ignoreProfitForOppositeSignals = false;
|
||||
}
|
||||
|
||||
//
|
||||
// Enable Default Configurations ...
|
||||
virtual 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 = 5;
|
||||
minRequiredProfitPerTradeVolumeFactor = 0.01;
|
||||
|
||||
//
|
||||
openNextPositionOnProfit = true;
|
||||
ignoreProfitForOppositeSignals = true;
|
||||
}
|
||||
|
||||
//
|
||||
// Validate ...
|
||||
bool IsValid()
|
||||
|
||||
Reference in New Issue
Block a user