ct
06-09-2007, 03:06 AM
Can I access the "Close" price of a secondary instrument? I tried 2 formats and it doesn't seem to like either.
I tried:
Close(BarsArray[InstrumentPosition["^DJIA"]]) [0]
and
Close[InstrumentPosition["^DJIA"]] [0]
I can access indicator values but can't seem to get the price data.
I want to access the current open and close price of the current bar of the secondary instrument.
I tried:
Close(BarsArray[InstrumentPosition["^DJIA"]]) [0]
and
Close[InstrumentPosition["^DJIA"]] [0]
I can access indicator values but can't seem to get the price data.
I want to access the current open and close price of the current bar of the secondary instrument.