Navigation: Function Reference > User Script Functions > Symbol.getInterval()

Symbol.getInterval()

Top  Previous  Next

Symbol.getInterval : String;

 

Returns the bar interval being used by the driving symbol. The value is returned as a string type. Valid intervals are:

 

D = Daily

W = Weekly

M = Monthly

X = where X is any integer value (intraday interval)

 

Parameters

 

none

takes no parameters