TradeStation loads market data into memory in the form of some kind of array where the elements are:
Open
High
Low
Close
Volume
OpenInterest
Each day is drawn on a chart as a "candlestick" consisting of an open, high, low and close.
Depending on how much data I have loaded into TS I will see a number of bars on the chart that show me price action.
The elkit32.dll basically gives me access to all variables in EL including arrays in the form of a pointer and an offset.
eg:
lpClose
A pointer to a Close array element in EasyLanguage.
nOfs
Specifies the bar offset. The offset is backwards if Ofs is positive or forward if Ofs is negative.
The Offset allows me traverse the data in memory foreward or backwards from any given bar that i call my Dll from.
Thats all fine if you know how many bars you have. I dont.
So I want to go fishing. I want to find the last bar, or the last "close" in memory. There is no documentation about what exists at the end of the data, if anything.
What should I look for?
What is a Null pointer anyway?
------------------
Kind Regards
Mike
Open
High
Low
Close
Volume
OpenInterest
Each day is drawn on a chart as a "candlestick" consisting of an open, high, low and close.
Depending on how much data I have loaded into TS I will see a number of bars on the chart that show me price action.
The elkit32.dll basically gives me access to all variables in EL including arrays in the form of a pointer and an offset.
eg:
lpClose
A pointer to a Close array element in EasyLanguage.
nOfs
Specifies the bar offset. The offset is backwards if Ofs is positive or forward if Ofs is negative.
The Offset allows me traverse the data in memory foreward or backwards from any given bar that i call my Dll from.
Thats all fine if you know how many bars you have. I dont.
So I want to go fishing. I want to find the last bar, or the last "close" in memory. There is no documentation about what exists at the end of the data, if anything.
What should I look for?
What is a Null pointer anyway?
------------------
Kind Regards
Mike
Comment