last ...
This commit is contained in:
@@ -1163,6 +1163,42 @@ class XCXFIMAStrategy2Signaller : public XCXFIMABaseSignaller
|
||||
//
|
||||
// Calling Without Candlestick Patterns Strategies ...
|
||||
|
||||
//
|
||||
// Testing Bar Zones ...
|
||||
XBoxZone barZones[];
|
||||
int barCounts = fima2Signaller.fimaHelper.ExtractBarZones(
|
||||
barZones,
|
||||
1, // Bar Index ...
|
||||
50, // Number of Zones ...
|
||||
3, // Break Validation Length ...
|
||||
true, // Validate Fake Breakes ...
|
||||
5, // Shadow Multiplier ...
|
||||
1, // Strength ...
|
||||
14 // Validation Length ...
|
||||
);
|
||||
if (IsValidSize(barCounts))
|
||||
{
|
||||
//
|
||||
XCBoxObject *iObj;
|
||||
for (int i = 0; i < barCounts; i++)
|
||||
{
|
||||
//
|
||||
iObj = NULL;
|
||||
bool isCreated = fima2Signaller.poiDrawer.DrawBox(
|
||||
barZones[i],
|
||||
iObj,
|
||||
true, // Ignore At ...
|
||||
barZones[i].type // Name ...
|
||||
);
|
||||
|
||||
//
|
||||
ZeroMemory(iObj);
|
||||
}
|
||||
|
||||
// //
|
||||
// Print("Bar Zones Detected ...");
|
||||
}
|
||||
|
||||
//
|
||||
// Testing HK Zones ...
|
||||
XBoxZone hkZones[];
|
||||
@@ -1172,29 +1208,51 @@ class XCXFIMAStrategy2Signaller : public XCXFIMABaseSignaller
|
||||
50, // Number of Zones ...
|
||||
5, // Shadow Multiplier ...
|
||||
1, // Strength ...
|
||||
21 // Validation Length ...
|
||||
14 // Validation Length ...
|
||||
);
|
||||
if (IsValidSize(hkCounts))
|
||||
{
|
||||
//
|
||||
XCBoxObject *iObj;
|
||||
for (int i = 0; i < hkCounts; i++)
|
||||
{
|
||||
//
|
||||
iObj = NULL;
|
||||
bool isCreated = fima2Signaller.poiDrawer.DrawBox(
|
||||
hkZones[i],
|
||||
iObj,
|
||||
true, // Ignore At ...
|
||||
hkZones[i].type // Name ...
|
||||
);
|
||||
// //
|
||||
// XCBoxObject *iObj;
|
||||
// for (int i = 0; i < hkCounts; i++)
|
||||
// {
|
||||
// //
|
||||
// iObj = NULL;
|
||||
// bool isCreated = fima2Signaller.poiDrawer.DrawBox(
|
||||
// hkZones[i],
|
||||
// iObj,
|
||||
// true, // Ignore At ...
|
||||
// hkZones[i].type // Name ...
|
||||
// );
|
||||
|
||||
//
|
||||
ZeroMemory(iObj);
|
||||
}
|
||||
// //
|
||||
// ZeroMemory(iObj);
|
||||
// }
|
||||
|
||||
// //
|
||||
// Print("HK Zones Detected ...");
|
||||
}
|
||||
|
||||
//
|
||||
// Testing XFIMA MA Pivots ...
|
||||
XPivot maPivots[];
|
||||
int maPivotsCount = fimaHelper.ExtractMAPivots(
|
||||
maPivots,
|
||||
1, // Bar Index ...
|
||||
50, // Number of Pivots ...
|
||||
0 // Validation Length ...
|
||||
);
|
||||
if (IsValidSize(maPivotsCount))
|
||||
{
|
||||
//
|
||||
CArrayObj *iPivotsObj;
|
||||
maPivotsCount = poiDrawer.DrawPivots(
|
||||
maPivots,
|
||||
iPivotsObj //
|
||||
);
|
||||
|
||||
//
|
||||
Print("HK Zones Detected ...");
|
||||
Print("MA Pivots Detected ...");
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1312,7 +1370,7 @@ class XCXFIMAStrategy2Signaller : public XCXFIMABaseSignaller
|
||||
|
||||
//
|
||||
// Do all Draws Here ...
|
||||
bool canDraw = true;
|
||||
bool canDraw = false;
|
||||
if (canDraw && has)
|
||||
{
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user