I have tried to write a couple programs but haven't really been able to fully grasp how all the pieces fit together. I have tried reading a lot of the documentation and examples online etc... But I quickly get lost... It seems they start with super simple examples but quickly get complicated. Also, I see lots of little differences with how they go about programming something that is basically the same thing. I understand there are lots of ways to skin a cat... But this causes me to just get confused. As far as I am concerned, I don't really care at this point what the "best" way is. Even the "worst" way is better than "no" way at this point which is where I am currently at.
I am trying to keep things simple to start, as I learn and progress, I can "improve" and learn why I should do things one way vs the other.
Ok... So I simply want to make a graph of the "drawdown" for Tesla. At this point, I would like to simply hard code "Tesla" and if i want to see drawdown for apple... Then I can backspace a couple times and type in Apple.
As I understand, I may need to place an order to actually produce a graph of drawdown. If this is the case then I would like to simply say I buy 1 share on X date. For example, I buy 1 share on July 2nd, 2019. Then If I want to change the date... I can simply backspace a few times and type in a new date.
One problem I keep running into is that I find only a piece of the code I need. For example just the piece to show drawdown but I can never figure out how to combine the pieces of code together to make it all work.
I know if someone provided the solution, I could study it and begin to understand how all this works. Again, keep it simple for me, just the basic minimum I need to add a plot of drawdown. Thank you.