This commit is contained in:
2025-05-09 19:08:04 +03:30
parent 0fca3aec1e
commit f49231eeb2
6 changed files with 2531 additions and 166 deletions
@@ -63,6 +63,7 @@ enum ENUM_XCAEA_TRADE_FINALIZATION
XCAEA_TRADE_FINAL_CLOSE_IN_LOSE, // Lost
};
//
string ToString(ENUM_XCAEA_TRADE_FINALIZATION value)
{
//
+9 -137
View File
@@ -960,151 +960,22 @@ bool DetectDecisionZone(
p3RSI > conditions.rsiOBLevel &&
cRSI < conditions.rsiOBLevel;
//
// Testing Conditions ...
//
// Detect Fibo Section Changed ...
if (isFiboSectionChanged)
{
// Print("Fibo Section Changed ...");
}
//
// PVPivot Conditions ...
if (isCIsPeakPivot ||
isCIsValePivot)
{
// //
// ENUM_X_DIRECTION iPVPivotDir =
// isCIsValePivot
// ? X_DIRECTION_BULLISH
// : X_DIRECTION_BEARISH;
// //
// int timeOffset = (int)cBar.time;
// string iName = ToString(iPVPivotDir) + "_PVPVT_" + ToString(timeOffset);
// color iColor = isCIsValePivot
// ? clrAqua
// : clrMagenta;
// ENUM_LINE_STYLE iStyle = STYLE_DOT;
// //
// CChartObjectVLine *iObj;
// iObj = new CChartObjectVLine();
// has = iObj.Create(
// 0,
// iName,
// 0,
// cBar.time //
// );
// if (has)
// {
// //
// iObj.Color(iColor);
// iObj.Style(iStyle);
// }
// //
// Print("Conditions Finder ...");
}
//
// Testing Sar Changes ...
if (isSarSwitchedToBullish ||
isSarSwitchedToBearish)
{
//
// ENUM_X_DIRECTION iSarChangeDir =
// isSarSwitchedToBullish
// ? X_DIRECTION_BULLISH
// : X_DIRECTION_BEARISH;
// //
// int timeOffset = (int)cBar.time;
// string iName = ToString(iSarChangeDir) + "_SAR_" + ToString(timeOffset);
// color iColor = isSarSwitchedToBullish
// ? clrAqua
// : clrMagenta;
// ENUM_LINE_STYLE iStyle = STYLE_DOT;
// //
// CChartObjectVLine *iObj;
// iObj = new CChartObjectVLine();
// has = iObj.Create(
// 0,
// iName,
// 0,
// cBar.time //
// );
// if (has)
// {
// //
// iObj.Color(iColor);
// iObj.Style(iStyle);
// }
//
// Print("Conditions Finder ...");
}
//
// Score and Volume Conditions ...
if (isScoreVolumeNeuturalBullishPowered ||
isScoreVolumeNeuturalBearishPowered)
{
//
// ENUM_X_DIRECTION iScoreVolumeDir =
// isScoreVolumeNeuturalBullishPowered
// ? X_DIRECTION_BULLISH
// : X_DIRECTION_BEARISH;
// //
// int timeOffset = (int)cBar.time;
// string iName = ToString(iScoreVolumeDir) + "_SCVM_" + ToString(timeOffset);
// color iColor = isScoreVolumeNeuturalBullishPowered
// ? clrAqua
// : clrMagenta;
// ENUM_LINE_STYLE iStyle = STYLE_DOT;
//
// CChartObjectVLine *iObj;
// iObj = new CChartObjectVLine();
// has = iObj.Create(
// 0,
// iName,
// 0,
// cBar.time //
// );
// if (has)
// {
// //
// iObj.Color(iColor);
// iObj.Style(iStyle);
// }
// //
// Print("Conditions Finder ...");
}
//
// Custom Senarios ...
//
bool isCond1Bullish =
isBullishOB &&
isCIsValePivot &&
isRSICrossedOverOS &&
!isFiboSectionChanged &&
isSarSwitchedToBullish;
//
isBullishOB
//
;
//
bool isCond1Bearish =
isBearishOB &&
isCIsPeakPivot &&
isRSICrossedUnderOB &&
!isFiboSectionChanged &&
isSarSwitchedToBearish;
//
isBearishOB
//
;
//
bool isCond1 =
@@ -1202,6 +1073,7 @@ bool DetectDecisionZone(
{
//
// Style Object ...
Print("Salam");
}
}
+2 -15
View File
@@ -474,9 +474,9 @@ class XCXCAEASignaller : XCBase
//
// Checking Signal's Decision Zone ...
// On Trigger Time Frame ...
// On Analyse Time Frame ...
hasDecisionZone = DetectDecisionZone(
helper,
analyseHelper,
drawer,
decisionZone,
decisionZoneDir,
@@ -485,19 +485,6 @@ class XCXCAEASignaller : XCBase
loopback //
);
//
// Checking Signal's Decision Zone ...
// On Analyse Time Frame ...
// hasDecisionZone = DetectDecisionZone(
// helper,
// drawer,
// decisionZone,
// decisionZoneDir,
// conditions,
// zIndex,
// loopback //
// );
//
// Make Signal Box UnAvailable ...
if (hasDecisionZone)