cleanup and backup old styles and try toimplement new POI Detector ...

This commit is contained in:
2024-11-11 14:06:29 -08:00
parent 051ff51800
commit d239d9c580
35 changed files with 15195 additions and 16227 deletions
+13 -13
View File
@@ -23,7 +23,7 @@
//
// Imports ...
#include "../X121SMCEA/Experts/x-121.smc.expert.class.mq5"
#include "../X121SMCEA/Experts/x-121.poi.expert.class.mq5"
//
// Inputs ...
@@ -105,7 +105,7 @@ int OnInit()
// Configure EA Expert Class ...
//
eaExpert.OnSignalEventListener = OnSignalRecieved;
// eaExpert.OnSignalEventListener = OnSignalRecieved;
eaExpert.OnPositionSLEventListener = OnStopLossTriggered;
eaExpert.OnPositionTPEventListener = OnTakeProfitTriggered;
eaExpert.OnPositionForceCloseEventListener = OnPositionForceClosed;
@@ -219,17 +219,17 @@ void OnChartEvent(
* @param signal: XSignal instance ...
* @param conditions: XStrategyConditions instance ...
*/
void OnSignalRecieved(
XSignal &signal,
X121SMCStrategyConditions &conditions //
)
{
//
eaExpert.HandleOnSignalRecieved(
signal,
conditions //
);
}
// void OnSignalRecieved(
// XSignal &signal,
// X121SMCStrategyConditions &conditions //
// )
// {
// //
// eaExpert.HandleOnSignalRecieved(
// signal,
// conditions //
// );
// }
/**
* Handle StopLoss Triggered Positions ...