Postion Info On Chart


Category:
0
0

Hello Again,  Ive been searching for ways to better track my open positions. Ideally, being able to see my entry and % gain or loss of that current position, on the chart. I currently keep track by using the draw line tool, but would really love if some of those details ( % gain/loss, $ change) were visible without me being tied to drawing lines.   I know there is a ‘show trades’ option in appearances but it never works , so I will just draw a line at my position and then hang a line off there to monitor progress. The time to do this, and go away from and return to it mid trade is annoying.     I know what I am describing will be study but I am having trouble finding solid examples to build off of.

Hoping there are some options available.

(I trade single positions at a time, intraday)

Attachments:
Marked as spam
Posted by (Questions: 3, Answers: 4)
Asked on June 22, 2020 9:58 pm
149 views
0
Private answer

Thinkorswim language only permits us to work with plots, chart labels and chart bubbles. Drawing objects cannot be created or modified by code on Thinkorswim. There are two built-in chart studies that will help you understand what is possible. In fact they may serve the purpose you need right out of the box:

PositionNetLiq:

https://toslc.thinkorswim.com/center/reference/Tech-Indicators/studies-library/O-Q/PositionNetLiq

PositionOpenPL:

https://toslc.thinkorswim.com/center/reference/Tech-Indicators/studies-library/O-Q/PositionOpenPL

In addition to those built-in chart studies we have several built-in functions under the "Portfolio" category:

https://toslc.thinkorswim.com/center/reference/thinkScript/Functions/Portfolio

In the limited time I have available for free solutions in the Q&A forum this is about all I have time to provide.

 

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on June 23, 2020 7:45 am