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
+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");
}
}