Last ...
This commit is contained in:
@@ -121,6 +121,34 @@ struct X121SMCStrategyConditions
|
||||
Clean(bullishRejectionBars);
|
||||
}
|
||||
|
||||
void CleanDemand()
|
||||
{
|
||||
//
|
||||
demandZone.Clean();
|
||||
|
||||
//
|
||||
Clean(supports);
|
||||
Clean(swingLows);
|
||||
Clean(bullishFVGs);
|
||||
Clean(bullishOrderBlocks);
|
||||
Clean(bullishMomentumBars);
|
||||
Clean(bullishRejectionBars);
|
||||
}
|
||||
|
||||
void CleanSupply()
|
||||
{
|
||||
//
|
||||
supplyZone.Clean();
|
||||
|
||||
//
|
||||
Clean(swingHighs);
|
||||
Clean(resistances);
|
||||
Clean(bearishFVGs);
|
||||
Clean(bearishOrderBlocks);
|
||||
Clean(bearishMomentumBars);
|
||||
Clean(bearishRejectionBars);
|
||||
}
|
||||
|
||||
//
|
||||
// Validate ...
|
||||
bool IsValid()
|
||||
@@ -263,6 +291,63 @@ struct X121SMCStrategyConditions
|
||||
//
|
||||
};
|
||||
|
||||
//
|
||||
// Market Structure Models ...
|
||||
struct X121SMCMarketStructure
|
||||
{
|
||||
//
|
||||
XZone demandZone;
|
||||
XZone supplyZone;
|
||||
|
||||
//
|
||||
XZone demandZones[];
|
||||
XZone supplyZones[];
|
||||
|
||||
//
|
||||
XZone bearishOrderBlocks[];
|
||||
XZone bearishFVGs[];
|
||||
|
||||
//
|
||||
XOHCL swingHighs[];
|
||||
XOHCL resistances[];
|
||||
XOHCL bearishMomentumBars[];
|
||||
XOHCL bearishRejectionBars[];
|
||||
|
||||
//
|
||||
XZone bullishOrderBlocks[];
|
||||
XZone bullishFVGs[];
|
||||
|
||||
//
|
||||
XOHCL supports[];
|
||||
XOHCL swingLows[];
|
||||
XOHCL bullishMomentumBars[];
|
||||
XOHCL bullishRejectionBars[];
|
||||
|
||||
//
|
||||
void Clean()
|
||||
{
|
||||
//
|
||||
demandZone.Clean();
|
||||
supplyZone.Clean();
|
||||
|
||||
//
|
||||
Clean(supports);
|
||||
Clean(swingLows);
|
||||
Clean(swingHighs);
|
||||
Clean(demandZones);
|
||||
Clean(supplyZones);
|
||||
Clean(bearishFVGs);
|
||||
Clean(resistances);
|
||||
Clean(bullishFVGs);
|
||||
Clean(bearishOrderBlocks);
|
||||
Clean(bullishOrderBlocks);
|
||||
Clean(bearishMomentumBars);
|
||||
Clean(bearishRejectionBars);
|
||||
Clean(bullishMomentumBars);
|
||||
Clean(bullishRejectionBars);
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// On Signal Event Handler ...
|
||||
typedef void (*TOnX121SMCSignal)(
|
||||
|
||||
Reference in New Issue
Block a user