Forum: ThinkOrSwim
June 17th, 2014, 09:54 PM
|
Replies: 2
Views: 6,463
To answer my own question partially:
plot...
To answer my own question partially:
plot ytdreturn =100* (close(period = AggregationPeriod.DAY)-close(period = AggregationPeriod.DAY)[251])/(close(period = AggregationPeriod.DAY)[251]);
That...
|
Forum: ThinkOrSwim
June 17th, 2014, 09:21 PM
|
Replies: 2
Views: 6,463
Want YTD % Return
Hello, I am trying to make a custom study to display the Year-To-Date return as a column on the Marketwatch Tab
of TOS, my script looks like this with aggregation set to "D" (Daily):
plot...
|