fix all ENUM_X_POSITION_TYPE refactoring Side Affects ...
This commit is contained in:
@@ -257,11 +257,11 @@ public:
|
||||
//
|
||||
// Request for Support Signals using Guard ...
|
||||
bool RequestForSupport(
|
||||
XSignal &support, // Holds Support Signal, if Provided
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period // Specified Time Frame
|
||||
XSignal &support, // Holds Support Signal, if Provided
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_X_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period // Specified Time Frame
|
||||
) override
|
||||
{
|
||||
//
|
||||
|
||||
@@ -1707,7 +1707,7 @@ public:
|
||||
string symbol = NULL,
|
||||
string provider = NULL,
|
||||
ENUM_TIMEFRAMES period = NULL,
|
||||
ENUM_POSITION_TYPE type = NULL //
|
||||
ENUM_X_POSITION_TYPE type = NULL //
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -1777,7 +1777,7 @@ public:
|
||||
string symbol = NULL,
|
||||
string provider = NULL,
|
||||
ENUM_TIMEFRAMES period = NULL,
|
||||
ENUM_POSITION_TYPE type = NULL //
|
||||
ENUM_X_POSITION_TYPE type = NULL //
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -1847,7 +1847,7 @@ public:
|
||||
string symbol = NULL,
|
||||
string provider = NULL,
|
||||
ENUM_TIMEFRAMES period = NULL,
|
||||
ENUM_POSITION_TYPE type = NULL //
|
||||
ENUM_X_POSITION_TYPE type = NULL //
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -1917,7 +1917,7 @@ public:
|
||||
string symbol = NULL,
|
||||
string provider = NULL,
|
||||
ENUM_TIMEFRAMES period = NULL,
|
||||
ENUM_POSITION_TYPE type = NULL //
|
||||
ENUM_X_POSITION_TYPE type = NULL //
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -1987,7 +1987,7 @@ public:
|
||||
string symbol = NULL,
|
||||
string provider = NULL,
|
||||
ENUM_TIMEFRAMES period = NULL,
|
||||
ENUM_POSITION_TYPE type = NULL //
|
||||
ENUM_X_POSITION_TYPE type = NULL //
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -2057,7 +2057,7 @@ public:
|
||||
string symbol = NULL,
|
||||
string provider = NULL,
|
||||
ENUM_TIMEFRAMES period = NULL,
|
||||
ENUM_POSITION_TYPE type = NULL //
|
||||
ENUM_X_POSITION_TYPE type = NULL //
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -2454,11 +2454,11 @@ public:
|
||||
// this Method Calls For Retrieve Support Signal ...
|
||||
// if it's Provided, Execute it ...
|
||||
virtual bool RequestForSupport(
|
||||
XSignal &support, // Holds Support Signal, if Provided
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period // Specified Time Frame
|
||||
XSignal &support, // Holds Support Signal, if Provided
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_X_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period // Specified Time Frame
|
||||
)
|
||||
{
|
||||
return false;
|
||||
@@ -3184,11 +3184,11 @@ protected:
|
||||
//
|
||||
// Close All Specified Provider's Positions in Profit Summary ...
|
||||
void HandleGuardHedgeAction(
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period, // Specified Time Frame
|
||||
double minProfitForHedging = 1, // Specified Profit for Hedge
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_X_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period, // Specified Time Frame
|
||||
double minProfitForHedging = 1, // Specified Profit for Hedge
|
||||
double minProfitForHedgingVolumeFactor = 0.01 // Specified Volume Factor for Hedge
|
||||
)
|
||||
{
|
||||
@@ -3245,7 +3245,7 @@ protected:
|
||||
void HandleGuardCloseInProfitAction(
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_POSITION_TYPE type, // Trading Type
|
||||
ENUM_X_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period, // Specified Time Frame
|
||||
ENUM_X_POSITION_SELECT_METHODS method = NULL // Select Method
|
||||
)
|
||||
@@ -3287,7 +3287,7 @@ protected:
|
||||
void HandleGuardCloseInDrawdownAction(
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_POSITION_TYPE type, // Trading Type
|
||||
ENUM_X_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period, // Specified Time Frame
|
||||
ENUM_X_POSITION_SELECT_METHODS method = NULL // Select Method
|
||||
)
|
||||
@@ -3327,11 +3327,11 @@ protected:
|
||||
//
|
||||
// Force Close Specified Set Of Position ...
|
||||
void HandleGuardForceCloseAction(
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period, // Specified Time Frame
|
||||
ulong ticket = 0 // Specific Ticket
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_X_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period, // Specified Time Frame
|
||||
ulong ticket = 0 // Specific Ticket
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -3404,11 +3404,11 @@ protected:
|
||||
//
|
||||
// Trailing Specified Set Of Positions Stop Losses ...
|
||||
void HandleGuardTrailingStopAction(
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period, // Specified Time Frame
|
||||
double sl // Desired SL Value ...
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_X_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period, // Specified Time Frame
|
||||
double sl // Desired SL Value ...
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -3482,10 +3482,10 @@ protected:
|
||||
//
|
||||
// Add Support Signal for Specified Positions ...
|
||||
void HandleGuardAddSupportPositionAction(
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period // Specified Time Frame
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_X_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period // Specified Time Frame
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -3535,10 +3535,10 @@ protected:
|
||||
//
|
||||
// Cancel all Placed Orders ...
|
||||
void HandleGuardCancelPendingOrdersAction(
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period // Specified Time Frame
|
||||
string provider, // Positions Provided by Specific Provider
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_X_POSITION_TYPE type, // Trading Type
|
||||
ENUM_TIMEFRAMES period // Specified Time Frame
|
||||
)
|
||||
{
|
||||
//
|
||||
|
||||
@@ -2174,7 +2174,7 @@ public:
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
ENUM_POSITION_TYPE type = NULL, // Long (Buy) or Short (Sell)
|
||||
ENUM_X_POSITION_TYPE type = NULL, // Long (Buy) or Short (Sell)
|
||||
ENUM_X_POSITION_SELECT_METHODS method = NULL, // Selection Method
|
||||
bool filterByMagic = true, // Get Only Self Open Positions
|
||||
bool forceClean = true // Clean Result Array
|
||||
@@ -2305,7 +2305,7 @@ public:
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
ENUM_POSITION_TYPE type = NULL, // Long (Buy) or Short (Sell)
|
||||
ENUM_X_POSITION_TYPE type = NULL, // Long (Buy) or Short (Sell)
|
||||
ENUM_X_POSITION_SELECT_METHODS method = NULL, // Selection Method
|
||||
bool filterByMagic = true, // Get Only Self Open Positions
|
||||
bool forceClean = true // Clean Result Array
|
||||
|
||||
Reference in New Issue
Block a user