♥ 0 |
Hello Pete, I wanted to know if you could create or show how to create a chart label called “Spread”, that takes the difference between the ASK and the BID and posts in on the chart as a label. I wonder if the chart timeframe will interfere with this, I hope not.
Best
Best
Marked as spam
|
Private answer
I had to change your question title. The one you entered was too easily mistaken to mean “option spread” rather than “bid ask spread”. We want to make sure folks find what they are looking for. For those wanting to learn how to figure this stuff out on their own. Two links to the Thinkorswim language reference will explain everything you need. http://toslc.thinkorswim.com/center/reference/thinkScript/Functions/Fundamentals/close.html http://toslc.thinkorswim.com/center/reference/thinkScript/Functions/Look—Feel/AddLabel.html Here is the code. Just remove lines you don’t want to display on the chart.
Marked as spam
|
Please log in to post questions.
The last condition, if the spread is over 9 cent, show the label as red.
Best