apply Order Blocks Implementation ...

This commit is contained in:
2024-10-24 11:52:28 +03:30
parent f71d5b4e09
commit 9f0dad2697
2 changed files with 1043 additions and 80 deletions
@@ -44,6 +44,8 @@ enum ENUM_XCHARTOBJECTS
X_RESISTANCE_ZONE,
X_SUPPLY_ZONE,
X_DEMAND_ZONE,
X_BULLISH_ORDERBLOCK,
X_BEARISH_ORDERBLOCK,
};
enum ENUM_X_CHART_IDS
@@ -912,3 +914,71 @@ class XCDemandZoneObject : public XCZoneObject
};
//
// Bullish Order Block ...
class XCBullishOrderBlockObject : public XCZoneObject
{
//
public:
//
//
// Constructors ...
void XCBullishOrderBlockObject()
{
}
//
// Deconstructors ...
void ~XCBullishOrderBlockObject()
{
}
/**
* Retrieve Object Type ...
*
* @return ( ENUM_XCHARTOBJECTS )
*/
virtual ENUM_XCHARTOBJECTS Type()
{
return X_BULLISH_ORDERBLOCK;
}
//
};
//
// Bearish Order Block ...
class XCBearishOrderBlockObject : public XCZoneObject
{
//
public:
//
//
// Constructors ...
void XCBearishOrderBlockObject()
{
}
//
// Deconstructors ...
void ~XCBearishOrderBlockObject()
{
}
/**
* Retrieve Object Type ...
*
* @return ( ENUM_XCHARTOBJECTS )
*/
virtual ENUM_XCHARTOBJECTS Type()
{
return X_BEARISH_ORDERBLOCK;
}
//
};
//