Finding last value from multiple IndicatorDataSeries
Created at 25 Apr 2014, 20:31
Finding last value from multiple IndicatorDataSeries
25 Apr 2014, 20:31
Hi, I'm trying to find if a value exists in either one of an Up or Down IndicatorDataSeries provided by an Indicator from within a bot.
The Up an Down both have a different Count but I can't see how they correlate to time when looking at LastValue within OnTick().
Put another way, I'd like to see if Up has a value or Down has a value in OnTick()
Thanks
Spotware
28 Apr 2014, 10:45
You can retrieve the corresponding time by passing the same index to the Last method of OpenTime collection:
@Spotware