This commit is contained in:
2024-05-27 09:06:04 +03:30
parent c1aa4fe888
commit 30dd2f1aaf
13 changed files with 2337 additions and 368 deletions
+15 -2
View File
@@ -108,8 +108,9 @@ public:
//
// Constructor ...
XSCBaseProvider(
string symbol, // Trading Symbol
ENUM_TIMEFRAMES period // Trading Period
string symbol, // Trading Symbol
ENUM_TIMEFRAMES period, // Trading Period
double staticVolume // Static Volume for Positions
)
{
//
@@ -123,6 +124,9 @@ public:
"HOST Period"
//
);
//
mStaticVolume = staticVolume;
}
//
@@ -183,6 +187,12 @@ public:
return mCycle.hostPeriod;
}
//
double GetStaticVolume()
{
return mStaticVolume;
}
//
// Count Bars ...
int CountBars()
@@ -207,6 +217,9 @@ protected:
//
// Props ...
//
double mStaticVolume; // Static Volume for Positions
//
XMarketCycle mCycle;