Attach CheckForGuard Event Handler for Signallers to Handle Guards ...
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
//
|
||||
// Imports ...
|
||||
#include "../Libraries/x-saherelm.common.lib.mq5"
|
||||
#include "../Libraries/x-saherelm.x-guard.lib.mq5"
|
||||
#include <Trade/Trade.mqh>
|
||||
|
||||
//
|
||||
@@ -3752,6 +3753,15 @@ typedef bool (*TCanAnalyse)(
|
||||
datetime _time //
|
||||
);
|
||||
|
||||
//
|
||||
// an Event Type for Notify Guard Triggered ...
|
||||
typedef void (*TOnGuarded)(
|
||||
ENUM_X_GUARD_ACTIONS guard,
|
||||
XPosition &positions[]);
|
||||
|
||||
//
|
||||
typedef int (*TCheckForGuard)(XGuard &guards[]);
|
||||
|
||||
//
|
||||
typedef void (*TOnDealsChanged)(int count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user