apply signaller's Policies in EA signal manager before Execute Signals ...
This commit is contained in:
@@ -307,8 +307,26 @@ public:
|
||||
//
|
||||
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;
|
||||
}
|
||||
};
|
||||
@@ -181,8 +181,26 @@ public:
|
||||
//
|
||||
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;
|
||||
}
|
||||
};
|
||||
@@ -104,9 +104,10 @@ public:
|
||||
conditions.isSMHKBullish))
|
||||
//
|
||||
;
|
||||
|
||||
|
||||
//
|
||||
if (result) {
|
||||
if (result)
|
||||
{
|
||||
sl = conditions.donLowerHs[1];
|
||||
}
|
||||
|
||||
@@ -165,9 +166,10 @@ public:
|
||||
conditions.isSMHKBearish))
|
||||
//
|
||||
;
|
||||
|
||||
|
||||
//
|
||||
if (result) {
|
||||
if (result)
|
||||
{
|
||||
sl = conditions.donUpperLs[1];
|
||||
}
|
||||
|
||||
@@ -186,8 +188,26 @@ public:
|
||||
//
|
||||
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