project-nv / night-vision

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

Multiple Main Overlay #105

Closed wk1210 closed 10 months ago

wk1210 commented 10 months ago

Description

I currently have this requirement: I use built-in indicators like MACD in the framework to calculate a numerical MACD, but this numerical value is not OHLCV, but another value calculated. However, the built-in indicators in the framework currently use OHLCV data as the main overlay, and I found through testing that even if I create another pane and pass in the calculated value, I cannot use that value with the built-in indicators. Is there another way to meet this requirement? Looking forward to your reply.

Suggested solution

I currently don't have any suggestions.

Alternative

No response

Additional context

No response

Validations

C451 commented 10 months ago

Datasets that were used in TVJS is not tested/implemented yet. But you could make a hack putting your data in the main (hiding it), adding candles as overlay.

wk1210 commented 10 months ago

Datasets that were used in TVJS is not tested/implemented yet. But you could make a hack putting your data in the main (hiding it), adding candles as overlay.

Thank you very much, I'll try it.