What's an index

Created at 13 Feb 2015, 22:09
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
usynn's avatar

usynn

Joined 13.02.2015

What's an index
13 Feb 2015, 22:09


Hi there guys, this is my first post. I've been using the cAlgo system for a few days now and trying to code an indicator. I can't seem to find a decent resource where I can find an answer to a simple question. I'm struggling with the idea of index's. In the calculate method an index is passed in which is used with MarketSeries, then there is the GetIndexByDate() method and I'm just so confused on how it all fits together.

If someone could please explain was a series and index is and the difference between the two. Also, when the Calculate() method is called, which value is typically passed in and does it depend on which timeframe you're using and how can you differentiate between the value. You help is greatly appreciated.


@usynn
Replies

Spotware
16 Feb 2015, 12:01

Dear Trader,

We can recommend you to read the following API Guide:

/api/guides/indicators.

Hope this helps.


@Spotware