last ...
This commit is contained in:
@@ -2466,7 +2466,7 @@ struct XOHCL
|
||||
}
|
||||
|
||||
//
|
||||
// Find Lowest Bar Index ...
|
||||
// Find Highest Bar Index ...
|
||||
int FindHighestIndex(
|
||||
int mLength, // Loopback ...
|
||||
ENUM_SERIESMODE mMode // Calculation mode
|
||||
@@ -2500,7 +2500,7 @@ struct XOHCL
|
||||
}
|
||||
|
||||
//
|
||||
// Find Lowest ...
|
||||
// Find Highest ...
|
||||
double FindHighest(
|
||||
int mLength, // Loopback ...
|
||||
ENUM_SERIESMODE mMode // Calculation mode
|
||||
@@ -2544,6 +2544,29 @@ struct XOHCL
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Find Highest ...
|
||||
double FindHighestUp(
|
||||
int mLength // Loopback ...
|
||||
)
|
||||
{
|
||||
//
|
||||
double result = 0;
|
||||
|
||||
//
|
||||
if (!IsValid())
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
result = FindHighest(mLength, MODE_OPEN);
|
||||
result = MathMax(mLength, FindHighest(mLength, MODE_CLOSE));
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Find Lowest Bar Index ...
|
||||
int FindLowestIndex(
|
||||
@@ -2623,6 +2646,29 @@ struct XOHCL
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Find Lowest ...
|
||||
double FindLowesttDown(
|
||||
int mLength // Loopback ...
|
||||
)
|
||||
{
|
||||
//
|
||||
double result = 0;
|
||||
|
||||
//
|
||||
if (!IsValid())
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
result = FindLowest(mLength, MODE_OPEN);
|
||||
result = MathMax(mLength, FindLowest(mLength, MODE_CLOSE));
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Retrieve Bullish Pressure ...
|
||||
double GetBullishPressure(
|
||||
|
||||
@@ -2544,6 +2544,10 @@ class XCTickZone : public CObject
|
||||
public:
|
||||
//
|
||||
// Props ...
|
||||
string symbol;
|
||||
ENUM_TIMEFRAMES period;
|
||||
|
||||
//
|
||||
double high;
|
||||
double low;
|
||||
int ticks;
|
||||
@@ -2780,6 +2784,10 @@ class XCTicksZone : public XCTwoBarZone
|
||||
// Instance a New Zone ...
|
||||
XCTickZone *iZone = new XCTickZone();
|
||||
|
||||
//
|
||||
iZone.symbol = symbol;
|
||||
iZone.period = period;
|
||||
|
||||
//
|
||||
// Calculate Each Zones High / Low based on Range ...
|
||||
double iH = mRangeHigh - mRangeSize * i / Levels();
|
||||
|
||||
Reference in New Issue
Block a user