# Can thinkscript plot text words?

Category:
0
0

I currently have thinks it code that plots an arrow when the criteria are met.

PatternPlot.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
PatternPlot.SetDefaultColor(GetColor(8));

My only question is can the arrow code be modifyied to place a word instead such as “cover”

Marked as spam
Posted by (Questions: 22, Answers: 63)
Asked on January 25, 2019 3:08 am
1658 views
 ▲ 0 ▼ Not directly in that way, no. You can plot text on a chart in place of an arrow. But that requires a completely different approach. Need to see your full code to provide a solution. (Pete Hahn at January 27, 2019 11:03 am)
 ▲ 0 ▼ Thank you, here is the full code def IsUp = close > open; def IsDown = close < open; def IsDoji = IsDoji(); def avgRange = 0.05 * Average(high - low, 20); plot PatternPlot = IsUp[2] and IsUp[1] and IsUp[0] and low[1] <= low[0]; PatternPlot.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP); PatternPlot.SetDefaultColor(GetColor(8)); (Juan Banderas at January 27, 2019 2:02 pm)
 ▲ 0 ▼ I generated the code from the pattern creation feature on TOS (Juan Banderas at January 27, 2019 2:06 pm)
 ▲ 0 ▼ ✔ Private answer Ok, now that we have the full code provided in the comment section above we can provide a solution: ```def IsUp = close > open; def IsDown = close < open; def PatternPlot = IsUp[2] and IsUp[1] and IsUp[0] and low[1] <= low[0]; AddChartBubble(PatternPlot, high, "Cover", Color.GREEN, yes);``` Marked as spam Posted by Pete Hahn (Questions: 37, Answers: 4102) Answered on January 28, 2019 10:43 am