This commit is contained in:
2024-12-13 04:19:15 +03:30
parent ba69ff18c4
commit f145ef989c
4 changed files with 371 additions and 10 deletions
+28 -2
View File
@@ -1323,6 +1323,32 @@ class XCSwing : public XCBasePOI
return result;
}
/**
* Get Swing Value ...
*
* @return ( double )
*/
double GetValue()
{
//
double result = 0;
//
if (!IsValid())
{
return result;
}
//
result =
IsSwingHigh()
? mBar.high
: mBar.low;
//
return result;
}
//
// Overrides ...
@@ -4056,11 +4082,11 @@ struct XValueChange
/**
* Fill Change Bar ...
*
*
* @param bar: XOHCL instance Reference, holds Change Bar ...
* @param _symbol: String, Specified Symbol ...
* @param _period: ENUM_TIMEFRAMES _period member, Specified Period ...
*
*
* @return ( bool )
*/
bool FillBar(