728x90

cheekyxy commented on 5 Oct 2017  

  • Version: "1.10"
  • Device: Windows 10
  • Browser: Google chrome

Scenario : Suppose I selected 1 month timeframe and then I want candlesticks accoding to 5min or 15min or any other time I select .
Lets say I have selected 1 day timeframe and then I select 4H candlestick option.So the chart should display 24/4 = 6 candle sticks .
So I want to know that how it can be done ?
I have attached a screenshot for example.
chart

@timocov

timocov commented on 5 Oct 2017

Hi,

  1. You can use setVisbibleRange method https://github.com/tradingview/charting_library/wiki/Chart-Methods#setvisiblerangerange-callback
  2. You can wait until we implements #2060
@cheekyxy

cheekyxy commented on 5 Oct 2017  

@timocov I to want implement the things as below:

  • First select the timeframe
    -Then the candle sticks should be shown according to Candlesticks option as shown in screenshots below:
    1 .
    chart1

chart2

@timocov

timocov commented on 5 Oct 2017

Yeah, I get it and my answer is exactly about it.

@timocov

timocov commented on 10 Oct 2017

  1. Where you call setVisibleRange? I saw it only for timeframe=='12m' in your code.
  2. Your datafeed does not support 3min resolution.
@cheekyxy

cheekyxy commented on 10 Oct 2017  

@timocov
Leave setVisibleRange for now but what should I do to support my datafeed of 1min,3min,5min ?
Please help me with that !

@cheekyxy

cheekyxy commented on 10 Oct 2017

@timocov @ezhukovskiy
After updating supported resolutions in my datafeed the resolutions are still disabled as shown in screenshot :
min_chart1

@timocov

timocov commented on 10 Oct 2017

Because your symbol does not support this resolutions. See https://github.com/tradingview/charting_library/wiki/Symbology#supported_resolutions

@cheekyxy

cheekyxy commented on 10 Oct 2017

@timocov
What should I do make it support ? Because I have commented the code for symbols search in datafeed . I just want to make it supportable.

@timocov

timocov commented on 10 Oct 2017

In symbol info you should specify which resolutions symbol supports. Please read article https://github.com/tradingview/charting_library/wiki/Symbology

@cheekyxy

cheekyxy commented on 11 Oct 2017

@timocov
Thanks a lot . Your symbolinfo suggestion worked.

@cheekyxy

cheekyxy commented on 11 Oct 2017

@timocov
I don't want to show highlighted part in my chart as shown in screenshot below . Would you help me with this ?

Screenshot : https://www.screencast.com/t/ZMp6wlEp

@cheekyxy

cheekyxy commented on 13 Oct 2017

@timocov @ezhukovskiy

Is it possible to change the data for chart when time interval is changed ?

@timocov

timocov commented on 13 Oct 2017

When interval changed the library will rerequest the data. What do you mean?

@cheekyxy

cheekyxy commented on 13 Oct 2017  

@timocov

I mean I have to change the data totally. I have to request data from another URL.

@timocov

timocov commented on 13 Oct 2017

Sorry, but it is not issue anymore.

@timocov timocov closed this on 13 Oct 2017


'WEB' 카테고리의 다른 글

MySQL 시퀀스 생성하기  (0) 2018.02.14
[PHP]자식창에서 부모창 새로고침해서 부모창에 세션결과 표시하기  (0) 2018.02.09
[PHP] Parsing  (0) 2018.02.05
[PHP] number with comma  (0) 2018.02.05
[Google Chart] Candle Stick  (0) 2018.01.30

+ Recent posts