last ...
This commit is contained in:
@@ -1070,13 +1070,17 @@ struct X121SignalGenerator
|
||||
bool HasLongConditions(
|
||||
X121SetupConditions &conditions, // Conditions
|
||||
int &pusher, // Pushers
|
||||
string &provider // Provider
|
||||
string &provider, // Provider
|
||||
double &tp, // Provided TP
|
||||
double &sl // Provided SL
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
tp = 0;
|
||||
sl = 0;
|
||||
pusher = 0;
|
||||
|
||||
//
|
||||
@@ -1669,8 +1673,6 @@ struct X121SignalGenerator
|
||||
result =
|
||||
//
|
||||
pusher >= 1 &&
|
||||
// !isOSCShortVerified &&
|
||||
// bullishScore > bearishScore * 2 &&
|
||||
(
|
||||
//
|
||||
long1
|
||||
@@ -1764,13 +1766,17 @@ struct X121SignalGenerator
|
||||
bool HasShortConditions(
|
||||
X121SetupConditions &conditions, // Conditions
|
||||
int &pusher, // Pushers
|
||||
string &provider // Provider
|
||||
string &provider, // Provider
|
||||
double &tp, // Provided TP
|
||||
double &sl // Provided SL
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
tp = 0;
|
||||
sl = 0;
|
||||
pusher = 0;
|
||||
|
||||
//
|
||||
@@ -2363,8 +2369,6 @@ struct X121SignalGenerator
|
||||
result =
|
||||
//
|
||||
pusher >= 1 &&
|
||||
// !isOSCLongVerified &&
|
||||
// bearishScore > bullishScore * 2 &&
|
||||
(
|
||||
//
|
||||
short1
|
||||
@@ -2688,7 +2692,7 @@ struct X121SignalGenerator
|
||||
//
|
||||
bool IsConditionsValidForLong(
|
||||
X121SetupConditions &conditions, // Conditions
|
||||
int verifications = 4 // Number of Verifications
|
||||
int verifications = 2 // Number of Verifications
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -2944,7 +2948,7 @@ struct X121SignalGenerator
|
||||
//
|
||||
bool IsConditionsValidForShort(
|
||||
X121SetupConditions &conditions, // Conditions
|
||||
int verifications = 4 // Number of Verifications
|
||||
int verifications = 2 // Number of Verifications
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -3011,6 +3015,8 @@ struct X121SignalGenerator
|
||||
XSignal &signal, // Signal if Exists
|
||||
int &pusher, // Pushers
|
||||
string &provider, // Signal Provider Name
|
||||
double &tp, // Provided TP
|
||||
double &sl, // Provided SL
|
||||
bool _useSupport, // Generate Support Signals
|
||||
bool _allowLong, // Allow Long Signals
|
||||
bool _allowShort, // Allow Short Signals
|
||||
@@ -3046,7 +3052,9 @@ struct X121SignalGenerator
|
||||
HasLongConditions(
|
||||
conditions,
|
||||
pusher,
|
||||
provider //
|
||||
provider,
|
||||
tp,
|
||||
sl //
|
||||
);
|
||||
|
||||
//
|
||||
@@ -3069,7 +3077,9 @@ struct X121SignalGenerator
|
||||
HasShortConditions(
|
||||
conditions,
|
||||
pusher,
|
||||
provider //
|
||||
provider,
|
||||
tp,
|
||||
sl //
|
||||
);
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user