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,
name: meta?.name || indicator.type,
label: indicator.type?.toUpperCase(),
params: indicator.params && typeof indicator.params === 'object'
? Object.entries(indicator.params)
.filter(([k, v]) => !k.startsWith('_') && v !== undefined && v !== null && v !== '')
.map(([k, v]) => `${v}`)
.filter(v => v && v !== 'undefined')
.join(',')
params: meta?.inputs && meta.inputs.length > 0
? indicator.params[meta.inputs[0].name]
: null,
type: indicator.type,
signal: currentSignal.type,