Plot Candlestick Chart via Thinkscript


Category:
0
0

I am semi colorblind and the TOS mobile app doesn’t have any option to change color of bullish candle so I am trying to do it via a study. I found a script to change color of the plot based on certain condition but can’t find syntax to change plot type to CandleStick. Any idea how to plot a candlestick chart via thinkscript?

 

<code>plot price = close;

price.DefineColor("Up", GetColor(1));
price.DefineColor("Down", GetColor(0));
HMA.AssignValueColor(if price &gt; price [1] then price.color("Up") else price.color("Down"));</code>

 

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on June 3, 2018 1:52 am
1322 views
0
Private answer

It is not possible to plot a candlestick from Thinkscript. At the time they do not provide the required elements in their language to do this.

Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on June 3, 2018 7:51 am