last works ...
This commit is contained in:
@@ -156,19 +156,19 @@ public:
|
||||
//
|
||||
result =
|
||||
//
|
||||
// condition1
|
||||
// //
|
||||
// ||
|
||||
// //
|
||||
// condition2
|
||||
// //
|
||||
// ||
|
||||
// //
|
||||
condition1
|
||||
//
|
||||
||
|
||||
//
|
||||
condition2
|
||||
//
|
||||
||
|
||||
//
|
||||
condition3
|
||||
// //
|
||||
// ||
|
||||
// //
|
||||
// condition4
|
||||
//
|
||||
||
|
||||
//
|
||||
condition4
|
||||
//
|
||||
;
|
||||
|
||||
@@ -176,7 +176,7 @@ public:
|
||||
if (result)
|
||||
{
|
||||
result =
|
||||
bullishScore > bearishScore;
|
||||
bullishScore > bearishScore * 1.5;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -293,27 +293,27 @@ public:
|
||||
//
|
||||
result =
|
||||
//
|
||||
// condition1
|
||||
condition1
|
||||
|
||||
||
|
||||
//
|
||||
condition2
|
||||
//
|
||||
||
|
||||
//
|
||||
// ||
|
||||
// //
|
||||
// condition2
|
||||
// //
|
||||
// ||
|
||||
// //
|
||||
condition3
|
||||
// //
|
||||
// ||
|
||||
// //
|
||||
// condition4
|
||||
//
|
||||
||
|
||||
//
|
||||
condition4
|
||||
//
|
||||
;
|
||||
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
result =
|
||||
bearishScore > bullishScore ;
|
||||
bearishScore > bullishScore * 1.5;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -325,4 +325,6 @@ public:
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
//
|
||||
@@ -73,6 +73,14 @@ public:
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
double bullishScore = 0;
|
||||
double bearishScore = 0;
|
||||
conditions.GenerateScore(
|
||||
bullishScore,
|
||||
bearishScore //
|
||||
);
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
@@ -98,6 +106,13 @@ public:
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
result =
|
||||
bullishScore > bearishScore * 1.5;
|
||||
}
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
@@ -129,6 +144,14 @@ public:
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
double bullishScore = 0;
|
||||
double bearishScore = 0;
|
||||
conditions.GenerateScore(
|
||||
bullishScore,
|
||||
bearishScore //
|
||||
);
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
@@ -160,6 +183,13 @@ public:
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
result =
|
||||
bearishScore > bullishScore * 1.5;
|
||||
}
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
|
||||
@@ -74,6 +74,14 @@ public:
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
double bullishScore = 0;
|
||||
double bearishScore = 0;
|
||||
conditions.GenerateScore(
|
||||
bullishScore,
|
||||
bearishScore //
|
||||
);
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
@@ -105,6 +113,13 @@ public:
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
result =
|
||||
bullishScore > bearishScore * 1.5;
|
||||
}
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
@@ -125,6 +140,10 @@ public:
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
tp = 0;
|
||||
sl = 0;
|
||||
|
||||
//
|
||||
result = allowShort;
|
||||
if (!result)
|
||||
@@ -133,8 +152,12 @@ public:
|
||||
}
|
||||
|
||||
//
|
||||
tp = 0;
|
||||
sl = 0;
|
||||
double bullishScore = 0;
|
||||
double bearishScore = 0;
|
||||
conditions.GenerateScore(
|
||||
bullishScore,
|
||||
bearishScore //
|
||||
);
|
||||
|
||||
//
|
||||
result =
|
||||
@@ -167,6 +190,13 @@ public:
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
result =
|
||||
bearishScore > bullishScore * 1.5;
|
||||
}
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
|
||||
@@ -96,6 +96,14 @@ public:
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
double bullishScore = 0;
|
||||
double bearishScore = 0;
|
||||
conditions.GenerateScore(
|
||||
bullishScore,
|
||||
bearishScore //
|
||||
);
|
||||
|
||||
//
|
||||
bool isRejected =
|
||||
//
|
||||
@@ -135,6 +143,13 @@ public:
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
result =
|
||||
bullishScore > bearishScore * 1.5;
|
||||
}
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
@@ -182,6 +197,14 @@ public:
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
double bullishScore = 0;
|
||||
double bearishScore = 0;
|
||||
conditions.GenerateScore(
|
||||
bullishScore,
|
||||
bearishScore //
|
||||
);
|
||||
|
||||
//
|
||||
bool isRejected =
|
||||
//
|
||||
@@ -221,6 +244,13 @@ public:
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
result =
|
||||
bearishScore > bullishScore * 1.5;
|
||||
}
|
||||
|
||||
//
|
||||
if (result)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user