Reply to MoneyMonkey4321 The number precision of Open, Close, Price in Thinkscript or TOS is hard to find in the documentation. If anyone knows it, please chime it. I find a lot of Thinkscript examples using 2 decimal places like 1.00, 5.00 etc. So: If EntryPrice() has two decimal places, then it is possible that (EntryPrice() * 1.005) is multiplied by 1.00. That means a lastPrice 1 penby RickT - Trading Discussion
Referring to my prior post above: Someone suggested that \n is a newline character in Thinkscript but it is not working in the Addlabel command. I have tried a variety of Addlabel attempts to force a next line in Upper and at the top (only there): Addlabel(yes, "\n", COLOR.WHITE); Addlabel(yes, "/n", COLOR.WHITE); Addlabel(yes, "\r", COLOR.WHITE); Addlabel(yes,by RickT - Trading Discussion
I have a Thinkscript script with many AddLabel commands at the bottom of the script. At Screen display time, they line up across the top of the Upper graph, left to right, until there is no more room to the right. Then they flow automatically to the next line. I have been trying to find a way to have a little more control over AddLabel positioning. I have been looking for a way to insertby RickT - Trading Discussion
I would like to plot a trendline on 2 highs in Thinkscript. I was thinking 2 recent highest highs (on any timeframe) def HH = HighestAll(high) def HH = HighestAll(high[1]) <--------------[1] in thinkscript mean 1 prior plot HighTrendline = ? Seems somewhat simple but cannot find the right commands to do it. Horizontal line is well documented but I want a line withby RickT - Trading Discussion