refactor(web): 移除主图威科夫选项与叠层
去掉区间/阶段/时间/VP 开关、Cycle 摘要面板及绘制逻辑;分析请求默认 include_wyckoff=0。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user