360 lines
6.3 KiB
Plaintext
360 lines
6.3 KiB
Plaintext
|
|
//
|
|
// XCC ...
|
|
|
|
//
|
|
// Buffers ...
|
|
|
|
//
|
|
// Conditions ...
|
|
|
|
//
|
|
// XPV ...
|
|
|
|
//
|
|
// Buffers ...
|
|
|
|
//
|
|
double sarBuffer[];
|
|
double cHHBuffer[];
|
|
double cLLBuffer[];
|
|
double sHHBuffer[];
|
|
double sLLBuffer[];
|
|
double mHHBuffer[];
|
|
double mLLBuffer[];
|
|
double lHHBuffer[];
|
|
double lLLBuffer[];
|
|
double hHHBuffer[];
|
|
double hLLBuffer[];
|
|
double peaksBuffer[];
|
|
double valesBuffer[];
|
|
double supportsBuffer[];
|
|
double peaksGoldenBuffer[];
|
|
double valesGoldenBuffer[];
|
|
double resistancesBuffer[];
|
|
double fractalsUpperBuffer[];
|
|
double fractalsLowerBuffer[];
|
|
|
|
//
|
|
// Conditions ...
|
|
|
|
//
|
|
bool isSarBullish;
|
|
bool isSarBearish;
|
|
|
|
//
|
|
bool isSarSwitchedToBullish;
|
|
bool isSarSwitchedToBearish;
|
|
|
|
//
|
|
bool isNewPeak;
|
|
bool isNewPeakOverLast;
|
|
bool isNewPeakUnderLast;
|
|
|
|
//
|
|
bool isNewVale;
|
|
bool isNewValeOverLast;
|
|
bool isNewValeUnderLast;
|
|
|
|
//
|
|
// XHK ...
|
|
|
|
//
|
|
// Buffers ...
|
|
|
|
//
|
|
double xhkSMLowBuffer[];
|
|
double xhkRawLowBuffer[];
|
|
double xhkSMOpenBuffer[];
|
|
double xhkSMHighBuffer[];
|
|
double xhkRawOpenBuffer[];
|
|
double xhkRawHighBuffer[];
|
|
double xhkSMCloseBuffer[];
|
|
double xhkRawCloseBuffer[];
|
|
|
|
//
|
|
// Conditions ...
|
|
|
|
//
|
|
bool isSMHKBullish;
|
|
bool isRawHKBullish;
|
|
bool isSMHKSwitchedToBullish;
|
|
bool isRawHKSwitchedToBullish;
|
|
|
|
//
|
|
bool isSMHKBearish;
|
|
bool isRawHKBearish;
|
|
bool isSMHKSwitchedToBearish;
|
|
bool isRawHKSwitchedToBearish;
|
|
|
|
//
|
|
bool isClosedOverSMHK;
|
|
bool isClosedUnderSMHK;
|
|
bool isClosedOverRawHK;
|
|
bool isClosedUnderRawHK;
|
|
|
|
//
|
|
bool isRawHKClosedOverSMHK;
|
|
bool isRawHKClosedUnderSMHK;
|
|
|
|
//
|
|
// XMAS ...
|
|
|
|
//
|
|
// Buffers ...
|
|
|
|
//
|
|
double midBuffer[];
|
|
double upperBuffer[];
|
|
double lowerBuffer[];
|
|
|
|
//
|
|
// Conditions ...
|
|
|
|
//
|
|
// XATR ...
|
|
|
|
//
|
|
// Buffers ...
|
|
|
|
//
|
|
double rsiBuffer[];
|
|
double atrBuffer[];
|
|
double atrUpperBuffer[];
|
|
double atrLowerBuffer[];
|
|
double atrUpperSMBuffer[];
|
|
double atrLowerSMBuffer[];
|
|
double rsiChangeBuffer[];
|
|
double rsiChangeSMBuffer[];
|
|
double priceChangeBuffer[];
|
|
double priceChangeSMBuffer[];
|
|
|
|
//
|
|
// Conditions ...
|
|
|
|
//
|
|
bool isRsiInRange;
|
|
bool isRsiOverSold;
|
|
bool isRsiOverBought;
|
|
bool isRsiCrossedOverOverSold;
|
|
bool isRsiCrossedUnderOverSold;
|
|
bool isRsiCrossedOverOverBought;
|
|
bool isRsiCrossedUnderOverBought;
|
|
|
|
//
|
|
bool isRsiSMOverPriceChange;
|
|
bool isRsiSMUnderPriceChange;
|
|
|
|
//
|
|
bool isRsiSMCrossedOverPriceChange;
|
|
bool isRsiSMCrossedUnderPriceChange;
|
|
|
|
//
|
|
bool isPriceChangeSMOverRsi;
|
|
bool isPriceChangeSMUnderRsi;
|
|
|
|
//
|
|
bool isPriceChangeSMCrossedOverRsi;
|
|
bool isPriceChangeSMCrossedUnderRsi;
|
|
|
|
//
|
|
bool isRsiOverRsiSM;
|
|
bool isRsiUnderRsiSM;
|
|
|
|
//
|
|
bool isRsiCrossedOverRsiSM;
|
|
bool isRsiCrossedUnderRsiSM;
|
|
|
|
//
|
|
bool isPriceChangeOverPriceChangeSM;
|
|
bool isPriceChangeUnderPriceChangeSM;
|
|
|
|
//
|
|
bool isPriceChangeCrossedOverPriceChangeSM;
|
|
bool isPriceChangeCrossedUnderPriceChangeSM;
|
|
|
|
//
|
|
// XSTR ...
|
|
|
|
//
|
|
// Buffers ...
|
|
|
|
//
|
|
double strBuffer[];
|
|
double strUpBuffer[];
|
|
double strDownBuffer[];
|
|
double strPriceBuffer[];
|
|
double strStateBuffer[];
|
|
|
|
//
|
|
// Conditions ...
|
|
|
|
//
|
|
bool isStrBullish;
|
|
bool isStrBearish;
|
|
|
|
//
|
|
bool isStrSwitchedToBullish;
|
|
bool isStrSwitchedToBearish;
|
|
|
|
//
|
|
// XCHE ...
|
|
|
|
//
|
|
// Buffers ...
|
|
|
|
//
|
|
double le1Buffer[];
|
|
double se1Buffer[];
|
|
double le2Buffer[];
|
|
double se2Buffer[];
|
|
double le1StartBuffer[];
|
|
double se1StartBuffer[];
|
|
double le2StartBuffer[];
|
|
double se2StartBuffer[];
|
|
|
|
//
|
|
// Conditions ...
|
|
|
|
//
|
|
bool isChe1Bullish;
|
|
bool isChe1Bearish;
|
|
|
|
//
|
|
bool isChe1SwitchedToBullish;
|
|
bool isChe1SwitchedToBearish;
|
|
|
|
//
|
|
bool isChe2Bullish;
|
|
bool isChe2Bearish;
|
|
|
|
//
|
|
bool isChe2SwitchedToBullish;
|
|
bool isChe2SwitchedToBearish;
|
|
|
|
//
|
|
bool isCheBullish;
|
|
bool isCheBearish;
|
|
|
|
//
|
|
bool isCheSwitchedToBullish;
|
|
bool isCheSwitchedToBearish;
|
|
|
|
//
|
|
// X3MA ...
|
|
|
|
//
|
|
// Buffers ...
|
|
|
|
//
|
|
double x3maMidBuffer[];
|
|
double x3maFastBuffer[];
|
|
double x3maSlowBuffer[];
|
|
double x3maMidStateBuffer[];
|
|
double x3maFastStateBuffer[];
|
|
double x3maSlowStateBuffer[];
|
|
|
|
//
|
|
// Conditions ...
|
|
|
|
//
|
|
bool isX3MaFastBullish;
|
|
bool isX3MaFastBearish;
|
|
bool isX3MaFastNeutural;
|
|
|
|
//
|
|
bool isX3MaMidBullish;
|
|
bool isX3MaMidBearish;
|
|
bool isX3MaMidNeutural;
|
|
|
|
//
|
|
bool isX3MaSlowBullish;
|
|
bool isX3MaSlowBearish;
|
|
bool isX3MaSlowNeutural;
|
|
|
|
//
|
|
bool isX3MaFastOverMid;
|
|
bool isX3MaMidOverSlow;
|
|
|
|
//
|
|
bool isX3MaFastUnderMid;
|
|
bool isX3MaMidUnderSlow;
|
|
|
|
//
|
|
bool isX3MaBullishState;
|
|
bool isX3MaBearishState;
|
|
bool isX3MaNeuturalState;
|
|
|
|
//
|
|
bool isX3MaBullishOrdered;
|
|
bool isX3MaBearishOrdered;
|
|
|
|
//
|
|
bool isX3MaSwitchedToBullishOrdered;
|
|
bool isX3MaSwitchedToBearishOrdered;
|
|
|
|
//
|
|
bool isX3MaSwitchedToBullishState;
|
|
bool isX3MaSwitchedToBearishState;
|
|
bool isX3MaSwitchedToNeuturalState;
|
|
|
|
//
|
|
// XVWAP ...
|
|
|
|
//
|
|
// Buffers ...
|
|
|
|
//
|
|
double vwapMidBuffer[];
|
|
double vwapFastBuffer[];
|
|
double vwapSlowBuffer[];
|
|
double vwapPriceBuffer[];
|
|
double vwapVolumeBuffer[];
|
|
double vwapMidStateBuffer[];
|
|
double vwapFastStateBuffer[];
|
|
double vwapSlowStateBuffer[];
|
|
|
|
//
|
|
// Conditions ...
|
|
|
|
//
|
|
bool isVWapFastBullish;
|
|
bool isVWapFastBearish;
|
|
bool isVWapFastNeutural;
|
|
|
|
//
|
|
bool isVWapMidBullish;
|
|
bool isVWapMidBearish;
|
|
bool isVWapMidNeutural;
|
|
|
|
//
|
|
bool isVWapSlowBullish;
|
|
bool isVWapSlowBearish;
|
|
bool isVWapSlowNeutural;
|
|
|
|
//
|
|
bool isVWapFastOverMid;
|
|
bool isVWapMidOverSlow;
|
|
|
|
//
|
|
bool isVWapFastUnderMid;
|
|
bool isVWapMidUnderSlow;
|
|
|
|
//
|
|
bool isVWapBullishState;
|
|
bool isVWapBearishState;
|
|
bool isVWapNeuturalState;
|
|
|
|
//
|
|
bool isVWapBullishOrdered;
|
|
bool isVWapBearishOrdered;
|
|
|
|
//
|
|
bool isVWapSwitchedToBullishOrdered;
|
|
bool isVWapSwitchedToBearishOrdered;
|
|
|
|
//
|
|
bool isVWapSwitchedToBullishState;
|
|
bool isVWapSwitchedToBearishState;
|
|
bool isVWapSwitchedToNeuturalState;
|