1262 lines
57 KiB
Plaintext
1262 lines
57 KiB
Plaintext
///////////////////////////////////////////////////////
|
|
//
|
|
// SaherElm IT Center MQL5 Strategy Parser Library
|
|
// ------------------------------------------------
|
|
// Name: XCHStartegyConditionsParser
|
|
// Description: provide all conditions parsing
|
|
// for XCH Strategy ...
|
|
//
|
|
//
|
|
// Maintainer:
|
|
// ------------
|
|
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
|
|
//
|
|
//////////////////////////////////////////////////////
|
|
//
|
|
// Global Properties ...
|
|
#property library
|
|
#property copyright "Copyright 2023, SaherElm IT Center"
|
|
#property link "https://www.saherelm.ir"
|
|
#property version "1.00"
|
|
#property strict
|
|
|
|
//
|
|
// Imports ...
|
|
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
|
|
|
|
//
|
|
// Conditions Parser ...
|
|
struct XCHStartegyAMarketsGBPUSD2021ShortConditionsParser
|
|
{
|
|
//
|
|
string _version;
|
|
|
|
//
|
|
bool IsFiltered(
|
|
XCHStrategyConditions &conditions //
|
|
)
|
|
{
|
|
//
|
|
bool result = false;
|
|
|
|
//
|
|
result =
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 0.0
|
|
// Bearish: 62.0
|
|
// ---------------
|
|
// Time: 2021.03.02 12:00:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isCloseCrossedUnderFib5 &&
|
|
conditions.pvConditions.isSCBearish &&
|
|
conditions.pvConditions.isSCHHBearish &&
|
|
conditions.pvConditions.isSCLLBearish &&
|
|
conditions.pvConditions.isSCSwitchedToBearish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isMCHHBearish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBearish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isMBearish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBearish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.hasBearishPower &&
|
|
conditions.chvwapConditions.isLBearish &&
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 3.0
|
|
// Bearish: 61.0
|
|
// ---------------
|
|
// Time: 2021.04.27 11:40:03
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isSCHHBearish &&
|
|
conditions.pvConditions.isSCSwitchedToBearish &&
|
|
conditions.pvConditions.isSCHHSwitchedToBearish &&
|
|
conditions.pvConditions.isMCLLBullish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isBullishPowerDecreasing &&
|
|
conditions.chmConditions.isBearishPowerIncreasing &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastOverSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isBearishPowerIncreasing &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBearish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isMBearish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBullish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.hasBearishPower &&
|
|
conditions.chvwapConditions.isMBearish &&
|
|
conditions.chvwapConditions.isLBearish &&
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 12.0
|
|
// Bearish: 61.0
|
|
// ---------------
|
|
// Time: 2021.06.15 00:10:21
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isNewVale &&
|
|
conditions.pvConditions.isNewValeUnderLast &&
|
|
conditions.pvConditions.isFiboDecreased &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isSCHHBullish &&
|
|
conditions.pvConditions.isSCLLBearish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isMCHHBullish &&
|
|
conditions.pvConditions.isMCLLBearish &&
|
|
conditions.pvConditions.isMCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isLCHHBullish &&
|
|
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
|
conditions.pvConditions.isLCLLBearish &&
|
|
conditions.pvConditions.isLCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isHCLLBearish &&
|
|
conditions.pvConditions.isHCSwitchedToBearish &&
|
|
conditions.pvConditions.isHCLLSwitchedToBeraish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isBearishPowerUp &&
|
|
conditions.chhkConditions.isCBullish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBearish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isMBullish &&
|
|
conditions.chtdConditions.isMSwitchedToBullish &&
|
|
conditions.chtdConditions.isLBullish &&
|
|
conditions.chtdConditions.isHBullish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isBearishPowerDecreasing &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isSStrongSwitchedToBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isBearishPowerUp &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isSBullish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isLSwitchedToBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
conditions.chstrConditions.isHSwitchedToBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBullish
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 20.0
|
|
// Bearish: 42.0
|
|
// ---------------
|
|
// Time: 2021.06.16 12:20:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseOverFib3 &&
|
|
conditions.pvConditions.isCloseOverFib4 &&
|
|
conditions.pvConditions.isCloseOverFib5 &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isSCHHBullish &&
|
|
conditions.pvConditions.isSCSwitchedToBullish &&
|
|
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
|
conditions.pvConditions.isMCHHBearish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isBullishPowerDecreasing &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedOverFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastOverSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastOverSlow &&
|
|
conditions.chmConditions.isClosedOverMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedOverLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedOverHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBullish &&
|
|
conditions.chhkConditions.isCloseOverMHigh &&
|
|
conditions.chhkConditions.isLBullish &&
|
|
conditions.chhkConditions.isCloseOverLHigh &&
|
|
conditions.chhkConditions.isHBullish &&
|
|
conditions.chhkConditions.isCloseOverHHigh &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isSBullish &&
|
|
conditions.chtdConditions.isMBullish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBearish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBullish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isMSwitchedToBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.isSBullish &&
|
|
conditions.chvwapConditions.isSSwitchedToBullish &&
|
|
conditions.chvwapConditions.isLBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 7.0
|
|
// Bearish: 60.0
|
|
// ---------------
|
|
// Time: 2021.07.02 14:40:01
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseOverFib5 &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseCrossedUnderFib4 &&
|
|
conditions.pvConditions.isSCBearish &&
|
|
conditions.pvConditions.isSCHHBearish &&
|
|
conditions.pvConditions.isSCLLBearish &&
|
|
conditions.pvConditions.isSCSwitchedToBearish &&
|
|
conditions.pvConditions.isSCHHSwitchedToBearish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isMCLLBullish &&
|
|
conditions.pvConditions.isMCSwitchedToBullish &&
|
|
conditions.pvConditions.isMCLLSwitchedToBullish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastOverSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isBearishPowerUp &&
|
|
conditions.chhkConditions.isCBullish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBearish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBullish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isMBearish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBearish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isSSwitchedToBearish &&
|
|
conditions.chcheConditions.isSStrongSwitchedToBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBullish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isCSwitchedToBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 3.0
|
|
// Bearish: 76.0
|
|
// ---------------
|
|
// Time: 2021.08.10 16:10:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isNewVale &&
|
|
conditions.pvConditions.isNewValeUnderLast &&
|
|
conditions.pvConditions.isFiboDecreased &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isSCLLBearish &&
|
|
conditions.pvConditions.isSCSwitchedToBearish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isMCLLBearish &&
|
|
conditions.pvConditions.isMCSwitchedToBearish &&
|
|
conditions.pvConditions.isMCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isLCLLBearish &&
|
|
conditions.pvConditions.isLCSwitchedToBearish &&
|
|
conditions.pvConditions.isLCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isHCBearish &&
|
|
conditions.pvConditions.isHCHHBearish &&
|
|
conditions.pvConditions.isHCLLBearish &&
|
|
conditions.pvConditions.isHCSwitchedToBearish &&
|
|
conditions.pvConditions.isHCHHSwitchedToBearish &&
|
|
conditions.pvConditions.isHCLLSwitchedToBeraish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isBullishPowerDecreasing &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
conditions.chmConditions.isSFastCrossedUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastOverSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBearish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isMBearish &&
|
|
conditions.chtdConditions.isMSwitchedToBearish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBearish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isBearishPowerDecreasing &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isLStrongSwitchedToBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
conditions.chcheConditions.isHStrongSwitchedToBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isCSwitchedToBearish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.hasBearishPower &&
|
|
conditions.chvwapConditions.isBearishPowerDecreasing &&
|
|
conditions.chvwapConditions.isLBearish &&
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 1.0
|
|
// Bearish: 63.0
|
|
// ---------------
|
|
// Time: 2021.08.11 10:20:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isNewVale &&
|
|
conditions.pvConditions.isNewValeUnderLast &&
|
|
conditions.pvConditions.isFiboDecreased &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isSCBearish &&
|
|
conditions.pvConditions.isSCHHBearish &&
|
|
conditions.pvConditions.isSCLLBearish &&
|
|
conditions.pvConditions.isMCLLBearish &&
|
|
conditions.pvConditions.isLCLLBearish &&
|
|
conditions.pvConditions.isHCLLBearish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isBearishPowerIncreasing &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBearish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isCSwitchedToBearish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isMBearish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBearish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isLSwitchedToBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isCSwitchedToBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBullish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 8.0
|
|
// Bearish: 57.0
|
|
// ---------------
|
|
// Time: 2021.09.27 02:05:03
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isSCBearish &&
|
|
conditions.pvConditions.isSCHHBearish &&
|
|
conditions.pvConditions.isSCLLBearish &&
|
|
conditions.pvConditions.isSCSwitchedToBearish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isMCLLBullish &&
|
|
conditions.pvConditions.isMCSwitchedToBullish &&
|
|
conditions.pvConditions.isMCLLSwitchedToBullish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isCFastCrossedUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastOverSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCSwitchedToBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isSSwitchedToBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBearish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isMBearish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBullish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isBearishPowerDecreasing &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isSBullish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBullish
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 1.0
|
|
// Bearish: 59.0
|
|
// ---------------
|
|
// Time: 2021.11.01 19:10:01
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isSCHHBearish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isBearishPowerIncreasing &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBearish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isMBearish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBearish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.hasBearishPower &&
|
|
conditions.chvwapConditions.isBearishPowerDecreasing &&
|
|
conditions.chvwapConditions.isMBearish &&
|
|
conditions.chvwapConditions.isLBearish &&
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 12.0
|
|
// Bearish: 44.0
|
|
// ---------------
|
|
// Time: 2021.11.03 09:55:02
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseOverFib5 &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isSCHHBullish &&
|
|
conditions.pvConditions.isSCSwitchedToBullish &&
|
|
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isBullishPowerDecreasing &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastOverSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBearish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isMBullish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBearish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isLBullish &&
|
|
conditions.chcheConditions.isLStrongBullish &&
|
|
conditions.chcheConditions.isHBullish &&
|
|
conditions.chcheConditions.isHStrongBullish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBullish &&
|
|
conditions.chstrConditions.isHBullish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBullish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 3.0
|
|
// Bearish: 61.0
|
|
// ---------------
|
|
// Time: 2021.12.20 18:35:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseOverFib3 &&
|
|
conditions.pvConditions.isCloseOverFib4 &&
|
|
conditions.pvConditions.isCloseOverFib5 &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseCrossedUnderFib2 &&
|
|
conditions.pvConditions.isSCLLBearish &&
|
|
conditions.pvConditions.isSCSwitchedToBearish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isLCHHBearish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastOverSlow &&
|
|
conditions.chmConditions.isClosedUnderSFast &&
|
|
conditions.chmConditions.isMFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderMFast &&
|
|
conditions.chmConditions.isLFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderLFast &&
|
|
conditions.chmConditions.isHFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderHFast &&
|
|
//
|
|
// XCHHK ...
|
|
//
|
|
conditions.chhkConditions.hasBearishPower &&
|
|
conditions.chhkConditions.isBearishPowerUp &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCSwitchedToBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBearish &&
|
|
conditions.chhkConditions.isSSwitchedToBearish &&
|
|
conditions.chhkConditions.isCloseUnderSLow &&
|
|
conditions.chhkConditions.isMBullish &&
|
|
conditions.chhkConditions.isCloseUnderMLow &&
|
|
conditions.chhkConditions.isLBearish &&
|
|
conditions.chhkConditions.isCloseUnderLLow &&
|
|
conditions.chhkConditions.isHBearish &&
|
|
conditions.chhkConditions.isCloseUnderHLow &&
|
|
//
|
|
// XCHTD ...
|
|
//
|
|
conditions.chtdConditions.hasBearishPower &&
|
|
conditions.chtdConditions.isCBearish &&
|
|
conditions.chtdConditions.isSBearish &&
|
|
conditions.chtdConditions.isSSwitchedToBearish &&
|
|
conditions.chtdConditions.isMBearish &&
|
|
conditions.chtdConditions.isLBearish &&
|
|
conditions.chtdConditions.isHBearish &&
|
|
//
|
|
// XCHCHE ...
|
|
//
|
|
conditions.chcheConditions.hasBearishPower &&
|
|
conditions.chcheConditions.isCBearish &&
|
|
conditions.chcheConditions.isCStrongBearish &&
|
|
conditions.chcheConditions.isSBearish &&
|
|
conditions.chcheConditions.isSStrongBearish &&
|
|
conditions.chcheConditions.isMBearish &&
|
|
conditions.chcheConditions.isMStrongBearish &&
|
|
conditions.chcheConditions.isLBearish &&
|
|
conditions.chcheConditions.isLStrongBearish &&
|
|
conditions.chcheConditions.isHBearish &&
|
|
conditions.chcheConditions.isHStrongBearish &&
|
|
//
|
|
// XCHSTR ...
|
|
//
|
|
conditions.chstrConditions.hasBearishPower &&
|
|
conditions.chstrConditions.isCBearish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBullish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isSSwitchedToBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.isHBearish &&
|
|
conditions.chvwapConditions.isHSwitchedToBearish
|
|
//
|
|
)
|
|
//
|
|
;
|
|
|
|
//
|
|
return result;
|
|
}
|
|
};
|
|
|
|
// |