98 lines
2.5 KiB
Plaintext
98 lines
2.5 KiB
Plaintext
|
|
// //
|
|
// isBullish =
|
|
// //
|
|
// // Vales Same ...
|
|
// sameVales >= 7 &&
|
|
// //
|
|
// // PBar Patterns ...
|
|
// isBarPatternsPassed &&
|
|
// isPBarCloseOverFast &&
|
|
// //
|
|
// // Validate PullBack based on HK Bond ...
|
|
// isPullbackBullish &&
|
|
// pBar.close > pHKBondLower;
|
|
|
|
//
|
|
// poiDrawer.DrawPatternAnalysis(
|
|
// pBarAnalysis,
|
|
// structureDrawConfig.barAnalysisDrawConfig //
|
|
// );
|
|
|
|
// //
|
|
// if (IsValidSize(zonesCount))
|
|
// {
|
|
// //
|
|
// poiDrawer.DrawZones(
|
|
// zones,
|
|
// structureDrawConfig.drawConfig //
|
|
// );
|
|
// }
|
|
|
|
// //
|
|
// if (IsValidSize(affectedZonesCount))
|
|
// {
|
|
// //
|
|
// poiDrawer.DrawZones(
|
|
// affectedZones,
|
|
// structureDrawConfig.drawConfig //
|
|
// );
|
|
// }
|
|
|
|
//
|
|
// poiDrawer.DrawZones(
|
|
// affectedZonesBullish,
|
|
// structureDrawConfig.drawConfig //
|
|
// );
|
|
|
|
// //
|
|
// poiDrawer.DrawZones(
|
|
// affectedZonesBearish,
|
|
// structureDrawConfig.drawConfig //
|
|
// );
|
|
|
|
|
|
|
|
|
|
// //
|
|
// // Update POI Zones ...
|
|
// ENUM_X_DETECTOR_ZONE_ACTION zoneActions[];
|
|
// poiDetector.UpdateZones(
|
|
// iBar,
|
|
// zoneActions //
|
|
// // Validation Length ...
|
|
// // Required Zones ...
|
|
// // Loopback ...
|
|
// );
|
|
|
|
//
|
|
// Retrieve Conditions ...
|
|
// conditions.Clean();
|
|
// has = fimaHelper.GetConditions(
|
|
// conditions,
|
|
// barIndex,
|
|
// 10 // Loopback ...
|
|
// );
|
|
// if (!has)
|
|
// {
|
|
// //
|
|
// iBar.Clean();
|
|
// conditions.Clean();
|
|
|
|
// //
|
|
// return;
|
|
// }
|
|
|
|
//
|
|
// structure.Clean();
|
|
// poiDetector.AnalyseMarket(
|
|
// structure,
|
|
// structureConfig,
|
|
// barIndex //
|
|
// );
|
|
// poiDrawer.drawnObjects.Clear();
|
|
// poiDrawer.DrawMarketStructure(
|
|
// structure,
|
|
// structureDrawConfig //
|
|
// );
|