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 ...
|
// Time Report ...
|
||||||
input group "Reports";
|
input group "Reports";
|
||||||
input bool eaAlertNewMonths = false; // Alert New Month
|
input bool eaAlertNewMonths = false; // Alert New Month
|
||||||
input bool eaAlertNewWeeks = false; // Alert New Weeks
|
input bool eaAlertNewWeeks = false; // Alert New Weeks
|
||||||
input bool eaAlertNewDays = false; // Alert New Days
|
input bool eaAlertNewDays = false; // Alert New Days
|
||||||
input bool eaAlertNewHours = false; // Alert New Hours
|
input bool eaAlertNewHours = false; // Alert New Hours
|
||||||
|
input bool eaAlertRawSignals = false; // Alert Raw Signals
|
||||||
|
input bool eaAlertStrongSignals = false; // Alert Strong Signals
|
||||||
|
|
||||||
//
|
//
|
||||||
// Variables ...
|
// Variables ...
|
||||||
@@ -806,9 +808,14 @@ void OnSignalRecieved(
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Notify When a Raw (Unfiltered) Signal Recieved ...
|
// Notify When a Raw (Unfiltered) Signal Recieved
|
||||||
string msg = "Raw " + (IsLong(signal.type) ? "Long" : "Short") + " Signal Recieved: (" + signal.provider + "," + signal.symbol + "," + ToString(signal.period) + ") ...";
|
// if it's Provided ...
|
||||||
eaAlert.Alert(msg);
|
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
|
// Prepare Signal Dynamic Volume
|
||||||
@@ -866,8 +873,14 @@ void OnSignalRecieved(
|
|||||||
forceSignalsCount++;
|
forceSignalsCount++;
|
||||||
|
|
||||||
//
|
//
|
||||||
string msg = "Foce Strong " + (IsLong(signal.type) ? "Long" : "Short") + " Signal Recieved: (" + signal.provider + "," + signal.symbol + "," + ToString(signal.period) + ") ...";
|
// Alert Froce Strong Signals
|
||||||
eaAlert.Alert(msg);
|
// 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