TO THE BEST OF MARKPLEX CORPORATION’S KNOWLEDGE, ALL OF THE INFORMATION ON THIS PAGE IS CORRECT, AND IT IS PROVIDED IN THE HOPE THAT IT WILL BE USEFUL. This is repeated as each new bar is added to the chart, until the bar DateTime is equal to or greater than the end time. If it is less than the LineEndTime then the rectangle has its end time set to the most right display datetime. This is achieved by checking the current BarDateTime at the beginning of each bar. String LineEnd( " 11:15:32" ), // In mm/dd/yyyy hh:mm:ss formatĪdditional functionality is included so that the rectangle is drawn even if the end date time is not currently visible on the chart. Example of the string format for the date/time input: These DTpoints are then used to create a trendline, a rectangle and a text label. These values are combined with user input prices to create DTPoint objects using DTPoint.Create. The tutorial uses Parse method of the DateTime class to convert user input strings (in mm/dd/yyyy hh:mm:ss format) into DateTime objects. The times can be specified to the second. TradeStation EasyLanguage Tutorial 180 demonstrates how to draw a line, a rectangle and a text label by specifying a start date, time and price and an end date, time and price.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |