TOS charts - how many fit on one page January 18, 2014 10:02AM |
Registered: 10 years ago Posts: 100 |
Re: TOS charts - how many fit on one page January 18, 2014 11:20AM |
Registered: 10 years ago Posts: 615 |
Re: TOS charts - how many fit on one page January 18, 2014 05:10PM |
Registered: 12 years ago Posts: 31 |
Re: TOS charts - how many fit on one page January 21, 2014 10:18AM |
Registered: 11 years ago Posts: 3 |
Re: TOS charts - how many fit on one page January 21, 2014 10:34AM |
Registered: 10 years ago Posts: 615 |
Quote
Jerry9982
Your contributions, especially the thinkscripts, are terrific.
Quote
Jerry9982
How do you script the "aggregation"/chart interval label that shows on the charts above?
#Display Chart Time Frame in Minutes def nMinutes = getaggregationPeriod()/60000; def Daily = if nminutes == 1440 then 1 else double.nan; def intraday = if nminutes < 1440 then 1 else double.nan; addlabel(Daily,"Daily",color.orange); addlabel(intraday,nminutes,color.orange);