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