Replies

dtniam8
20 May 2014, 07:29

LOL i thought that would give a compile error. thanks.


@dtniam8

dtniam8
11 May 2014, 00:39

Sorry about the double posts. My browser stuck.
 


@dtniam8

dtniam8
11 May 2014, 00:38

Why does it always return 1 for TickVolume. I'm trying to get the volume of the last bar. Please help.

        protected override void OnBar()
        {
            int index = MarketSeries.Close.Count - 1;
            var tickVolume = MarketSeries.TickVolume[index];
            Print(tickVolume);

        }


@dtniam8

dtniam8
11 May 2014, 00:37

Why does it always return 1 for TickVolume

        protected override void OnBar()
        {
            int index = MarketSeries.Close.Count - 1;
            var tickVolume = MarketSeries.TickVolume[index];
            Print(tickVolume);

        }


@dtniam8

dtniam8
11 May 2014, 00:36

Why does it always return 1 for TickVolume

        protected override void OnBar()
        {
            int index = MarketSeries.Close.Count - 1;
            var tickVolume = MarketSeries.TickVolume[index];
            Print(tickVolume);
            var currentValue = _moneyFlow.Result.LastValue;
            Print(currentValue);

        }


@dtniam8