last works on XFIMA ...

This commit is contained in:
2025-10-23 21:09:12 +03:30
parent 97bb7b4509
commit d63c5596fc
3 changed files with 278 additions and 211 deletions
+16 -24
View File
@@ -131,17 +131,17 @@ input ENUM_BASE_CORNER barTimeCorner = CORNER_RIGHT_LOWER; // Text Position
//
// Presentation ...
input group "Presentation";
input bool showPV = true; // Show PV
input bool showHK = true; // Show HK
input bool showSAR = true; // Show Sar
input bool showBars = true; // Show Bars
input bool showMAFast = true; // Show MA Fast
input bool showMASlow = true; // Show MA Slow
input bool showMABond = true; // Show MA Bond
input bool showHKBond = true; // Show HK Bond
input bool showBarTime = true; // Show Bar Time
input bool showZigZag = true; // Show ZigZag
input bool showFiboZone = true; // Show Fibo Zone
input bool showPV = false; // Show PV
input bool showHK = false; // Show HK
input bool showSAR = false; // Show Sar
input bool showBars = true; // Show Bars
input bool showMAFast = false; // Show MA Fast
input bool showMASlow = false; // Show MA Slow
input bool showMABond = false; // Show MA Bond
input bool showHKBond = false; // Show HK Bond
input bool showBarTime = true; // Show Bar Time
input bool showZigZag = false; // Show ZigZag
input bool showFiboZone = false; // Show Fibo Zone
//
input int startCalculationForLastBars = 1500; // Calculate Last n Bars
@@ -163,16 +163,6 @@ XCBackTesterEA *eaExpert; // EA Expert ...
// Registered Signallers ...
XCXFIMAStrategy1Signaller *fima1Signaller; // XFIMA1 Signaller ...
//
// XFIMAMarketStructure marketStructure; // POI Analysis Result ...
// XFIMAPatternDetectorConfig detectorConfig; // POI Detector Config ...
// XFIMAMarketStructureDrawerConfig marketStructureDrawerConfig; // POI Drawer Config ...
//
// Drawer and eaDraws ...
CArrayObj eaDraws; // Drawn Objects ...
CArrayObj *marketStructureObjects; // Market Structure Objects ...
//
XBarTracker eaBarTracker; // EA Bar Traker ...
@@ -195,9 +185,6 @@ color eaBarBearishColor = clrRed;
color eaBarBullishColor = clrLime;
color eaBarVolumesColor = clrGreen;
//
// Define Indicators Here ...
//
// Event Handlers ...
@@ -362,7 +349,12 @@ int OnInit()
eaSignallerRiskInPoint, // Default Risk In Points ...
eaSignallerVolume // Defaul Volume ...
);
//
// Configure Signaller ...
fima1Signaller.ignoreTargets = false;
fima1Signaller.slAdditionDistance = 30;
fima1Signaller.maxAllowedRiskDistance = 200;
fima1Signaller.AddOnSignalEventHandler(OnSignalTriggered);
//