fixed params display in analysis panel
This commit is contained in:
@ -310,8 +310,9 @@ export function calculateAllIndicatorSignals() {
|
||||
label: indicator.type?.toUpperCase(),
|
||||
params: indicator.params && typeof indicator.params === 'object'
|
||||
? Object.entries(indicator.params)
|
||||
.filter(([k, v]) => !k.startsWith('_') && v !== undefined && v !== null)
|
||||
.filter(([k, v]) => !k.startsWith('_') && v !== undefined && v !== null && v !== '')
|
||||
.map(([k, v]) => `${v}`)
|
||||
.filter(v => v && v !== 'undefined')
|
||||
.join(',')
|
||||
: null,
|
||||
type: indicator.type,
|
||||
|
||||
Reference in New Issue
Block a user