last ...
This commit is contained in:
@@ -2668,3 +2668,65 @@ bool IsReject(
|
||||
// //
|
||||
// longSLBuffer[bar_index] = iLongSL;
|
||||
// shortSLBuffer[bar_index] = iShortSL;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
// Draw ...
|
||||
bool isBullish = signalZone.ob.IsBullish();
|
||||
bool isCreated = false;
|
||||
XCBaseObject *iObj = NULL;
|
||||
if (isBullish)
|
||||
{
|
||||
//
|
||||
XCBullishOrderBlockObject *mObj;
|
||||
isCreated = visionCycleHelper.mPOIDrawer
|
||||
.CreateBullishOrderBlock(
|
||||
signalZone.ob,
|
||||
mObj //
|
||||
);
|
||||
|
||||
//
|
||||
if (isCreated)
|
||||
{
|
||||
//
|
||||
mObj.ZoneWidth(2);
|
||||
mObj.ZoneColor(clrGold);
|
||||
mObj.ZoneStyle(STYLE_SOLID);
|
||||
|
||||
//
|
||||
iObj = (XCBaseObject *)mObj;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
XCBearishOrderBlockObject *mObj;
|
||||
isCreated = visionCycleHelper.mPOIDrawer
|
||||
.CreateBearishOrderBlock(
|
||||
signalZone.ob,
|
||||
mObj //
|
||||
);
|
||||
|
||||
//
|
||||
if (isCreated)
|
||||
{
|
||||
//
|
||||
mObj.ZoneWidth(2);
|
||||
mObj.ZoneColor(clrGold);
|
||||
mObj.ZoneStyle(STYLE_SOLID);
|
||||
|
||||
//
|
||||
iObj = (XCBaseObject *)mObj;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
if (isCreated)
|
||||
{
|
||||
mWorkingZoneObjects.Add(iObj);
|
||||
}
|
||||
|
||||
//
|
||||
Print("Signal Zone ...");
|
||||
|
||||
Reference in New Issue
Block a user