last works ...
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user