This commit is contained in:
2024-07-19 08:24:25 +03:30
parent b038cc0b7e
commit 608d387a92
+6 -6
View File
@@ -379,16 +379,16 @@ public:
: cBar.IsBullishEngulfing(); : cBar.IsBullishEngulfing();
// //
bool isBullishTrend = cBar.HasBullishTrend( bool isBullishTrend = oBar.HasBullishTrend(
tmpHSW, tmpHSW,
tmpLSW, tmpLSW,
true // false //
); );
// //
hasLong = hasLong =
// //
true true // isBullishTrend
// //
&& &&
// //
@@ -508,16 +508,16 @@ public:
: cBar.IsBearishMarubozu(); : cBar.IsBearishMarubozu();
// //
bool isBearishTrend = cBar.HasBearishTrend( bool isBearishTrend = oBar.HasBearishTrend(
tmpHSW, tmpHSW,
tmpLSW, tmpLSW,
true // false //
); );
// //
hasShort = hasShort =
// //
true true // isBearishTrend
// //
&& &&
// //