fix xpv and add support for providing fractals based Supports and Resistances ...

This commit is contained in:
2025-03-13 05:47:12 +03:30
parent 935c8405fa
commit fe7df78f5d
7 changed files with 799 additions and 35 deletions
+38 -1
View File
@@ -2041,7 +2041,7 @@ class XCTwoBarZone : public XCZone
mType = type;
mEndBar = endBar;
mStartBar = startBar;
//
int startIndex = startBar.Index();
int endIndex = endBar.Index();
@@ -5338,6 +5338,43 @@ struct XBoxZone
return result;
}
/**
* Retrieve Box Age ...
*
* @param forPeriod: ENUM_TIMEFRAMES member ...
*
* @return ( int )
*/
int GetAge(
ENUM_TIMEFRAMES forPeriod = NULL //
)
{
//
int result = 0;
//
if (!IsValid())
{
return result;
}
//
if (!IsValid(forPeriod))
{
forPeriod = period;
}
//
result = iBarShift(
symbol,
forPeriod,
from //
);
//
return result;
}
/**
* Retrieve Unique Identifier ...
*