QuickTip 76 | Painting the minute bar on a 10 second bar chart | TradeStation EasyLanguage

2 years ago
1

QuickTip 76 is a paintbar study designed to 'paint' the minute bar on a 10 second bar chart. It uses two different approaches:
1) Since the Time or T statement represents time in an HHMM format it does not store seconds. This means that we can detect the minute bar when T Not Equal toT[1], i.e. time this bar is different from time last bar (ignoring seconds).
2) The second approach used the DateTime class to give the second in the time. When the seconds are zero it means that the current bar is a minute bar.
https://markplex.com/free-tutorials/tradestation-easylanguage-quicktips/quicktip-76-painting-the-minute-bar-on-a-10-second-chart/

Loading comments...