show only period param in analysis panel
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user