I was wanting to get started writing some elementary scripts for tos. Where would you guys recommend reading some material to get started?
Thanks
Here's what I did (as a non-coder...) -
I took my favorite indicators and looked at the code to discern what they were actually doing.
I started with looking through the code, then adding labels using the
AddLabel() function (AddLabel() links to the page for the function in the online thinkscript "manual" - you'll see a lot of drop downs on the left side of the page..)
For me, this was a pretty non-intrusive way to look through code and determine how to see more detail.
As I started to get used to some basic labels, I started writing my own "def" statements to get more precise information.
As an example, I was looking at the stochastic and MACD indicators. I was making labels that would simply display whether the indicator was in a bearish or bullish position. It's kinda fun thinking back to this time period because those things felt like a stretch at the time but the lessons learned from doing still serve me well to this day. Again, I hadn't attempted any coding at all until ThinkScript, so, trust me - If I can, anybody can lol.
AssignPriceColor() and AddChartBubble() came next along with AddCloud().
I'm sure there are others I'm either missing or haven't landed on myself that will let you study your scripts, then try to display information from them.
Also look at trying to code your favorite indicators with your colors of choice by default in your code. You know, those indicators you load on your chart and change in the settings window.....Code your color choices and line styles in.
There are a TON of helpful people here especially when you can demonstrate you've put some effort in.