project-nv / night-vision

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

add vite-raw-plugin.js #95

Closed black-sec closed 10 months ago

black-sec commented 10 months ago

Describe the bug

Hello, thank you for your good library I have a question, how can I add vite-raw-plugin.js to my project so that I can create a new indicator, unfortunately, I am a beginner.

And doesn't this library have a toolbar tool?

Reproduction

www

Steps to reproduce

No response

Javascript Framework

no-framework (vanilla-js)

Logs

No response

Validations

C451 commented 10 months ago

Updated the docs. Nope, no toolbar for now

black-sec commented 10 months ago

Thank you @C451 I solved the problem, now I have a question I wrote an indicator in TradingView, which is a combination of ema, RSI, divergenci, macdi, etc. indicators, which gives a buy or sell label on the chart when the conditions are correct. Now I can implement that indicator by this library. Actually, I have been reading the library for a few days and so far I was able to implement the live data, but the part of making the indicator is very unclear to me, like the calculations I had in Pine Script or how to draw labels on the chart. For example, I want to specify the cross of two ema on the chart with buy and sell label

Thank you as much as possible

C451 commented 10 months ago

For now it's difficult to make custom overlays like in TV, hopefully there will a solution in the future.