add configuration properties for Alert Raw and Force Strong Signals ...
This commit is contained in:
@@ -117,10 +117,12 @@ input bool eATerminalAlerts = false; // Terminal Alerts
|
||||
//
|
||||
// Time Report ...
|
||||
input group "Reports";
|
||||
input bool eaAlertNewMonths = false; // Alert New Month
|
||||
input bool eaAlertNewWeeks = false; // Alert New Weeks
|
||||
input bool eaAlertNewDays = false; // Alert New Days
|
||||
input bool eaAlertNewHours = false; // Alert New Hours
|
||||
input bool eaAlertNewMonths = false; // Alert New Month
|
||||
input bool eaAlertNewWeeks = false; // Alert New Weeks
|
||||
input bool eaAlertNewDays = false; // Alert New Days
|
||||
input bool eaAlertNewHours = false; // Alert New Hours
|
||||
input bool eaAlertRawSignals = false; // Alert Raw Signals
|
||||
input bool eaAlertStrongSignals = false; // Alert Strong Signals
|
||||
|
||||
//
|
||||
// Variables ...
|
||||
@@ -806,9 +808,14 @@ void OnSignalRecieved(
|
||||
}
|
||||
|
||||
//
|
||||
// Notify When a Raw (Unfiltered) Signal Recieved ...
|
||||
string msg = "Raw " + (IsLong(signal.type) ? "Long" : "Short") + " Signal Recieved: (" + signal.provider + "," + signal.symbol + "," + ToString(signal.period) + ") ...";
|
||||
eaAlert.Alert(msg);
|
||||
// Notify When a Raw (Unfiltered) Signal Recieved
|
||||
// if it's Provided ...
|
||||
if (eaAlertRawSignals)
|
||||
{
|
||||
//
|
||||
string msg = "Raw " + (IsLong(signal.type) ? "Long" : "Short") + " Signal Recieved: (" + signal.provider + "," + signal.symbol + "," + ToString(signal.period) + ") ...";
|
||||
eaAlert.Alert(msg);
|
||||
}
|
||||
|
||||
//
|
||||
// Prepare Signal Dynamic Volume
|
||||
@@ -866,8 +873,14 @@ void OnSignalRecieved(
|
||||
forceSignalsCount++;
|
||||
|
||||
//
|
||||
string msg = "Foce Strong " + (IsLong(signal.type) ? "Long" : "Short") + " Signal Recieved: (" + signal.provider + "," + signal.symbol + "," + ToString(signal.period) + ") ...";
|
||||
eaAlert.Alert(msg);
|
||||
// Alert Froce Strong Signals
|
||||
// if Provided ...
|
||||
if (eaAlertStrongSignals)
|
||||
{
|
||||
//
|
||||
string msg = "Foce Strong " + (IsLong(signal.type) ? "Long" : "Short") + " Signal Recieved: (" + signal.provider + "," + signal.symbol + "," + ToString(signal.period) + ") ...";
|
||||
eaAlert.Alert(msg);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user