This commit is contained in:
2024-12-14 01:15:29 +03:30
parent 940931d78a
commit 5d0431893c
3 changed files with 260 additions and 31 deletions
+54
View File
@@ -67,6 +67,7 @@ enum ENUM_X_121_SMC_SL_TYPES
X_121_SMC_SL_TYPE_SWING,
X_121_SMC_SL_TYPE_MOMENTUM,
X_121_SMC_SL_TYPE_REJECTION,
X_121_SMC_SL_TYPE_TENKAN_SEN,
};
//
@@ -446,6 +447,59 @@ struct XPVPivot
//
};
//
// Pivots ...
struct XPVPivotPoint
{
//
// Props ...
double value;
int repetition;
ENUM_XPV_PIVOTS type;
//
// Constructor ...
XPVPivotPoint()
{
Clean();
}
//
// Tools ...
/**
* Cleanup ...
*/
void Clean() {
//
value = 0;
repetition = 0;
type = XPV_NONE;
}
/**
* Validate ...
*
* @return ( bool )
*/
bool IsValid() {
//
bool result = false;
//
result =
//
value > 0 &&
repetition > 0 &&
type != XPV_NONE
//
;
//
return result;
}
};
//
// Each Market Cycle (Time Frame) Conditions
// Model as this Structure ...