Tick data and GetIndexByExactTime
Created at 08 Jul 2015, 16:11
Tick data and GetIndexByExactTime
08 Jul 2015, 16:11
In this code when marketSerieGlobal = MarketData.GetSeries(t1); public bool IsLongSignal(int index) { int globalIndex = marketSerieGlobal.OpenTime.GetIndexByExactTime(MarketSeries.OpenTime[index]); return isGlobalTrendRising(globalIndex) && isLocalTrendRising(index); }
IsLongSignal(index) alway return -1 ?
How to solve this issue ? I want to know the index in a h1 timeframe from an index in a t1 timeframe (tick).
Spotware
08 Jul 2015, 16:44
Dear Trader,
We do not provide coding assistance services. We more than glad to assist you with specific questions about cAlgo.API. You also can contact one of our Partners or post a job in Development Jobs section for further coding assistance.
@Spotware