project-nv / night-vision

Highly customizable charting library, created for professional traders
https://nightvision.dev
MIT License
242 stars 57 forks source link

Where exactly am I going wrong? #87

Closed xtrmus closed 12 months ago

xtrmus commented 1 year ago

Describe the bug

https://codesandbox.io/s/nostalgic-saha-zrxwr2?file=/src/main.js

I got the default codes from your github project.

Isn't normally the EMA indicator supposed to be above the panel?

Is there something I missed or didn't do? I've been trying for days and couldn't figure it out.

I would be glad if you help.

Reproduction

https://github.com/project-nv/night-vision

Steps to reproduce

No response

Javascript Framework

no-framework (vanilla-js)

Logs

No response

Validations

Antc1993 commented 1 year ago
import IndicadorName from '/IndicadorName .navy'
{
     panes: [
        {

            overlays: [
                {
                    name: "…", // Overlay name
                    type: "…", // Overlay type
                    data: […], // Time-series: [[<time>, value, …], …]
                    settings: {…}, // Overlay settings
                    props: {…}, // Overlay props

                },
                {
                  name: "IndicadorName", // Overlay name
                  type: "IndicadorName", // Overlay type
                }

            ],
            settings: {…}, 
        }
    ]
    scripts: [IndicadorName ]
}
C451 commented 12 months ago

Looks good to me (need to use 0.4.0 in codesandbox)

image