last ...
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -973,8 +973,7 @@ class XCX121XKIStrategy1Signaller : public XCX121XKIBaseSignaller
|
||||
}
|
||||
|
||||
//
|
||||
int scoreBullish = 0;
|
||||
int scoreBearish = 0;
|
||||
double score = 0;
|
||||
bool isBullish = false;
|
||||
bool isBearish = false;
|
||||
int barIndex = bar.Index() + 1;
|
||||
@@ -982,6 +981,31 @@ class XCX121XKIStrategy1Signaller : public XCX121XKIBaseSignaller
|
||||
//
|
||||
// TEST ...
|
||||
|
||||
//
|
||||
if (kiParser.IsKIFastBullish(barIndex))
|
||||
{
|
||||
DebugBreak();
|
||||
}
|
||||
|
||||
// //
|
||||
// bool hasTrend =
|
||||
// kiParser.HasCompositeTrend(
|
||||
// score,
|
||||
// dir,
|
||||
// barIndex,
|
||||
// 20, // Required Score ...
|
||||
// 2, // Tolerance ...
|
||||
// X_PRICE_CLOSE,
|
||||
// 55,
|
||||
// 45,
|
||||
// 70,
|
||||
// 30 //
|
||||
// );
|
||||
// if (hasTrend && IsXBearish(dir))
|
||||
// {
|
||||
// DebugBreak();
|
||||
// }
|
||||
|
||||
//
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user