#Interactable Graph/Chart
1 messages · Page 1 of 1 (latest)
how would i be able to like graph it tho with like candlesticks??? would i just change the sizing of a frame like and make it in the script??
taking data from api
my game is complete but just need this final part
** You are now Level 5! **
uhh
its like
a type of graphinc
its like thing of it as vertical candlesticks rectangles basically and its red or green depending if its going up or down and it can be super long or short depending on how much it moves or changes in a certain time frame
one side is the price at the start of a 5m timer and the other is the price at the end of the 5m timer
hold on
would i just create like abunch of frames sized in the script? so it would literally just be like scrolling frame then inside is a ton of frames that it creates
been tryna do this for a year
i guess yeah
that that good of a scripter tho
you would like
put them on a center line at first and then change it
oh but then
you'd also need to move up and down
what if i would want it to be able to move the graph with mouse tho not just scrolling horizontally. because if price shoots up i will run out of space in the vertical axis.
yeah uh
You could also increase/decrease the Y axis' measurements. E.g. if it goes up to 50, but the stock goes to 60, then just change the Y axis to go up to 75 or 100
you need to manipulate like a viewframe
like there's a viewport and then there's the bigger scene behind it
and you move the viewframe with your mouse
eh not really
oh really?
would want it like in the top right quadrant
is it possible to do it when ur like connecting it to a real api
for real live prices
yeah
idk how it works in the market but
i guess you could draw the candles by the price
basicly change the scale by 1 up if the price shoots up by 100%
and change the scale by 1 down if the price shoots down by 100%
make the start point when you started trading
uh i guess you'd get the value of the real market by like a http call to a api
get the price
and start drawing the candles
once the player starts trading
or
yeah i already have that i just dont know how i would like graph it up and have it able to move around/
im guessing you want smth like this yeah
you can move up and down and look for the candles n yh
more like
the entiire screen there
is the stock thing
and u can move around the whole thing
the inside