Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The second task involves creating a text - based plot of the candlestick data. The figure above shows an example of a graphical plot. You
The second task involves creating a textbased plot of the candlestick data. The figure above shows
an example of a graphical plot. You should try and create something like that using text output. We
recommend that you approach this by first manually typing out what kind of characters you might
use in your plot to represent different things. Use your text editor to do this. Eg you might use a
to represent the top of a box and a to represent the stalk. Once you know what you are aiming for,
you should write C function that takes a vector of Candlestick objects as its input and generates a
plot from that data. You will need to cope with quite a few problems here for example, how can
you round the data so it is an appropriate range for your textbased plotter? How can you deal with
horizontal and vertical positioning? You should attempt to use objectoriented techniques to make
your code as neat and well organised as possible.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started