show only period param in analysis panel

This commit is contained in:
DiTus
2026-03-02 10:45:00 +01:00
parent 7191cd293f
commit b888c03e8e

View File

@ -308,12 +308,8 @@ export function calculateAllIndicatorSignals() {
id: indicator.id, id: indicator.id,
name: meta?.name || indicator.type, name: meta?.name || indicator.type,
label: indicator.type?.toUpperCase(), label: indicator.type?.toUpperCase(),
params: indicator.params && typeof indicator.params === 'object' params: meta?.inputs && meta.inputs.length > 0
? Object.entries(indicator.params) ? indicator.params[meta.inputs[0].name]
.filter(([k, v]) => !k.startsWith('_') && v !== undefined && v !== null && v !== '')
.map(([k, v]) => `${v}`)
.filter(v => v && v !== 'undefined')
.join(',')
: null, : null,
type: indicator.type, type: indicator.type,
signal: currentSignal.type, signal: currentSignal.type,