1447 lines
65 KiB
Plaintext
1447 lines
65 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 XCHStartegyAMarketsGBPUSD2018ShortConditionsParser
|
|
{
|
|
//
|
|
string _version;
|
|
|
|
//
|
|
bool IsFiltered(
|
|
XCHStrategyConditions &conditions //
|
|
)
|
|
{
|
|
//
|
|
bool result = false;
|
|
|
|
//
|
|
result =
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 1.0
|
|
// Bearish: 65.0
|
|
// ---------------
|
|
// Time: 2018.03.01 20:35:00
|
|
// ---------------
|
|
//
|
|
// 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.isHCHHBearish &&
|
|
conditions.pvConditions.isHCSwitchedToBearish &&
|
|
conditions.pvConditions.isHCHHSwitchedToBearish &&
|
|
//
|
|
// 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.isCSwitchedToBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isSSwitchedToBearish &&
|
|
conditions.chvlmConditions.isMBullish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.hasBearishPower &&
|
|
conditions.chvwapConditions.isMBearish &&
|
|
conditions.chvwapConditions.isLBearish &&
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 10.0
|
|
// Bearish: 60.0
|
|
// ---------------
|
|
// Time: 2018.03.02 19:45:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isSCBullish &&
|
|
conditions.pvConditions.isSCHHBullish &&
|
|
conditions.pvConditions.isSCLLBullish &&
|
|
conditions.pvConditions.isSCSwitchedToBullish &&
|
|
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
|
conditions.pvConditions.isMCHHBearish &&
|
|
conditions.pvConditions.isMCSwitchedToBearish &&
|
|
conditions.pvConditions.isMCHHSwitchedToBearish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isBullishPowerDecreasing &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
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.isLBearish &&
|
|
conditions.chtdConditions.isLSwitchedToBearish &&
|
|
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.isSBullish &&
|
|
conditions.chvwapConditions.isSSwitchedToBullish &&
|
|
conditions.chvwapConditions.isLBearish &&
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 0.0
|
|
// Bearish: 64.0
|
|
// ---------------
|
|
// Time: 2018.04.27 20:15:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseOverFib4 &&
|
|
conditions.pvConditions.isCloseOverFib5 &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isSCHHBearish &&
|
|
conditions.pvConditions.isSCSwitchedToBearish &&
|
|
conditions.pvConditions.isSCHHSwitchedToBearish &&
|
|
//
|
|
// 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.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.isBearishPowerIncreasing &&
|
|
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.isBearishPowerIncreasing &&
|
|
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: 6.0
|
|
// Bearish: 53.0
|
|
// ---------------
|
|
// Time: 2018.05.17 17:10:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isSCHHBullish &&
|
|
conditions.pvConditions.isMCHHBearish &&
|
|
//
|
|
// 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.isBearishPowerDecreasing &&
|
|
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.isSBullish &&
|
|
conditions.chtdConditions.isMBearish &&
|
|
conditions.chtdConditions.isLBullish &&
|
|
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.isCSwitchedToBearish &&
|
|
conditions.chvlmConditions.isSBullish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBullish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.isLBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 9.0
|
|
// Bearish: 57.0
|
|
// ---------------
|
|
// Time: 2018.05.21 19:50:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseOverFib5 &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isSCBullish &&
|
|
conditions.pvConditions.isSCHHBullish &&
|
|
conditions.pvConditions.isSCLLBullish &&
|
|
conditions.pvConditions.isSCSwitchedToBullish &&
|
|
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
|
conditions.pvConditions.isLCHHBearish &&
|
|
//
|
|
// 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.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.isSBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isBearishPowerDecreasing &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBullish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.hasBearishPower &&
|
|
conditions.chvwapConditions.isLBearish &&
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 0.0
|
|
// Bearish: 69.0
|
|
// ---------------
|
|
// Time: 2018.05.29 00:15: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.isSCSwitchedToBearish &&
|
|
conditions.pvConditions.isSCHHSwitchedToBearish &&
|
|
conditions.pvConditions.isMCLLBearish &&
|
|
conditions.pvConditions.isLCLLBearish &&
|
|
conditions.pvConditions.isHCLLBearish &&
|
|
//
|
|
// 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.isBearishPowerUp &&
|
|
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.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: 2.0
|
|
// Bearish: 59.0
|
|
// ---------------
|
|
// Time: 2018.05.30 21:35:00
|
|
// ---------------
|
|
//
|
|
// 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.isBullishPowerDecreasing &&
|
|
conditions.chmConditions.isBearishPowerIncreasing &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderCFast &&
|
|
conditions.chmConditions.isSFastUnderSlow &&
|
|
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.isLSwitchedToBearish &&
|
|
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.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: 2.0
|
|
// Bearish: 57.0
|
|
// ---------------
|
|
// Time: 2018.06.20 11:45:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isCloseCrossedUnderFib4 &&
|
|
conditions.pvConditions.isCloseCrossedUnderFib5 &&
|
|
conditions.pvConditions.isSCHHBullish &&
|
|
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
|
conditions.pvConditions.isSCLLBearish &&
|
|
//
|
|
// 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.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.isSSwitchedToBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBearish &&
|
|
conditions.chstrConditions.isLSwitchedToBearish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 3.0
|
|
// Bearish: 54.0
|
|
// ---------------
|
|
// Time: 2018.07.30 00:50:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isCloseCrossedUnderFib5 &&
|
|
conditions.pvConditions.isSCLLBullish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
|
conditions.pvConditions.isSCHHBearish &&
|
|
//
|
|
// 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.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.isCBearish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isSSwitchedToBearish &&
|
|
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 ...
|
|
//
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 2.0
|
|
// Bearish: 59.0
|
|
// ---------------
|
|
// Time: 2018.07.30 04:25:01
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isCloseCrossedUnderFib5 &&
|
|
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.isMBullish &&
|
|
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.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.isSSwitchedToBearish &&
|
|
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: 6.0
|
|
// Bearish: 55.0
|
|
// ---------------
|
|
// Time: 2018.08.01 11:05:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseOverFib3 &&
|
|
conditions.pvConditions.isCloseOverFib4 &&
|
|
conditions.pvConditions.isCloseOverFib5 &&
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isSCHHBearish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isBullishPowerDecreasing &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isClosedUnderFast &&
|
|
conditions.chmConditions.isCFastOverSlow &&
|
|
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.isBullishPowerDecreasing &&
|
|
conditions.chhkConditions.isBearishPowerIncreasing &&
|
|
conditions.chhkConditions.isCBearish &&
|
|
conditions.chhkConditions.isCloseUnderCLow &&
|
|
conditions.chhkConditions.isSBullish &&
|
|
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.isSBullish &&
|
|
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.isBearishPowerUp &&
|
|
conditions.chstrConditions.isCBullish &&
|
|
conditions.chstrConditions.isSBearish &&
|
|
conditions.chstrConditions.isMBearish &&
|
|
conditions.chstrConditions.isLBullish &&
|
|
conditions.chstrConditions.isHBearish &&
|
|
conditions.chstrConditions.isHSwitchedToBearish &&
|
|
//
|
|
// XCHVLM ...
|
|
//
|
|
conditions.chvlmConditions.hasBearishPower &&
|
|
conditions.chvlmConditions.isCBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBearish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.isMBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 9.0
|
|
// Bearish: 53.0
|
|
// ---------------
|
|
// Time: 2018.08.01 19:15:00
|
|
// ---------------
|
|
//
|
|
// 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.isSFastUnderSlow &&
|
|
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.isMBullish &&
|
|
conditions.chtdConditions.isMSwitchedToBullish &&
|
|
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.isCSwitchedToBearish &&
|
|
conditions.chvlmConditions.isSBearish &&
|
|
conditions.chvlmConditions.isMBullish &&
|
|
conditions.chvlmConditions.isLBearish &&
|
|
conditions.chvlmConditions.isHBearish &&
|
|
//
|
|
// XCHVWAP ...
|
|
//
|
|
conditions.chvwapConditions.isSBullish &&
|
|
conditions.chvwapConditions.isSSwitchedToBullish &&
|
|
conditions.chvwapConditions.isHBearish
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
(
|
|
// Symbol: GBPUSDb
|
|
// ---------------
|
|
// Scores:
|
|
// ---------------
|
|
// Bullish: 3.0
|
|
// Bearish: 59.0
|
|
// ---------------
|
|
// Time: 2018.12.21 17:10:00
|
|
// ---------------
|
|
//
|
|
// XPV ...
|
|
//
|
|
conditions.pvConditions.isCloseUnderFib1 &&
|
|
conditions.pvConditions.isCloseUnderFib2 &&
|
|
conditions.pvConditions.isCloseUnderFib3 &&
|
|
conditions.pvConditions.isCloseUnderFib4 &&
|
|
conditions.pvConditions.isCloseUnderFib5 &&
|
|
conditions.pvConditions.isCloseCrossedUnderFib5 &&
|
|
conditions.pvConditions.isSCHHBullish &&
|
|
conditions.pvConditions.isSCLLBearish &&
|
|
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
|
conditions.pvConditions.isMCHHBearish &&
|
|
//
|
|
// XCHM ...
|
|
//
|
|
conditions.chmConditions.hasBearishPower &&
|
|
conditions.chmConditions.isBearishPowerUp &&
|
|
conditions.chmConditions.isBullishPowerDecreasing &&
|
|
conditions.chmConditions.isFastUnderSlow &&
|
|
conditions.chmConditions.isFastCrossedUnderSlow &&
|
|
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.isHFastOverSlow &&
|
|
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 &&
|
|
conditions.chtdConditions.isHSwitchedToBearish &&
|
|
//
|
|
// 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.isHBearish
|
|
//
|
|
)
|
|
//
|
|
;
|
|
|
|
//
|
|
return result;
|
|
}
|
|
};
|
|
|
|
// |