This commit is contained in:
2024-06-23 17:11:07 +03:30
parent b65fcdcb01
commit 43ea4edc42
4 changed files with 735 additions and 421 deletions
+17 -18
View File
@@ -404,6 +404,18 @@ public:
return cCycle.GetPeriod();
}
//
bool ForceState()
{
return forceState;
}
//
void ForceState(bool value)
{
forceState = value;
}
//
bool CanProcessBar(
ENUM_X_MARKET_CYCLES cycle = X_MARKET_CYCLE_UNKNOWN //
@@ -776,6 +788,9 @@ private:
//
X121SetupInputs inputs; // Cycles Configurations
//
bool forceState; // Force State
//
// Bar Trackers ...
XBarTracker cBarTracker;
@@ -794,7 +809,8 @@ private:
//
void FillNextBarTime(
datetime &next,
XBarTracker &tracker)
XBarTracker &tracker //
)
{
//
next = iTime(
@@ -803,23 +819,6 @@ private:
0) +
PeriodSeconds(tracker.period);
}
// //
// bool ProcessCurrentMarket(
// XSignal &signal,
// X121SetupConditions &conditions,
// int &pushers,
// string &provider,
// int barIndex = 0,
// int loopback = 5 //
// )
// {
// //
// bool result = false;
// //
// return result;
// }
};
//
File diff suppressed because it is too large Load Diff