last ...
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user