×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

Time

443 bytes added, 15:59, 28 February 2012
Returns a numerical value indicating the closing time of the current bar. The time is indicated in the 24-hour ''HHmm '' format, where 1300 = 1:00 PM.
==== Usage ====[[Time]] ==== Example ====[[<syntaxhighlight>Time]] will return a value of 1015 for 10:15 AM </syntaxhighlight>
== Notes ==* See the category [[:Category:Date_and_Time_Routines|Date and TimeRoutines]] for working with time in PowerLanguage.* Use [[Time_s]] to get the time of the bar with seconds precision.* Use [[CurrentTime]] and [[CurrentTime_s]] will return a value to get the ''computer time'' with respectively minutes and seconds precision.* The range of 1545 for 3:45 PM returned values is limited by the [[MaxBarsBack]] setting.
== Example ==
<syntaxhighlight>Time</syntaxhighlight>
* Will return a value of 1015 for 10:15 AM,
* Will return a value of 1545 for 3:45 PM.
[[Category:Data Information/General]]

Navigation menu