last ...
This commit is contained in:
@@ -2103,16 +2103,6 @@ struct X121SignalGenerator
|
||||
//
|
||||
result &&
|
||||
!(
|
||||
//
|
||||
// XSCORES ...
|
||||
(
|
||||
//
|
||||
bearishScore < 5 &&
|
||||
bullishScore > bearishScore * 10
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
// XMRB ...
|
||||
(
|
||||
@@ -3625,16 +3615,6 @@ struct X121SignalGenerator
|
||||
//
|
||||
result &&
|
||||
!(
|
||||
//
|
||||
// XSCORES ...
|
||||
(
|
||||
//
|
||||
bullishScore < 5 &&
|
||||
bearishScore > bullishScore * 10
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
// XMRB ...
|
||||
(
|
||||
|
||||
@@ -131,7 +131,7 @@ input bool x121EATerminalAlerts = false; // Terminal Alerts
|
||||
// Local Variables ...
|
||||
|
||||
//
|
||||
bool isInTestMode = false;
|
||||
bool is121EAInTestMode = false;
|
||||
XTimeTracker x121EATimeTracker;
|
||||
|
||||
//
|
||||
@@ -158,6 +158,9 @@ int OnInit()
|
||||
return INIT_PARAMETERS_INCORRECT;
|
||||
}
|
||||
|
||||
//
|
||||
is121EAInTestMode = IsRunningOnTestMode();
|
||||
|
||||
//
|
||||
// Initializitation Succeed Message ...
|
||||
x121EA.Alert("Initialized Successfully ...");
|
||||
@@ -207,7 +210,7 @@ void OnTick()
|
||||
if (x121EATimeTracker.IsNewHour())
|
||||
{
|
||||
//
|
||||
if (!isInTestMode)
|
||||
if (!is121EAInTestMode)
|
||||
{
|
||||
x121EA.Alert("New Hour ...");
|
||||
}
|
||||
@@ -217,7 +220,7 @@ void OnTick()
|
||||
if (x121EATimeTracker.IsNewDay())
|
||||
{
|
||||
//
|
||||
if (!isInTestMode)
|
||||
if (!is121EAInTestMode)
|
||||
{
|
||||
x121EA.Alert("New Day ...");
|
||||
}
|
||||
@@ -227,7 +230,7 @@ void OnTick()
|
||||
if (x121EATimeTracker.IsNewMonth())
|
||||
{
|
||||
//
|
||||
if (!isInTestMode)
|
||||
if (!is121EAInTestMode)
|
||||
{
|
||||
x121EA.Alert("New Mount ...");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user