last ...
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user