last ...
This commit is contained in:
@@ -1102,7 +1102,10 @@ public:
|
||||
//
|
||||
// Prepare Signal Comment ...
|
||||
string mSComment = mSignal.GenerateComment();
|
||||
mSignal.comment += mSComment;
|
||||
if (!Contains(mSComment, mSignal.comment))
|
||||
{
|
||||
mSignal.comment += mSComment;
|
||||
}
|
||||
|
||||
//
|
||||
// Handle Market Execution ...
|
||||
@@ -1841,12 +1844,12 @@ public:
|
||||
//
|
||||
// Close Specified Positions ...
|
||||
int Close(
|
||||
string comment = NULL, // Close Position By Specific Comment
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
string comment = NULL, // Close Position By Specific Comment
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
ENUM_X_POSITION_TYPES type = NULL, // Long (Buy) or Short (Sell)
|
||||
bool filterByMagic = true // Get Only Self Open Positions
|
||||
bool filterByMagic = true // Get Only Self Open Positions
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -2031,11 +2034,11 @@ public:
|
||||
//
|
||||
// Calculate Positions Profit ...
|
||||
double Profit(
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
ENUM_X_POSITION_TYPES type = NULL, // Long (Buy) or Short (Sell)
|
||||
bool filterByMagic = true // Get Only Self Open Positions
|
||||
bool filterByMagic = true // Get Only Self Open Positions
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -2095,13 +2098,13 @@ public:
|
||||
//
|
||||
// Retrieve Positions ...
|
||||
int GetPositions(
|
||||
XPosition &result[], // Hold's Result
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
XPosition &result[], // Hold's Result
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
ENUM_X_POSITION_TYPES type = NULL, // Long (Buy) or Short (Sell)
|
||||
bool filterByMagic = true, // Get Only Self Open Positions
|
||||
bool forceClean = true // Clean Result Array
|
||||
bool filterByMagic = true, // Get Only Self Open Positions
|
||||
bool forceClean = true // Clean Result Array
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -2215,7 +2218,7 @@ public:
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
ENUM_X_POSITION_TYPES type = NULL, // Long (Buy) or Short (Sell)
|
||||
ENUM_X_POSITION_TYPES 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
|
||||
@@ -2346,7 +2349,7 @@ public:
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
ENUM_X_POSITION_TYPES type = NULL, // Long (Buy) or Short (Sell)
|
||||
ENUM_X_POSITION_TYPES 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
|
||||
@@ -2563,14 +2566,14 @@ public:
|
||||
//
|
||||
// Retrieve All Orders ...
|
||||
int GetOrders(
|
||||
XOrder &result[], // Hold's Result
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
XOrder &result[], // Hold's Result
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
ENUM_X_POSITION_TYPES type = NULL, // Long (Buy) or Short (Sell)
|
||||
ENUM_ORDER_STATE state = NULL, // Order State
|
||||
bool filterByMagic = true, // Get Only Self Open Positions
|
||||
bool forceClean = true // Clean Result Array
|
||||
ENUM_ORDER_STATE state = NULL, // Order State
|
||||
bool filterByMagic = true, // Get Only Self Open Positions
|
||||
bool forceClean = true // Clean Result Array
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -2645,16 +2648,16 @@ public:
|
||||
//
|
||||
// Retrieve Historical Orders ...
|
||||
int GetOrders(
|
||||
XOrder &result[], // Hold's Result
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
XOrder &result[], // Hold's Result
|
||||
string symbol = NULL, // Trading Symbol
|
||||
string provider = NULL, // Signal Provider
|
||||
ENUM_TIMEFRAMES period = NULL, // Trading Period
|
||||
ENUM_X_POSITION_TYPES type = NULL, // Long (Buy) or Short (Sell)
|
||||
ENUM_ORDER_STATE state = NULL, // Order State
|
||||
datetime startDate = NULL, // Specify Start Date
|
||||
datetime endDate = NULL, // Specify End Date
|
||||
bool filterByMagic = true, // Get Only Self Open Positions
|
||||
bool forceClean = true // Clean Result Array
|
||||
ENUM_ORDER_STATE state = NULL, // Order State
|
||||
datetime startDate = NULL, // Specify Start Date
|
||||
datetime endDate = NULL, // Specify End Date
|
||||
bool filterByMagic = true, // Get Only Self Open Positions
|
||||
bool forceClean = true // Clean Result Array
|
||||
)
|
||||
{
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user