Open leapence opened 2 years ago
1- You should create a new node app. In command line create a folder, then cd to that folder and type "node init", then complete the wizard. 2- Inside the new created app folder, follow installation instructions for this repo. Type "npm i @mathieuc/tradingview". 3- Edit index.js (if not exists create it) then copy one of the files content from examples folder. 4- In command line, type "node index.js" and observe the output.
It should be straight forward process.
just a few line in the console without a chart , is that all ?
just a few line in the console without a chart , is that all ?
AFAIK, yes. This API is for analyzing purposes. I am using Mathieu's API for calculating sell/buy signals so I don't need visualization. Tradingview actually has an API of its own that provide charts, but it's way complicated for me.
However, I think with some coding you can convert output to chart in Javascript, its just numbers tho.
just a few line in the console without a chart , is that all ?
AFAIK, yes. This API is for analyzing purposes. I am using Mathieu's API for calculating sell/buy signals so I don't need visualization. Tradingview actually has an API of its own that provide charts, but it's way complicated for me.
However, I think with some coding you can convert output to chart in Javascript, its just numbers tho.
thanks for replay
i also try to get buy and sell signal
but is there way to plot ( this ) signals to chart ?
for example get session chart and link it to div by id ... etc
this small step can make a super up level to this amazing code
I only have a very basic knowledge of java and i would really like to know how to run this app. I am using a mac OSX. I installed node and tried a few commands such us - "node CustomTimeframe.js" but would like to see more... Would anyone tell me how to or point me in the right direction? Much appreciated. Perhaps including a simple how to on description would do it