last ...
This commit is contained in:
@@ -804,10 +804,21 @@ struct X121SMCCycleState
|
||||
//
|
||||
};
|
||||
|
||||
/**
|
||||
* Detect Price inside Box ...
|
||||
*
|
||||
* @param box: XBoxZone instance Reference, Founded Price Inside Box ...
|
||||
* @param orderBlock: XCOrderBlock pointer Reference, Founded Price Inside Order Block ...
|
||||
* @param xConditions: X121Conditions instance Reference, provides Market Conditions ...
|
||||
* @param state: X121SMCCycleState instance Reference ...
|
||||
*
|
||||
* @return ( bool )
|
||||
*/
|
||||
bool DetectPriceInsideBox(
|
||||
XBoxZone &box,
|
||||
X121Conditions &xConditions,
|
||||
X121SMCCycleState &state //
|
||||
XBoxZone &box, // Price Inside Bo ...
|
||||
XCOrderBlock *&orderBlock, // Price Inside Order Block ...
|
||||
X121Conditions &xConditions, // X121Conditions for Validation ...
|
||||
X121SMCCycleState &state // Cycle State ...
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -912,6 +923,12 @@ bool DetectPriceInsideBox(
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
if (hasPriceInsideOB)
|
||||
{
|
||||
orderBlock = priceInsideOB;
|
||||
}
|
||||
|
||||
//
|
||||
bool hasBullishFVGs = state.HasBullishFVGs();
|
||||
bool hasBearishFVGs = state.HasBearishFVGs();
|
||||
|
||||
Reference in New Issue
Block a user