Print( BarDateTime.Format( "%Hh%M:%S" ) ) // e.g. Print( BarDateTime.Format( "%a %b %d, %Y" ) ) // e.g. The video also included a discussion of this. This can be problematic when using second or other charts with sub minute bar times. The program code from the video is included below.Īnother potential problem is that using the Time or T keyword provides the time in an HHMM format. The potential problem is that year is represented as the number of years since 1900, which can take a little bit of getting used to! TradeStation 9.5 does provide another way of calculating and displaying date and this is what I discuss in the following video. Date 1171213.00 Time 1116.00 Close 2666.7500Ĭreates the date in the following format: YYMMDD or YYYMMDD. Using the EasyLanguage Date or D keyword in, for example, a print statement like: This quick tip was created in TradeStation 9.5. This quick tip is not relevant to MultiCharts. This quick tip demonstrates how to format date and time in TradeStation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |