Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to create a candlestick chart???

I am a starter to use qlikview, plz give a suggestion to me in order to make a candlestick chart.

I have such excel file

TIMELAST
09:14:29.52855122951
09:15:29.61429322961
09:15:29.63911922968
09:15:29.64110122951
09:15:29.87834622975
09:15:29.88207822978
09:15:29.88409822979
09:15:30.00722022965
09:15:30.02421622980
09:15:30.02697822979
09:15:30.10520922980
09:15:30.23606622967
09:15:30.32218722978
09:15:30.37222722980
09:15:30.51226022983
09:15:30.74206622970
09:15:30.74407222963
09:15:30.95900122970
09:15:31.11022622968
09:15:31.12811822967
09:15:31.53021522967
09:15:32.20026322964
09:15:32.41614522956
09:15:32.76826522970
09:15:33.35635122959
09:15:33.42338522960
09:15:33.74231722954
09:15:34.53332022954
09:15:34.82932022955

I wanna return it into like this in period of one min.

123.png

I don't know how to write the expression in order ti generate this chart.

20 Replies
Not applicable
Author

When I press 1min button, it shows every period of one min, then I press 5min button, it shows other graph with period of 5min. I wanna to know how to write,,,thz a lots

123.png

Not applicable
Author

Maybe I presented not very clear I know how to create a candlestick chart with excel provided with  stock high, stock low, stock middle, Box Plot Upper Whisker and Box Plot lower Whisker.

But I get the excel in this format below, plz help me to solve, better to provide how to write the expression, such as if(Avg ([Adj. Close]) > Avg ([Adj. Open]), Avg ([Adj. Close]), Avg ([Adj. Open])) (sth like this)

TIMELAST
09:14:29.52855122951
09:15:29.61429322961
09:15:29.63911922968
09:15:29.64110122951
09:15:29.87834622975
09:15:29.88207822978
09:15:29.88409822979
09:15:30.00722022965
09:15:30.02421622980
09:15:30.02697822979
09:15:30.10520922980
09:15:30.23606622967
09:15:30.32218722978
09:15:30.37222722980
09:15:30.51226022983
09:15:30.74206622970
09:15:30.74407222963
09:15:30.95900122970
09:15:31.11022622968
09:15:31.12811822967
09:15:31.53021522967
09:15:32.20026322964
09:15:32.41614522956
09:15:32.76826522970
09:15:33.35635122959
09:15:33.42338522960
09:15:33.74231722954
09:15:34.53332022954
09:15:34.82932022955

e.g.

1.start from 09:15:29.614293(2nd data) to 09:15:34.829320(last one)

2. group those date to make one candlestick of the chart, present in 1 min

3. compare the LAST of those data in order to make stock high, stock low, stock middle, Box Plot Upper Whisker and Box Plot lower Whisker

Siva_Sankar
Master II
Master II

I have attached the steps with screenshot to implement box plot. Try referring.

Not applicable
Author

But how to make 09:15:29.614293 into 09:15 for comparison. How to type the expression??THZ

senarath
Creator III
Creator III

hi,

You can use formatting as below.Time is your time field name.

=Time((Timestamp#(Time,'MM/DD/YYYY hh:mm:ss')),'hh:mm')

Thanx

Not applicable
Author

345.jpg

How to decrease interval of Y-axis in order to look better

Siva_Sankar
Master II
Master II

can you upload your qlikview file?

Not applicable
Author

Sorry for late reply

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Just replace your fixed Min and Max with calculated values:

     Min(LAST), and Max(LAST)

See attached.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

How can I colour the candlestick, when last-value of  LAST greater than open-value of LAST in Green and  last-value of  LAST smaller than open-value of LAST in Red.