Cleaning Up WorkSpace for Start Merging Strategies ...
This commit is contained in:
Binary file not shown.
-1593
File diff suppressed because it is too large
Load Diff
-2195
File diff suppressed because it is too large
Load Diff
-3076
File diff suppressed because it is too large
Load Diff
-3627
File diff suppressed because it is too large
Load Diff
-2738
File diff suppressed because it is too large
Load Diff
-3587
File diff suppressed because it is too large
Load Diff
-2939
File diff suppressed because it is too large
Load Diff
-3777
File diff suppressed because it is too large
Load Diff
-2717
File diff suppressed because it is too large
Load Diff
-2420
File diff suppressed because it is too large
Load Diff
-3924
File diff suppressed because it is too large
Load Diff
-2221
File diff suppressed because it is too large
Load Diff
-2055
File diff suppressed because it is too large
Load Diff
-2912
File diff suppressed because it is too large
Load Diff
-3111
File diff suppressed because it is too large
Load Diff
-3474
File diff suppressed because it is too large
Load Diff
-3704
File diff suppressed because it is too large
Load Diff
-1955
File diff suppressed because it is too large
Load Diff
-3980
File diff suppressed because it is too large
Load Diff
-2592
File diff suppressed because it is too large
Load Diff
-3859
File diff suppressed because it is too large
Load Diff
-2947
File diff suppressed because it is too large
Load Diff
-5144
File diff suppressed because it is too large
Load Diff
-2656
File diff suppressed because it is too large
Load Diff
-2127
File diff suppressed because it is too large
Load Diff
-2026
File diff suppressed because it is too large
Load Diff
-3251
File diff suppressed because it is too large
Load Diff
-2731
File diff suppressed because it is too large
Load Diff
-5992
File diff suppressed because it is too large
Load Diff
-4460
File diff suppressed because it is too large
Load Diff
-10270
File diff suppressed because it is too large
Load Diff
-8689
File diff suppressed because it is too large
Load Diff
@@ -1,141 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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"
|
||||
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.amarkets.audusd.olds.long.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.amarkets.audusd.2018.long.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.audusd.2019.long.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.amarkets.audusd.2020.long.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.amarkets.audusd.2021.long.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.amarkets.audusd.2022.long.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.amarkets.audusd.2023.long.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.audusd.2024.long.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHStartegyAMarketsAUDUSDLongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHStartegyAMarketsAUDUSDOldsLongConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsAUDUSD2018LongConditionsParser _2018Parser;
|
||||
XCHStartegyAMarketsAUDUSD2019LongConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsAUDUSD2020LongConditionsParser _2020Parser;
|
||||
XCHStartegyAMarketsAUDUSD2021LongConditionsParser _2021Parser;
|
||||
XCHStartegyAMarketsAUDUSD2022LongConditionsParser _2022Parser;
|
||||
XCHStartegyAMarketsAUDUSD2023LongConditionsParser _2023Parser;
|
||||
XCHStartegyAMarketsAUDUSD2024LongConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XSignal &signal,
|
||||
XCHStrategyConditions &conditions,
|
||||
bool force = true //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
if (!force)
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_oldsParser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-141
@@ -1,141 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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"
|
||||
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.amarkets.audusd.olds.short.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.amarkets.audusd.2018.short.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.audusd.2019.short.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.amarkets.audusd.2020.short.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.amarkets.audusd.2021.short.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.amarkets.audusd.2022.short.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.amarkets.audusd.2023.short.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.audusd.2024.short.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHStartegyAMarketsAUDUSDShortConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHStartegyAMarketsAUDUSDOldsShortConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsAUDUSD2018ShortConditionsParser _2018Parser;
|
||||
XCHStartegyAMarketsAUDUSD2019ShortConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsAUDUSD2020ShortConditionsParser _2020Parser;
|
||||
XCHStartegyAMarketsAUDUSD2021ShortConditionsParser _2021Parser;
|
||||
XCHStartegyAMarketsAUDUSD2022ShortConditionsParser _2022Parser;
|
||||
XCHStartegyAMarketsAUDUSD2023ShortConditionsParser _2023Parser;
|
||||
XCHStartegyAMarketsAUDUSD2024ShortConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XSignal &signal,
|
||||
XCHStrategyConditions &conditions,
|
||||
bool force = true //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
if (!force)
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_oldsParser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-141
@@ -1,141 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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.che.strategy.mq5"
|
||||
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.che.amarkets.audusd.olds.long.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.che.amarkets.audusd.2018.long.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.che.amarkets.audusd.2019.long.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.che.amarkets.audusd.2020.long.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.che.amarkets.audusd.2021.long.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.che.amarkets.audusd.2022.long.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.che.amarkets.audusd.2023.long.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.che.amarkets.audusd.2024.long.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHCHEStartegyAMarketsAUDUSDLongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHCHEStartegyAMarketsAUDUSDOldsLongConditionsParser _oldsParser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2018LongConditionsParser _2018Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2019LongConditionsParser _2019Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2020LongConditionsParser _2020Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2021LongConditionsParser _2021Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2022LongConditionsParser _2022Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2023LongConditionsParser _2023Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2024LongConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XSignal &signal,
|
||||
XCHStrategyConditions &conditions,
|
||||
bool force = true //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
if (!force)
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_oldsParser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-139
@@ -1,139 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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.che.strategy.mq5"
|
||||
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.che.amarkets.audusd.olds.short.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.che.amarkets.audusd.2018.short.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.che.amarkets.audusd.2019.short.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.che.amarkets.audusd.2020.short.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.che.amarkets.audusd.2021.short.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.che.amarkets.audusd.2022.short.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.che.amarkets.audusd.2023.short.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.che.amarkets.audusd.2024.short.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHCHEStartegyAMarketsAUDUSDShortConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHCHEStartegyAMarketsAUDUSDOldsShortConditionsParser _oldsParser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2018ShortConditionsParser _2018Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2019ShortConditionsParser _2019Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2020ShortConditionsParser _2020Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2021ShortConditionsParser _2021Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2022ShortConditionsParser _2022Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2023ShortConditionsParser _2023Parser;
|
||||
XCHCHEStartegyAMarketsAUDUSD2024ShortConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XSignal &signal,
|
||||
XCHStrategyConditions &conditions,
|
||||
bool force = true //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
if (!force)
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_oldsParser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-1598
File diff suppressed because it is too large
Load Diff
-1711
File diff suppressed because it is too large
Load Diff
-1523
File diff suppressed because it is too large
Load Diff
-2289
File diff suppressed because it is too large
Load Diff
-2394
File diff suppressed because it is too large
Load Diff
-2809
File diff suppressed because it is too large
Load Diff
-619
@@ -1,619 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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.che.strategy.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHCHEStartegyAMarketsBRENT2019LongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XCHStrategyConditions &conditions //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 70.0
|
||||
// Bearish: 2.0
|
||||
// ---------------
|
||||
// Time: 2019.04.24 21:20:01
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isCloseCrossedOverFib1 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBearish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCSwitchedToBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isSStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isLStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
conditions.chcheConditions.isHStrongSwitchedToBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isSSwitchedToBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 71.0
|
||||
// Bearish: 8.0
|
||||
// ---------------
|
||||
// Time: 2019.11.05 21:15:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseCrossedOverFib2 &&
|
||||
conditions.pvConditions.isCloseCrossedOverFib3 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBearish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBearishPowerDecreasing &&
|
||||
conditions.chcheConditions.isCBearish &&
|
||||
conditions.chcheConditions.isCStrongBearish &&
|
||||
conditions.chcheConditions.isSBearish &&
|
||||
conditions.chcheConditions.isSStrongBearish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isMStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
conditions.chcheConditions.isHStrongSwitchedToBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isBullishPowerUp &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBearish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isMSwitchedToBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isLSwitchedToBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
conditions.chstrConditions.isHSwitchedToBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isCSwitchedToBullish &&
|
||||
conditions.chvlmConditions.isSBearish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBearish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenCrossedOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isCSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 67.0
|
||||
// Bearish: 1.0
|
||||
// ---------------
|
||||
// Time: 2019.11.22 16:05:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isBullishPowerUp &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBearish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
conditions.chvlmConditions.isHSwitchedToBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isSSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isLSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 60.0
|
||||
// Bearish: 4.0
|
||||
// ---------------
|
||||
// Time: 2019.11.29 08:45:46
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerIncreasing &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isMSwitchedToBullish &&
|
||||
conditions.chcheConditions.isMStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isLBearish &&
|
||||
conditions.chcheConditions.isLStrongBearish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHSwitchedToBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isBullishPowerIncreasing &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBearish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isSSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenUnderKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
||||
//
|
||||
)
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-2529
File diff suppressed because it is too large
Load Diff
-2254
File diff suppressed because it is too large
Load Diff
-2370
File diff suppressed because it is too large
Load Diff
-905
@@ -1,905 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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.che.strategy.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHCHEStartegyAMarketsBRENT2020LongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XCHStrategyConditions &conditions //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 73.0
|
||||
// Bearish: 1.0
|
||||
// ---------------
|
||||
// Time: 2020.02.18 21:30:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
conditions.pvConditions.isHCSwitchedToBullish &&
|
||||
conditions.pvConditions.isHCHHSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBearish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 75.0
|
||||
// Bearish: 6.0
|
||||
// ---------------
|
||||
// Time: 2020.05.21 22:25:03
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakUnderLast &&
|
||||
conditions.pvConditions.isFiboDecreased &&
|
||||
conditions.pvConditions.isFiboSectionChanged &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isCloseCrossedOverFib1 &&
|
||||
conditions.pvConditions.isCloseCrossedOverFib2 &&
|
||||
conditions.pvConditions.isCloseCrossedOverFib3 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCLLSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isLCLLBullish &&
|
||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCLLSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isMSwitchedToBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBearish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCSwitchedToBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isMStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isBullishPowerUp &&
|
||||
conditions.chstrConditions.isCBearish &&
|
||||
conditions.chstrConditions.isSBearish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isMSwitchedToBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isLSwitchedToBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
conditions.chstrConditions.isHSwitchedToBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isBullishPowerUp &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBearish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isCSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isSSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isMClosedUnderKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedUnderKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 50.0
|
||||
// Bearish: 9.0
|
||||
// ---------------
|
||||
// Time: 2020.05.21 05:35:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCHHBearish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCSwitchedToBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBearish &&
|
||||
conditions.chtdConditions.isSBearish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerDecreasing &&
|
||||
conditions.chcheConditions.isCBearish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBearish &&
|
||||
conditions.chvlmConditions.isSBearish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenUnderKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isLSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 66.0
|
||||
// Bearish: 6.0
|
||||
// ---------------
|
||||
// Time: 2020.06.22 04:20:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCHHBearish &&
|
||||
conditions.pvConditions.isMCSwitchedToBearish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBearish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBearish &&
|
||||
conditions.chtdConditions.isMBearish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerUp &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isMSwitchedToBullish &&
|
||||
conditions.chcheConditions.isMStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isLSwitchedToBullish &&
|
||||
conditions.chcheConditions.isLStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBearish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isSBullish &&
|
||||
conditions.chvwapConditions.isSSwitchedToBullish &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isMSwitchedToBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenUnderKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 64.0
|
||||
// Bearish: 5.0
|
||||
// ---------------
|
||||
// Time: 2020.07.21 21:20:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseUnderFib2 &&
|
||||
conditions.pvConditions.isCloseCrossedOverFib3 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isSSwitchedToBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBearish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCSwitchedToBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSSwitchedToBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
conditions.chcheConditions.isHStrongSwitchedToBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBearish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBearish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isLSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 67.0
|
||||
// Bearish: 0.0
|
||||
// ---------------
|
||||
// Time: 2020.09.17 17:10:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isCSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
||||
//
|
||||
)
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-1625
File diff suppressed because it is too large
Load Diff
-1378
File diff suppressed because it is too large
Load Diff
-2435
File diff suppressed because it is too large
Load Diff
-1790
File diff suppressed because it is too large
Load Diff
-1798
File diff suppressed because it is too large
Load Diff
-1819
File diff suppressed because it is too large
Load Diff
-3635
File diff suppressed because it is too large
Load Diff
-2310
File diff suppressed because it is too large
Load Diff
-2118
File diff suppressed because it is too large
Load Diff
-1939
File diff suppressed because it is too large
Load Diff
-1040
File diff suppressed because it is too large
Load Diff
-2228
File diff suppressed because it is too large
Load Diff
-2170
File diff suppressed because it is too large
Load Diff
-2165
File diff suppressed because it is too large
Load Diff
-1396
File diff suppressed because it is too large
Load Diff
-911
@@ -1,911 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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.che.strategy.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHCHEStartegyAMarketsBRENT2024LongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XCHStrategyConditions &conditions //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 71.0
|
||||
// Bearish: 0.0
|
||||
// ---------------
|
||||
// Time: 2024.01.26 20:40:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerIncreasing &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isBullishPowerIncreasing &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isSBullish &&
|
||||
conditions.chvwapConditions.isSSwitchedToBullish &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 74.0
|
||||
// Bearish: 1.0
|
||||
// ---------------
|
||||
// Time: 2024.02.13 11:35:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
conditions.pvConditions.isHCSwitchedToBullish &&
|
||||
conditions.pvConditions.isHCHHSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerUp &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMSwitchedToBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLSwitchedToBullish &&
|
||||
conditions.chcheConditions.isHBearish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isCSwitchedToBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
conditions.chstrConditions.isHSwitchedToBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isLSwitchedToBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 67.0
|
||||
// Bearish: 2.0
|
||||
// ---------------
|
||||
// Time: 2024.08.01 10:45:03
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isLStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
conditions.chcheConditions.isHStrongSwitchedToBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isBullishPowerIncreasing &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
conditions.chvlmConditions.isHSwitchedToBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isCSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenUnderKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 71.0
|
||||
// Bearish: 2.0
|
||||
// ---------------
|
||||
// Time: 2024.07.31 21:10:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isLCLLBullish &&
|
||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
conditions.pvConditions.isHCSwitchedToBullish &&
|
||||
conditions.pvConditions.isHCHHSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isMSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenUnderKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 66.0
|
||||
// Bearish: 2.0
|
||||
// ---------------
|
||||
// Time: 2024.08.13 09:55:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isMStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isLStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isHBearish &&
|
||||
conditions.chcheConditions.isHStrongBearish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isSSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanACrossedOverLast &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAUnderLast
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: BRENT
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 68.0
|
||||
// Bearish: 0.0
|
||||
// ---------------
|
||||
// Time: 2024.02.19 14:10:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isBullishPowerIncreasing &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isMSwitchedToBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish &&
|
||||
//
|
||||
// XCHICH ...
|
||||
//
|
||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
||||
conditions.chichConditions.isCSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isCFutureSenkouSpanACrossedUnderLast &&
|
||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHSenkouSpanAOverLast &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAOverB &&
|
||||
conditions.chichConditions.isHFutureSenkouSpanAOverLast
|
||||
//
|
||||
)
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-1170
File diff suppressed because it is too large
Load Diff
-4003
File diff suppressed because it is too large
Load Diff
-4917
File diff suppressed because it is too large
Load Diff
-3670
File diff suppressed because it is too large
Load Diff
-5512
File diff suppressed because it is too large
Load Diff
@@ -1,141 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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"
|
||||
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.amarkets.brent.olds.long.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.amarkets.brent.2018.long.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.brent.2019.long.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.amarkets.brent.2020.long.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.amarkets.brent.2021.long.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.amarkets.brent.2022.long.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.amarkets.brent.2023.long.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.brent.2024.long.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHStartegyAMarketsBRENTLongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHStartegyAMarketsBRENTOldsLongConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsBRENT2018LongConditionsParser _2018Parser;
|
||||
XCHStartegyAMarketsBRENT2019LongConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsBRENT2020LongConditionsParser _2020Parser;
|
||||
XCHStartegyAMarketsBRENT2021LongConditionsParser _2021Parser;
|
||||
XCHStartegyAMarketsBRENT2022LongConditionsParser _2022Parser;
|
||||
XCHStartegyAMarketsBRENT2023LongConditionsParser _2023Parser;
|
||||
XCHStartegyAMarketsBRENT2024LongConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XSignal &signal,
|
||||
XCHStrategyConditions &conditions,
|
||||
bool force = true //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
if (!force)
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_oldsParser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
@@ -1,141 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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"
|
||||
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.amarkets.brent.olds.short.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.amarkets.brent.2018.short.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.brent.2019.short.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.amarkets.brent.2020.short.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.amarkets.brent.2021.short.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.amarkets.brent.2022.short.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.amarkets.brent.2023.short.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.brent.2024.short.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHStartegyAMarketsBRENTShortConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHStartegyAMarketsBRENTOldsShortConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsBRENT2018ShortConditionsParser _2018Parser;
|
||||
XCHStartegyAMarketsBRENT2019ShortConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsBRENT2020ShortConditionsParser _2020Parser;
|
||||
XCHStartegyAMarketsBRENT2021ShortConditionsParser _2021Parser;
|
||||
XCHStartegyAMarketsBRENT2022ShortConditionsParser _2022Parser;
|
||||
XCHStartegyAMarketsBRENT2023ShortConditionsParser _2023Parser;
|
||||
XCHStartegyAMarketsBRENT2024ShortConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XSignal &signal,
|
||||
XCHStrategyConditions &conditions,
|
||||
bool force = true //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
if (!force)
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_oldsParser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-141
@@ -1,141 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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.che.strategy.mq5"
|
||||
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.che.amarkets.brent.olds.long.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.che.amarkets.brent.2018.long.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.che.amarkets.brent.2019.long.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.che.amarkets.brent.2020.long.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.che.amarkets.brent.2021.long.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.che.amarkets.brent.2022.long.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.che.amarkets.brent.2023.long.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.che.amarkets.brent.2024.long.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHCHEStartegyAMarketsBRENTLongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHCHEStartegyAMarketsBRENTOldsLongConditionsParser _oldsParser;
|
||||
XCHCHEStartegyAMarketsBRENT2018LongConditionsParser _2018Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2019LongConditionsParser _2019Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2020LongConditionsParser _2020Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2021LongConditionsParser _2021Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2022LongConditionsParser _2022Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2023LongConditionsParser _2023Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2024LongConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XSignal &signal,
|
||||
XCHStrategyConditions &conditions,
|
||||
bool force = true //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
if (!force)
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_oldsParser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-141
@@ -1,141 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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.che.strategy.mq5"
|
||||
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.che.amarkets.brent.olds.short.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.che.amarkets.brent.2018.short.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.che.amarkets.brent.2019.short.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.che.amarkets.brent.2020.short.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.che.amarkets.brent.2021.short.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.che.amarkets.brent.2022.short.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.che.amarkets.brent.2023.short.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.che.amarkets.brent.2024.short.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHCHEStartegyAMarketsBRENTShortConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHCHEStartegyAMarketsBRENTOldsShortConditionsParser _oldsParser;
|
||||
XCHCHEStartegyAMarketsBRENT2018ShortConditionsParser _2018Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2019ShortConditionsParser _2019Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2020ShortConditionsParser _2020Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2021ShortConditionsParser _2021Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2022ShortConditionsParser _2022Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2023ShortConditionsParser _2023Parser;
|
||||
XCHCHEStartegyAMarketsBRENT2024ShortConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XSignal &signal,
|
||||
XCHStrategyConditions &conditions,
|
||||
bool force = true //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
if (!force)
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2023Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2022Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2021Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2020Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2018Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_oldsParser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-2138
File diff suppressed because it is too large
Load Diff
-1814
File diff suppressed because it is too large
Load Diff
-1510
File diff suppressed because it is too large
Load Diff
-2237
File diff suppressed because it is too large
Load Diff
-2178
File diff suppressed because it is too large
Load Diff
-2016
File diff suppressed because it is too large
Load Diff
-1488
File diff suppressed because it is too large
Load Diff
-1742
File diff suppressed because it is too large
Load Diff
-1029
File diff suppressed because it is too large
Load Diff
-1353
File diff suppressed because it is too large
Load Diff
-1965
File diff suppressed because it is too large
Load Diff
-2800
File diff suppressed because it is too large
Load Diff
-811
@@ -1,811 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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 XCHStartegyAMarketsUS302021LongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XCHStrategyConditions &conditions //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 64.0
|
||||
// Bearish: 1.0
|
||||
// ---------------
|
||||
// Time: 2021.02.02 18:20:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isLCLLBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerIncreasing &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isBullishPowerIncreasing &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 60.0
|
||||
// Bearish: 1.0
|
||||
// ---------------
|
||||
// Time: 2021.03.15 04:15:05
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvlmConditions.isCBearish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isLSwitchedToBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 60.0
|
||||
// Bearish: 6.0
|
||||
// ---------------
|
||||
// Time: 2021.07.08 01:20:21
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCLLSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCLLBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBearish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerDecreasing &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isBullishPowerIncreasing &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBearish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 58.0
|
||||
// Bearish: 6.0
|
||||
// ---------------
|
||||
// Time: 2021.09.23 20:05:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCHHBearish &&
|
||||
conditions.pvConditions.isSCSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBearish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCLLSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerDecreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerDecreasing &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 56.0
|
||||
// Bearish: 7.0
|
||||
// ---------------
|
||||
// Time: 2021.10.07 18:55:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCLLBearish &&
|
||||
conditions.pvConditions.isSCSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
||||
conditions.pvConditions.isMCHHBearish &&
|
||||
conditions.pvConditions.isMCSwitchedToBearish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBearish &&
|
||||
conditions.pvConditions.isLCLLBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerDecreasing &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 68.0
|
||||
// Bearish: 1.0
|
||||
// ---------------
|
||||
// Time: 2021.12.08 04:45:01
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCLLSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCLLBullish &&
|
||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCLLSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerDecreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 63.0
|
||||
// Bearish: 2.0
|
||||
// ---------------
|
||||
// Time: 2021.12.13 05:20:07
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCSwitchedToBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isCSwitchedToBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isBullishPowerDecreasing &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBearish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isBullishPowerUp &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isMSwitchedToBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-617
@@ -1,617 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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 XCHStartegyAMarketsUS302021ShortConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XCHStrategyConditions &conditions //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 6.0
|
||||
// Bearish: 55.0
|
||||
// ---------------
|
||||
// Time: 2021.02.26 09:05:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseUnderFib2 &&
|
||||
conditions.pvConditions.isCloseUnderFib3 &&
|
||||
conditions.pvConditions.isCloseUnderFib4 &&
|
||||
conditions.pvConditions.isCloseUnderFib5 &&
|
||||
conditions.pvConditions.isSCLLBearish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCLLSwitchedToBullish &&
|
||||
//
|
||||
// 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.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.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.isHBullish &&
|
||||
//
|
||||
// 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: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 3.0
|
||||
// Bearish: 71.0
|
||||
// ---------------
|
||||
// Time: 2021.03.04 11:45:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewVale &&
|
||||
conditions.pvConditions.isNewValeOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isFiboSectionChanged &&
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseUnderFib2 &&
|
||||
conditions.pvConditions.isCloseUnderFib3 &&
|
||||
conditions.pvConditions.isCloseUnderFib4 &&
|
||||
conditions.pvConditions.isCloseUnderFib5 &&
|
||||
conditions.pvConditions.isCloseCrossedUnderFib2 &&
|
||||
conditions.pvConditions.isCloseCrossedUnderFib3 &&
|
||||
conditions.pvConditions.isCloseCrossedUnderFib4 &&
|
||||
conditions.pvConditions.isCloseCrossedUnderFib5 &&
|
||||
conditions.pvConditions.isSCLLBearish &&
|
||||
conditions.pvConditions.isSCSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
||||
conditions.pvConditions.isMCBearish &&
|
||||
conditions.pvConditions.isMCHHBearish &&
|
||||
conditions.pvConditions.isMCLLBearish &&
|
||||
conditions.pvConditions.isMCSwitchedToBearish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBearish &&
|
||||
conditions.pvConditions.isMCLLSwitchedToBeraish &&
|
||||
conditions.pvConditions.isLCLLBearish &&
|
||||
conditions.pvConditions.isLCSwitchedToBearish &&
|
||||
conditions.pvConditions.isLCLLSwitchedToBeraish &&
|
||||
conditions.pvConditions.isHCLLBearish &&
|
||||
conditions.pvConditions.isHCSwitchedToBearish &&
|
||||
conditions.pvConditions.isHCLLSwitchedToBeraish &&
|
||||
//
|
||||
// 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.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.isSBullish &&
|
||||
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: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 14.0
|
||||
// Bearish: 52.0
|
||||
// ---------------
|
||||
// Time: 2021.04.30 22:05:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseUnderFib2 &&
|
||||
conditions.pvConditions.isCloseUnderFib3 &&
|
||||
conditions.pvConditions.isCloseUnderFib4 &&
|
||||
conditions.pvConditions.isCloseCrossedUnderFib4 &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCLLBearish &&
|
||||
conditions.pvConditions.isMCBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
||||
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.isBullishPowerDecreasing &&
|
||||
conditions.chhkConditions.isCBearish &&
|
||||
conditions.chhkConditions.isCSwitchedToBearish &&
|
||||
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.isCBullish &&
|
||||
conditions.chtdConditions.isCSwitchedToBullish &&
|
||||
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.isCBearish &&
|
||||
conditions.chstrConditions.isSBearish &&
|
||||
conditions.chstrConditions.isMBearish &&
|
||||
conditions.chstrConditions.isLBearish &&
|
||||
conditions.chstrConditions.isHBearish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBearishPower &&
|
||||
conditions.chvlmConditions.isCBearish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBearish &&
|
||||
conditions.chvlmConditions.isLBearish &&
|
||||
conditions.chvlmConditions.isHBearish
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 3.0
|
||||
// Bearish: 65.0
|
||||
// ---------------
|
||||
// Time: 2021.07.30 18:50:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseUnderFib2 &&
|
||||
conditions.pvConditions.isCloseUnderFib3 &&
|
||||
conditions.pvConditions.isCloseUnderFib4 &&
|
||||
conditions.pvConditions.isSCHHBearish &&
|
||||
conditions.pvConditions.isSCSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBearish &&
|
||||
//
|
||||
// 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.isSFastCrossedUnderSlow &&
|
||||
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.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.isBearishPowerUp &&
|
||||
conditions.chtdConditions.isCBearish &&
|
||||
conditions.chtdConditions.isCSwitchedToBearish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
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.isSSwitchedToBearish &&
|
||||
conditions.chvlmConditions.isMBearish &&
|
||||
conditions.chvlmConditions.isLBearish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBearishPower &&
|
||||
conditions.chvwapConditions.isMBearish &&
|
||||
conditions.chvwapConditions.isLBearish &&
|
||||
conditions.chvwapConditions.isHBearish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 9.0
|
||||
// Bearish: 59.0
|
||||
// ---------------
|
||||
// Time: 2021.11.23 17:55:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseUnderFib2 &&
|
||||
conditions.pvConditions.isCloseUnderFib3 &&
|
||||
conditions.pvConditions.isCloseUnderFib4 &&
|
||||
conditions.pvConditions.isCloseUnderFib5 &&
|
||||
conditions.pvConditions.isCloseCrossedUnderFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBearishPower &&
|
||||
conditions.chmConditions.isFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedUnderFast &&
|
||||
conditions.chmConditions.isCFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedUnderCFast &&
|
||||
conditions.chmConditions.isSFastUnderSlow &&
|
||||
conditions.chmConditions.isSFastCrossedUnderSlow &&
|
||||
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.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.isMBearish &&
|
||||
conditions.chvwapConditions.isLBearish &&
|
||||
conditions.chvwapConditions.isHBearish
|
||||
//
|
||||
)
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-1336
File diff suppressed because it is too large
Load Diff
-2109
File diff suppressed because it is too large
Load Diff
-1063
File diff suppressed because it is too large
Load Diff
-1870
File diff suppressed because it is too large
Load Diff
-3316
File diff suppressed because it is too large
Load Diff
-1957
File diff suppressed because it is too large
Load Diff
-600
@@ -1,600 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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 XCHStartegyAMarketsUS302023LongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XCHStrategyConditions &conditions //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 56.0
|
||||
// Bearish: 6.0
|
||||
// ---------------
|
||||
// Time: 2023.03.22 13:40:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBearish &&
|
||||
conditions.pvConditions.isSCHHBearish &&
|
||||
conditions.pvConditions.isSCLLBearish &&
|
||||
conditions.pvConditions.isSCSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBearish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isMSwitchedToBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBearish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 58.0
|
||||
// Bearish: 8.0
|
||||
// ---------------
|
||||
// Time: 2023.05.19 01:40:11
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBearish &&
|
||||
conditions.pvConditions.isSCHHBearish &&
|
||||
conditions.pvConditions.isSCLLBearish &&
|
||||
conditions.pvConditions.isSCSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isLCLLBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isBullishPowerDecreasing &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isBullishPowerDecreasing &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 57.0
|
||||
// Bearish: 6.0
|
||||
// ---------------
|
||||
// Time: 2023.10.11 15:30:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCLLBearish &&
|
||||
conditions.pvConditions.isSCSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
||||
conditions.pvConditions.isLCLLBullish &&
|
||||
conditions.pvConditions.isHCLLBullish &&
|
||||
conditions.pvConditions.isHCSwitchedToBullish &&
|
||||
conditions.pvConditions.isHCLLSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerDecreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBearish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBearish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isCSwitchedToBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 59.0
|
||||
// Bearish: 5.0
|
||||
// ---------------
|
||||
// Time: 2023.10.10 18:40:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBearish &&
|
||||
conditions.pvConditions.isSCHHBearish &&
|
||||
conditions.pvConditions.isSCLLBearish &&
|
||||
conditions.pvConditions.isSCSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isBullishPowerIncreasing &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 72.0
|
||||
// Bearish: 0.0
|
||||
// ---------------
|
||||
// Time: 2023.11.17 15:10:02
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
conditions.pvConditions.isHCSwitchedToBullish &&
|
||||
conditions.pvConditions.isHCHHSwitchedToBullish &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBullishPower &&
|
||||
conditions.chmConditions.isFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverFast &&
|
||||
conditions.chmConditions.isCFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverCFast &&
|
||||
conditions.chmConditions.isSFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverSFast &&
|
||||
conditions.chmConditions.isMFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverMFast &&
|
||||
conditions.chmConditions.isLFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverLFast &&
|
||||
conditions.chmConditions.isHFastOverSlow &&
|
||||
conditions.chmConditions.isClosedOverHFast &&
|
||||
//
|
||||
// XCHHK ...
|
||||
//
|
||||
conditions.chhkConditions.hasBullishPower &&
|
||||
conditions.chhkConditions.isCBullish &&
|
||||
conditions.chhkConditions.isCloseOverCHigh &&
|
||||
conditions.chhkConditions.isSBullish &&
|
||||
conditions.chhkConditions.isCloseOverSHigh &&
|
||||
conditions.chhkConditions.isMBullish &&
|
||||
conditions.chhkConditions.isCloseOverMHigh &&
|
||||
conditions.chhkConditions.isLBullish &&
|
||||
conditions.chhkConditions.isCloseOverLHigh &&
|
||||
conditions.chhkConditions.isHBullish &&
|
||||
conditions.chhkConditions.isCloseOverHHigh &&
|
||||
//
|
||||
// XCHTD ...
|
||||
//
|
||||
conditions.chtdConditions.hasBullishPower &&
|
||||
conditions.chtdConditions.isCBullish &&
|
||||
conditions.chtdConditions.isSBullish &&
|
||||
conditions.chtdConditions.isMBullish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
conditions.chtdConditions.isHBullish &&
|
||||
//
|
||||
// XCHCHE ...
|
||||
//
|
||||
conditions.chcheConditions.hasBullishPower &&
|
||||
conditions.chcheConditions.isCBullish &&
|
||||
conditions.chcheConditions.isCStrongBullish &&
|
||||
conditions.chcheConditions.isSBullish &&
|
||||
conditions.chcheConditions.isSStrongBullish &&
|
||||
conditions.chcheConditions.isSSwitchedToBullish &&
|
||||
conditions.chcheConditions.isSStrongSwitchedToBullish &&
|
||||
conditions.chcheConditions.isMBullish &&
|
||||
conditions.chcheConditions.isMStrongBullish &&
|
||||
conditions.chcheConditions.isLBullish &&
|
||||
conditions.chcheConditions.isLStrongBullish &&
|
||||
conditions.chcheConditions.isHBullish &&
|
||||
conditions.chcheConditions.isHStrongBullish &&
|
||||
//
|
||||
// XCHSTR ...
|
||||
//
|
||||
conditions.chstrConditions.hasBullishPower &&
|
||||
conditions.chstrConditions.isCBullish &&
|
||||
conditions.chstrConditions.isSBullish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
conditions.chstrConditions.isLBullish &&
|
||||
conditions.chstrConditions.isHBullish &&
|
||||
//
|
||||
// XCHVLM ...
|
||||
//
|
||||
conditions.chvlmConditions.hasBullishPower &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBullish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBullish &&
|
||||
conditions.chvlmConditions.isHBullish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBullishPower &&
|
||||
conditions.chvwapConditions.isMBullish &&
|
||||
conditions.chvwapConditions.isMSwitchedToBullish &&
|
||||
conditions.chvwapConditions.isLBullish &&
|
||||
conditions.chvwapConditions.isHBullish
|
||||
//
|
||||
)
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-1438
File diff suppressed because it is too large
Load Diff
-1747
File diff suppressed because it is too large
Load Diff
-1768
File diff suppressed because it is too large
Load Diff
-1700
File diff suppressed because it is too large
Load Diff
-712
@@ -1,712 +0,0 @@
|
||||
///////////////////////////////////////////////////////
|
||||
//
|
||||
// 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 XCHStartegyAMarketsUS302024ShortConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
XCHStrategyConditions &conditions //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 3.0
|
||||
// Bearish: 64.0
|
||||
// ---------------
|
||||
// Time: 2024.01.25 19:25:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseUnderFib2 &&
|
||||
conditions.pvConditions.isCloseUnderFib3 &&
|
||||
conditions.pvConditions.isCloseUnderFib4 &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCHHBearish &&
|
||||
conditions.pvConditions.isLCHHBearish &&
|
||||
conditions.pvConditions.isLCSwitchedToBearish &&
|
||||
conditions.pvConditions.isLCHHSwitchedToBearish &&
|
||||
//
|
||||
// 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.isLFastUnderSlow &&
|
||||
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.isMSwitchedToBearish &&
|
||||
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.isMBearish &&
|
||||
conditions.chvlmConditions.isLBearish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBearishPower &&
|
||||
conditions.chvwapConditions.isMBearish &&
|
||||
conditions.chvwapConditions.isLBearish &&
|
||||
conditions.chvwapConditions.isHBearish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 1.0
|
||||
// Bearish: 76.0
|
||||
// ---------------
|
||||
// Time: 2024.03.26 21:45: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.isSCLLSwitchedToBeraish &&
|
||||
conditions.pvConditions.isMCLLBearish &&
|
||||
conditions.pvConditions.isMCSwitchedToBearish &&
|
||||
conditions.pvConditions.isMCLLSwitchedToBeraish &&
|
||||
conditions.pvConditions.isLCLLBearish &&
|
||||
conditions.pvConditions.isLCSwitchedToBearish &&
|
||||
conditions.pvConditions.isLCLLSwitchedToBeraish &&
|
||||
conditions.pvConditions.isHCLLBearish &&
|
||||
conditions.pvConditions.isHCSwitchedToBearish &&
|
||||
conditions.pvConditions.isHCLLSwitchedToBeraish &&
|
||||
//
|
||||
// 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.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: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 7.0
|
||||
// Bearish: 54.0
|
||||
// ---------------
|
||||
// Time: 2024.04.05 16:30: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 &&
|
||||
//
|
||||
// XCHM ...
|
||||
//
|
||||
conditions.chmConditions.hasBearishPower &&
|
||||
conditions.chmConditions.isBearishPowerIncreasing &&
|
||||
conditions.chmConditions.isFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedUnderFast &&
|
||||
conditions.chmConditions.isCFastUnderSlow &&
|
||||
conditions.chmConditions.isClosedUnderCFast &&
|
||||
conditions.chmConditions.isSFastUnderSlow &&
|
||||
conditions.chmConditions.isSFastCrossedUnderSlow &&
|
||||
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.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: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 8.0
|
||||
// Bearish: 58.0
|
||||
// ---------------
|
||||
// Time: 2024.06.27 02:05:10
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseUnderFib2 &&
|
||||
conditions.pvConditions.isCloseUnderFib3 &&
|
||||
conditions.pvConditions.isCloseUnderFib4 &&
|
||||
conditions.pvConditions.isCloseUnderFib5 &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHBearish &&
|
||||
conditions.pvConditions.isLCHHBearish &&
|
||||
conditions.pvConditions.isLCSwitchedToBearish &&
|
||||
conditions.pvConditions.isLCHHSwitchedToBearish &&
|
||||
//
|
||||
// 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.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.isSBearish &&
|
||||
conditions.chtdConditions.isMBearish &&
|
||||
conditions.chtdConditions.isLBullish &&
|
||||
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.isBearishPowerDecreasing &&
|
||||
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.isLBullish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.hasBearishPower &&
|
||||
conditions.chvwapConditions.isLBearish &&
|
||||
conditions.chvwapConditions.isHBearish
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
// Symbol: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 3.0
|
||||
// Bearish: 58.0
|
||||
// ---------------
|
||||
// Time: 2024.07.22 10:30:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isCloseUnderFib1 &&
|
||||
conditions.pvConditions.isCloseUnderFib2 &&
|
||||
conditions.pvConditions.isCloseUnderFib3 &&
|
||||
conditions.pvConditions.isCloseCrossedUnderFib2 &&
|
||||
conditions.pvConditions.isCloseCrossedUnderFib3 &&
|
||||
conditions.pvConditions.isSCBearish &&
|
||||
conditions.pvConditions.isSCHHBearish &&
|
||||
conditions.pvConditions.isSCLLBearish &&
|
||||
conditions.pvConditions.isSCSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCHHSwitchedToBearish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBeraish &&
|
||||
//
|
||||
// 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.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.isCBullish &&
|
||||
conditions.chstrConditions.isSBearish &&
|
||||
conditions.chstrConditions.isMBullish &&
|
||||
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: DowJones30
|
||||
// ---------------
|
||||
// Scores:
|
||||
// ---------------
|
||||
// Bullish: 6.0
|
||||
// Bearish: 55.0
|
||||
// ---------------
|
||||
// Time: 2024.09.04 22:00:00
|
||||
// ---------------
|
||||
//
|
||||
// XPV ...
|
||||
//
|
||||
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.isMCLLBullish &&
|
||||
conditions.pvConditions.isLCHHBearish &&
|
||||
//
|
||||
// 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.isCSwitchedToBearish &&
|
||||
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.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.isBearishPowerDecreasing &&
|
||||
conditions.chvlmConditions.isCBullish &&
|
||||
conditions.chvlmConditions.isSBearish &&
|
||||
conditions.chvlmConditions.isMBullish &&
|
||||
conditions.chvlmConditions.isLBearish &&
|
||||
conditions.chvlmConditions.isHBearish &&
|
||||
//
|
||||
// XCHVWAP ...
|
||||
//
|
||||
conditions.chvwapConditions.isHBearish
|
||||
//
|
||||
)
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
-1507
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user