last works ...

This commit is contained in:
2024-05-22 13:15:20 +03:30
parent 23c989f083
commit 4a69e7edf8
17 changed files with 6815 additions and 78 deletions
+29 -9
View File
@@ -218,15 +218,16 @@ struct XSignal
//
bool Prepare(
string mSymbol, // Trading Symbol
string mProvider, // Signal Provider
ENUM_TIMEFRAMES mPeriod, // Trading TimeFrame
ENUM_POSITION_TYPE mType, // Long (Buy) or Short (Sell)
ENUM_X_ORDER_MODES mMode, // Execution Mode
double mEntry, // Entry Price
double mVolume, // Volume
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
string mSymbol, // Trading Symbol
string mProvider, // Signal Provider
ENUM_TIMEFRAMES mPeriod, // Trading TimeFrame
ENUM_POSITION_TYPE mType, // Long (Buy) or Short (Sell)
ENUM_X_ORDER_MODES mMode, // Execution Mode
double mEntry, // Entry Price
double mVolume, // Volume
ENUM_X_SIGNAL_MANAGING_ACTIONS mAction = X_SIGNAL_USE_NOTHING, // Signal Management Action
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
)
{
//
@@ -284,6 +285,9 @@ struct XSignal
entry = mEntry;
volume = mVolume;
//
action = mAction;
//
Add(
sl,
@@ -313,6 +317,7 @@ struct XSignal
ENUM_X_ORDER_MODES mMode, // Execution Mode
double mEntry, // Entry Price
double mVolume, // Volume
ENUM_X_SIGNAL_MANAGING_ACTIONS mAction = X_SIGNAL_USE_NOTHING, // Signal Management Action
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
)
@@ -326,6 +331,7 @@ struct XSignal
mMode,
mEntry,
mVolume,
mAction,
sl,
tp
//
@@ -340,6 +346,7 @@ struct XSignal
ENUM_X_ORDER_MODES mMode, // Execution Mode
double mEntry, // Entry Price
double mVolume, // Volume
ENUM_X_SIGNAL_MANAGING_ACTIONS mAction = X_SIGNAL_USE_NOTHING, // Signal Management Action
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
)
@@ -353,6 +360,7 @@ struct XSignal
mMode,
mEntry,
mVolume,
mAction,
sl,
tp
//
@@ -369,6 +377,7 @@ struct XSignal
ENUM_TIMEFRAMES mPeriod, // Trading TimeFrame
double mEntry, // Entry Price
double mVolume, // Volume
ENUM_X_SIGNAL_MANAGING_ACTIONS mAction = X_SIGNAL_USE_NOTHING, // Signal Management Action
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
)
@@ -381,6 +390,7 @@ struct XSignal
X_ORDER_MODE_MARKET,
mEntry,
mVolume,
mAction,
sl,
tp
//
@@ -394,6 +404,7 @@ struct XSignal
ENUM_TIMEFRAMES mPeriod, // Trading TimeFrame
double mEntry, // Entry Price
double mVolume, // Volume
ENUM_X_SIGNAL_MANAGING_ACTIONS mAction = X_SIGNAL_USE_NOTHING, // Signal Management Action
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
)
@@ -406,6 +417,7 @@ struct XSignal
X_ORDER_MODE_MARKET,
mEntry,
mVolume,
mAction,
sl,
tp
//
@@ -422,6 +434,7 @@ struct XSignal
ENUM_TIMEFRAMES mPeriod, // Trading TimeFrame
double mEntry, // Entry Price
double mVolume, // Volume
ENUM_X_SIGNAL_MANAGING_ACTIONS mAction = X_SIGNAL_USE_NOTHING, // Signal Management Action
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
)
@@ -434,6 +447,7 @@ struct XSignal
X_ORDER_MODE_STOP,
mEntry,
mVolume,
mAction,
sl,
tp
//
@@ -447,6 +461,7 @@ struct XSignal
ENUM_TIMEFRAMES mPeriod, // Trading TimeFrame
double mEntry, // Entry Price
double mVolume, // Volume
ENUM_X_SIGNAL_MANAGING_ACTIONS mAction = X_SIGNAL_USE_NOTHING, // Signal Management Action
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
)
@@ -459,6 +474,7 @@ struct XSignal
X_ORDER_MODE_STOP,
mEntry,
mVolume,
mAction,
sl,
tp
//
@@ -475,6 +491,7 @@ struct XSignal
ENUM_TIMEFRAMES mPeriod, // Trading TimeFrame
double mEntry, // Entry Price
double mVolume, // Volume
ENUM_X_SIGNAL_MANAGING_ACTIONS mAction = X_SIGNAL_USE_NOTHING, // Signal Management Action
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
)
@@ -487,6 +504,7 @@ struct XSignal
X_ORDER_MODE_LIMIT,
mEntry,
mVolume,
mAction,
sl,
tp
//
@@ -500,6 +518,7 @@ struct XSignal
ENUM_TIMEFRAMES mPeriod, // Trading TimeFrame
double mEntry, // Entry Price
double mVolume, // Volume
ENUM_X_SIGNAL_MANAGING_ACTIONS mAction = X_SIGNAL_USE_NOTHING, // Signal Management Action
double sl = 0, // Stop Loss
double tp = 0 // Take Profit
)
@@ -512,6 +531,7 @@ struct XSignal
X_ORDER_MODE_LIMIT,
mEntry,
mVolume,
mAction,
sl,
tp
//