This commit is contained in:
2024-07-05 01:00:57 +03:30
parent ca1af4c98d
commit 09f90b5431
2 changed files with 7 additions and 24 deletions
-20
View File
@@ -2103,16 +2103,6 @@ struct X121SignalGenerator
// //
result && result &&
!( !(
//
// XSCORES ...
(
//
bearishScore < 5 &&
bullishScore > bearishScore * 10
//
)
//
||
// //
// XMRB ... // XMRB ...
( (
@@ -3625,16 +3615,6 @@ struct X121SignalGenerator
// //
result && result &&
!( !(
//
// XSCORES ...
(
//
bullishScore < 5 &&
bearishScore > bullishScore * 10
//
)
//
||
// //
// XMRB ... // XMRB ...
( (
+7 -4
View File
@@ -131,7 +131,7 @@ input bool x121EATerminalAlerts = false; // Terminal Alerts
// Local Variables ... // Local Variables ...
// //
bool isInTestMode = false; bool is121EAInTestMode = false;
XTimeTracker x121EATimeTracker; XTimeTracker x121EATimeTracker;
// //
@@ -158,6 +158,9 @@ int OnInit()
return INIT_PARAMETERS_INCORRECT; return INIT_PARAMETERS_INCORRECT;
} }
//
is121EAInTestMode = IsRunningOnTestMode();
// //
// Initializitation Succeed Message ... // Initializitation Succeed Message ...
x121EA.Alert("Initialized Successfully ..."); x121EA.Alert("Initialized Successfully ...");
@@ -207,7 +210,7 @@ void OnTick()
if (x121EATimeTracker.IsNewHour()) if (x121EATimeTracker.IsNewHour())
{ {
// //
if (!isInTestMode) if (!is121EAInTestMode)
{ {
x121EA.Alert("New Hour ..."); x121EA.Alert("New Hour ...");
} }
@@ -217,7 +220,7 @@ void OnTick()
if (x121EATimeTracker.IsNewDay()) if (x121EATimeTracker.IsNewDay())
{ {
// //
if (!isInTestMode) if (!is121EAInTestMode)
{ {
x121EA.Alert("New Day ..."); x121EA.Alert("New Day ...");
} }
@@ -227,7 +230,7 @@ void OnTick()
if (x121EATimeTracker.IsNewMonth()) if (x121EATimeTracker.IsNewMonth())
{ {
// //
if (!isInTestMode) if (!is121EAInTestMode)
{ {
x121EA.Alert("New Mount ..."); x121EA.Alert("New Mount ...");
} }