|
Jim Harrison
2014-02-26 00:42:27
|
|
cFunctions.SetForwardAndBackwardBars(10,0);
VectorD price = cFunctions.Close;
result = price;
Global.Trace1("size of results"+ result.Length);
Why do I see the whole array length listed in output window? My expectation is that cFunctions.SetForwardAndBackwardBars would in effect trimexcess outside what I have requested before I do any calculations, i.e. limit my query to the last 10 bars.
What do I need to do if I DO NOT WANT TO analyse the entire 38000 values in result.length, I only need the last 10? This is my goal...
If cFunctions.SetForwardAndBackwardBars is not the way to accomplish this anyone got ideas? Please advise. This is a must have.
Also, would be real nice if we had a built in function/object that simply detects a new bar. cFunctions.IsNewBar ==1. Ideas here anyone?
Thanks in advance for any help......
AZ: See accompanying email from us..
|
|