Using Quotes Manager in IndicoreSDK

From FxCodeBaseWiki
Jump to: navigation, search

Introduction

To be able to execute your indicator or strategy in Indicore SDK 2.0, you had to download and install price files from CodeBase Price Archive.

Indicore SDK 2.1 allows you to download the price data automatically using the quotes manager server to use them to debug indicators and to debug, backtest and optimize strategies.

How to Download Prices?

First, install the latest version of Indicore SDK 2.1.

To download the data from the quotes manager server:

  1. Run the Integrated Lua EditorDebugger application in the Start menu.
  2. On the Tools menu, click Load Quotes:
    Optimize Load Quotes.png
  3. After clicking the command, the dialog box Application is updating quotes catalog may appear for a while:
    Quotes Manager Updating.PNG
  4. After the update is completed, the Load Quotes dialog box will appear:
    Luadebugging6-2.PNG
    In this dialog box you can choose the instrument and the year for which you want to download the price data. Note that each of the years is marked with the icon:
    • Quotes Manager Icon1.PNG indicates that price data for this year have been completely downloaded and ready to use.
    • Quotes Manager Icon2.PNG indicates that price data for this year have been downloaded not completely or they need to be updated.
    • Quotes Manager Icon3.PNG indicates that price data for this year have not been downloaded at all.
  5. Choose the instrument and the year(s) and click OK.
  6. Wait a bit while the data are downloaded:
    Luadebugging6-3.PNG
    The data are downloaded fast enough. Loading of the whole year of the 1-minute data for an instrument (approx 300K candles) usually takes less than 30 seconds. Note that the quotes manager server provides only 1-minute data. If you want to debug your indicator/strategy on the bigger time frame, the price data will be calculated based on the downloaded 1-minute data.

That's all. Now you can use the downloaded data for the chosen instrument and time interval.

How to Use Downloaded Prices for Debugging, Backtesting and Optimizing?

  1. Run your indicator or strategy for debugging, backtesting or optimizing in the debugger.
  2. The Parameters dialog box will appear. Place the cursor in the Price Source parameter value field and click the ellipsis (...) button:
    Quotes Manager Parameters.PNG
  3. The Choose Price Source dialog box will appear:
    Luadebugging6-1.png
  4. Click Quotes Manager and select the instrument, time interval and time frame.
  5. If you have chosen the data which had not been downloaded earlier, you will see the message box asking whether you want to download the data now:
    Indicore warning.PNG
  6. Click Yes to download the data. You will see the dialog box exactly the same as appears when you choose Tools->Load Quotes command. Choose the instrument and year and click OK. The data from the quotes manager server will be downloaded.

After configuring other parameters, your indicator/strategy will be executed on the price data from the quotes manager server.

See Also


This Article in Other Languages

Language: English  • español • français • русский • 中文 • 中文(繁體)‎