complete rms tools ea ...
This commit is contained in:
@@ -792,22 +792,22 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
|
||||
//
|
||||
// XPV ...
|
||||
x121Inputs.xpvInputs.showSar = showAll || false;
|
||||
x121Inputs.xpvInputs.showPeaks = showAll || false;
|
||||
x121Inputs.xpvInputs.showVales = showAll || false;
|
||||
x121Inputs.xpvInputs.showGoldenZones = showAll || false;
|
||||
x121Inputs.xpvInputs.showSar = showAll || true;
|
||||
x121Inputs.xpvInputs.showPeaks = showAll || true;
|
||||
x121Inputs.xpvInputs.showVales = showAll || true;
|
||||
x121Inputs.xpvInputs.showGoldenZones = showAll || true;
|
||||
|
||||
//
|
||||
// XHK ...
|
||||
|
||||
//
|
||||
x121Inputs.xhkInputs.drawRawXHKCandles = showAll || false;
|
||||
x121Inputs.xhkInputs.drawSmoothedXHKCandles = showAll || false;
|
||||
x121Inputs.xhkInputs.drawSmoothedXHKCandles = showAll || true;
|
||||
|
||||
//
|
||||
// XATR ...
|
||||
x121Inputs.xatrInputs.showATRUpper = showAll || true;
|
||||
x121Inputs.xatrInputs.showATRLower = showAll || true;
|
||||
x121Inputs.xatrInputs.showATRUpper = showAll || false;
|
||||
x121Inputs.xatrInputs.showATRLower = showAll || false;
|
||||
|
||||
//
|
||||
// XSTR ...
|
||||
@@ -850,69 +850,12 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
//
|
||||
int requiredPOIS = MaxAllowedRequiredPOIs();
|
||||
|
||||
//
|
||||
// Decision Cycle ...
|
||||
mDecisionCycleHelper = new XC121SMCCycleHelper();
|
||||
isInited = mDecisionCycleHelper.Init(
|
||||
symbol,
|
||||
PERIOD_M1,
|
||||
x121Inputs,
|
||||
requiredPOIS //
|
||||
);
|
||||
if (isInited)
|
||||
{
|
||||
//
|
||||
// Configure POI Drawer ...
|
||||
color bullishColor = clrDodgerBlue;
|
||||
color bearishColor = clrSienna;
|
||||
|
||||
//
|
||||
// Bars ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BarBullishColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BarBearishColor(bearishColor);
|
||||
|
||||
//
|
||||
// Swings ...
|
||||
mDecisionCycleHelper.mPOIDrawer.SwingLowColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.SwingHighColor(bearishColor);
|
||||
|
||||
//
|
||||
// Momentum ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BullishMomentumBarColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BearishMomentumBarColor(bearishColor);
|
||||
|
||||
//
|
||||
// Rejection ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BullishRejectionBarColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BearishRejectionBarColor(bearishColor);
|
||||
|
||||
//
|
||||
// Support and Resistance ...
|
||||
mDecisionCycleHelper.mPOIDrawer.SupportZoneColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.ResistanceZoneColor(bearishColor);
|
||||
|
||||
//
|
||||
// Demand and Supply ...
|
||||
mDecisionCycleHelper.mPOIDrawer.DemandZoneColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.SupplyZoneColor(bearishColor);
|
||||
|
||||
//
|
||||
// Order Blocks ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BullishOrderBlockColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BearishOrderBlockColor(bearishColor);
|
||||
|
||||
//
|
||||
// Fair Value Gaps ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BullishFVGColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BearishFVGColor(bearishColor);
|
||||
}
|
||||
|
||||
//
|
||||
// Trigger Cycle ...
|
||||
mTriggerCycleHelper = new XC121SMCCycleHelper();
|
||||
isInited = mTriggerCycleHelper.Init(
|
||||
symbol,
|
||||
PERIOD_M5,
|
||||
PERIOD_M1,
|
||||
x121Inputs,
|
||||
requiredPOIS //
|
||||
);
|
||||
@@ -964,6 +907,63 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
|
||||
mTriggerCycleHelper.mPOIDrawer.BearishFVGColor(bearishColor);
|
||||
}
|
||||
|
||||
//
|
||||
// Decision Cycle ...
|
||||
mDecisionCycleHelper = new XC121SMCCycleHelper();
|
||||
isInited = mDecisionCycleHelper.Init(
|
||||
symbol,
|
||||
PERIOD_M5,
|
||||
x121Inputs,
|
||||
requiredPOIS //
|
||||
);
|
||||
if (isInited)
|
||||
{
|
||||
//
|
||||
// Configure POI Drawer ...
|
||||
color bullishColor = clrDodgerBlue;
|
||||
color bearishColor = clrSienna;
|
||||
|
||||
//
|
||||
// Bars ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BarBullishColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BarBearishColor(bearishColor);
|
||||
|
||||
//
|
||||
// Swings ...
|
||||
mDecisionCycleHelper.mPOIDrawer.SwingLowColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.SwingHighColor(bearishColor);
|
||||
|
||||
//
|
||||
// Momentum ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BullishMomentumBarColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BearishMomentumBarColor(bearishColor);
|
||||
|
||||
//
|
||||
// Rejection ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BullishRejectionBarColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BearishRejectionBarColor(bearishColor);
|
||||
|
||||
//
|
||||
// Support and Resistance ...
|
||||
mDecisionCycleHelper.mPOIDrawer.SupportZoneColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.ResistanceZoneColor(bearishColor);
|
||||
|
||||
//
|
||||
// Demand and Supply ...
|
||||
mDecisionCycleHelper.mPOIDrawer.DemandZoneColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.SupplyZoneColor(bearishColor);
|
||||
|
||||
//
|
||||
// Order Blocks ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BullishOrderBlockColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BearishOrderBlockColor(bearishColor);
|
||||
|
||||
//
|
||||
// Fair Value Gaps ...
|
||||
mDecisionCycleHelper.mPOIDrawer.BullishFVGColor(bullishColor);
|
||||
mDecisionCycleHelper.mPOIDrawer.BearishFVGColor(bearishColor);
|
||||
}
|
||||
|
||||
//
|
||||
// Analyse Cycle ...
|
||||
mAnalyseCycleHelper = new XC121SMCCycleHelper();
|
||||
|
||||
Reference in New Issue
Block a user