add configuration properties for Alert Raw and Force Strong Signals ...
This commit is contained in:
@@ -121,6 +121,8 @@ 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
|
||||||
|
// if it's Provided ...
|
||||||
|
if (eaAlertRawSignals)
|
||||||
|
{
|
||||||
|
//
|
||||||
string msg = "Raw " + (IsLong(signal.type) ? "Long" : "Short") + " Signal Recieved: (" + signal.provider + "," + signal.symbol + "," + ToString(signal.period) + ") ...";
|
string msg = "Raw " + (IsLong(signal.type) ? "Long" : "Short") + " Signal Recieved: (" + signal.provider + "," + signal.symbol + "," + ToString(signal.period) + ") ...";
|
||||||
eaAlert.Alert(msg);
|
eaAlert.Alert(msg);
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Prepare Signal Dynamic Volume
|
// Prepare Signal Dynamic Volume
|
||||||
@@ -865,10 +872,16 @@ void OnSignalRecieved(
|
|||||||
// Senarios ...
|
// Senarios ...
|
||||||
forceSignalsCount++;
|
forceSignalsCount++;
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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) + ") ...";
|
string msg = "Foce Strong " + (IsLong(signal.type) ? "Long" : "Short") + " Signal Recieved: (" + signal.provider + "," + signal.symbol + "," + ToString(signal.period) + ") ...";
|
||||||
eaAlert.Alert(msg);
|
eaAlert.Alert(msg);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Attach Conditions Summary to Signal ...
|
// Attach Conditions Summary to Signal ...
|
||||||
|
|||||||
Reference in New Issue
Block a user