last works ...
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
==========
|
||||
Test:
|
||||
==========
|
||||
TO: D'2024.12.31 21:15:00'
|
||||
From: D'2024.12.26 19:45:00'
|
||||
|
||||
Support:
|
||||
=========
|
||||
Minor: 1.0371600000000001
|
||||
Major: 1.0343800000000001
|
||||
|
||||
Resistance:
|
||||
============
|
||||
Minor: 1.0443899999999999
|
||||
Major: 1.04582
|
||||
|
||||
Slope:
|
||||
=============
|
||||
Peak: 0.000003537255859231
|
||||
Vale: 0.000004208223277701
|
||||
|
||||
Intercept:
|
||||
==============
|
||||
Peak: 1.0404296187948323
|
||||
Vale: 1.0385336052465912
|
||||
|
||||
Values:
|
||||
====================
|
||||
Peak From: 1.0436237608357177
|
||||
Peak To: 1.0405074384237354
|
||||
|
||||
Vale From: 1.0423336308663556
|
||||
Vale To: 1.0386261861587007
|
||||
@@ -0,0 +1,33 @@
|
||||
==========
|
||||
Test:
|
||||
==========
|
||||
TO: D'2024.12.31 21:15:00' O
|
||||
From: D'2024.12.26 18:55:00' X
|
||||
|
||||
Support:
|
||||
=========
|
||||
Minor: 1.0371600000000001 O
|
||||
Major: 1.0343800000000001 O
|
||||
|
||||
Resistance:
|
||||
============
|
||||
Minor: 1.0443899999999999 O
|
||||
Major: 1.04582 O
|
||||
|
||||
Slope:
|
||||
=============
|
||||
Peak: 0.000003194109764736 X
|
||||
Vale: 0.000004351756566922 X
|
||||
|
||||
Intercept:
|
||||
==============
|
||||
Peak: 1.0405539031901065 X
|
||||
Vale: 1.0383562942289146 X
|
||||
|
||||
Values:
|
||||
====================
|
||||
Peak From: 1.0434701254053103 X
|
||||
Peak To: 1.0406241736049306 X
|
||||
|
||||
Vale From: 1.0423294479745144 X
|
||||
Vale To: 1.0384520328733868 X
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1368,7 +1368,7 @@ void DetectPatterns()
|
||||
XPivotAnalysis analysis;
|
||||
has = fima2Signaller.poiDetector.AnalyseZigZagPivots(
|
||||
analysis, // Result ...
|
||||
cBar.Index(), // Bar Index ...
|
||||
0, // Bar Index ...
|
||||
50, // Required Number of Pivots ...
|
||||
1500 // Max Allowed Loopback ...
|
||||
);
|
||||
|
||||
@@ -1808,6 +1808,7 @@ class XCXFIMAHelper : public XCBaseHelper
|
||||
{
|
||||
//
|
||||
iBar.Clean();
|
||||
SpecifiedClean(tmpZigZagBuffer);
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1824,6 +1825,7 @@ class XCXFIMAHelper : public XCBaseHelper
|
||||
{
|
||||
//
|
||||
iBar.Clean();
|
||||
SpecifiedClean(tmpZigZagBuffer);
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1840,6 +1842,7 @@ class XCXFIMAHelper : public XCBaseHelper
|
||||
{
|
||||
//
|
||||
iBar.Clean();
|
||||
SpecifiedClean(tmpZigZagBuffer);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1109,12 +1109,22 @@ int ExtractPivotsData(
|
||||
}
|
||||
|
||||
//
|
||||
XOHCL iBar;
|
||||
bool has = false;
|
||||
double iX = EMPTY_VALUE;
|
||||
double iY = EMPTY_VALUE;
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
//
|
||||
iX = i + 1;
|
||||
// Get Pivot Bar ...
|
||||
has = source[i].GetBar(iBar);
|
||||
if (!has)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
//
|
||||
iX = iBar.Index();
|
||||
iY = source[i].value;
|
||||
|
||||
//
|
||||
@@ -1128,8 +1138,14 @@ int ExtractPivotsData(
|
||||
iY,
|
||||
yData //
|
||||
);
|
||||
|
||||
//
|
||||
iBar.Clean();
|
||||
}
|
||||
|
||||
//
|
||||
iBar.Clean();
|
||||
|
||||
//
|
||||
result = MathMin(ArraySize(xData), ArraySize(yData));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user