refactor(web): 移除主图威科夫选项与叠层

去掉区间/阶段/时间/VP 开关、Cycle 摘要面板及绘制逻辑;分析请求默认 include_wyckoff=0。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-26 01:27:51 +08:00
co-authored by Cursor
parent 8c165f11cd
commit 5c10e35b76
8 changed files with 14 additions and 646 deletions
+4 -5
View File
@@ -164,9 +164,6 @@ function applyAnalyzeSuccess(data, symbol, options) {
currentData = data;
window._lastChartSymbol = symbol;
window._lastFullAnalyzeAt = Date.now();
if (typeof renderWyckoffCycleSummary === 'function') {
renderWyckoffCycleSummary();
}
const ready = !!(tvWidget && tvWidget.state && tvWidget.state.isInitialized && tvWidget.mainChart);
const structureZonesOn = $('#showMainStructureZone').is(':checked');
@@ -212,7 +209,8 @@ function analyzeChart(options) {
end_time: ctx.endTimeMs,
elements_only: false,
zone_kl_lines: parseInt($('#zoneKlLines').val()) || 1000,
include_structure_zones: $('#showMainStructureZone').is(':checked') ? 1 : 0
include_structure_zones: $('#showMainStructureZone').is(':checked') ? 1 : 0,
include_wyckoff: 0
},
success: function(data) {
$('#refreshLoadingSpinner').hide();
@@ -327,7 +325,8 @@ function autoRefreshChart(options) {
end_time: ctx.endTimeMs,
elements_only: false,
zone_kl_lines: parseInt($('#zoneKlLines').val()) || 1000,
include_structure_zones: $('#showMainStructureZone').is(':checked') ? 1 : 0
include_structure_zones: $('#showMainStructureZone').is(':checked') ? 1 : 0,
include_wyckoff: 0
},
success: function(data) {
$('#refreshLoadingSpinner').hide();