What's New in Indicore SDK 2.2

From FxCodeBaseWiki
Jump to: navigation, search

The Release Status

This version of Indicore SDK is deprecated.

See Indicore SDK.

The Latest Release

The release date of the SDK 2.2 is February 13, 2014.

Download SDK 2.2

SDK 2.2 Online Documentation (English)

What's New In SDK?

View Indicators

Indicore SDK now allows creating view indicators. These indicators do not use the existing chart, but create data for it instead.

This makes possible to see the data from 3rd party sources, from files, as well as, create some tricky data, such as N-hour candle with the "trading day hour" start.

For details, see changes in instance table and advanced indicator development section in the documentation.

Owner-drawn Indicators

Some indicator requires quite custom way to be displayed. Sometimes and somehow it can be implemented in the existing environment (such as market profile indicator), sometimes - no, as for gradient heat maps.

Indicore SDK now allows creating owner-drawing indicators. These indicators paint their own content completely or partially. They are able to display literally anything.

In pair with the View Indicators feature, it makes possible to create Point&Figure, Kagi and Renko charts shown and handled in a natural way (as prices), but in a highly-customizable manner (because they are still indicators - i.e. pieces of the Lua code).

For details, see the Draw() function, context and math2d tables, and advanced indicator development section in the documentation.

Package Maker Utility

Indicator SDK now includes the Indicore Package Maker utility (MakeIPKG.exe). The utility allows creating packages (the files that include any custom indicators or strategies) that can be installed in Marketscope by one click. Packages can also be installed in Lua Strategy/Indicator Debuggers by using the Tools -> Import Indicators/Strategies from Package command. For details, see Indicore Package Maker.

Non-slippage Simulation Mode in Backtester/Optimizer

In previous version, the simulator executed orders at the simulated tick price, not at the order price. For tick-hunting strategies, or (what is more important) when hourly data is used to roughs, but fast simulation, it creates a sensitive slippage, bigger than the user can see in the real world.

Indicore SDK now has Slippage/Non-slippage mode in Debugger, Backtester and Optimizer. The Non-slippage mode allows executing conditional orders "at the order price" making the slippage completely eliminated.

addDate() Function

The function allows adding Date input parameter for an indicator.

For details, see the addDate() function in the documentation.

host:execute("prompt", ...) Function

The function shows a prompt box.

For details, see the host:execute("prompt", ...) function in the documentation.

Host addCommand for Lua Indicator/Strategy Debuggers

From now on, the host addCommand is supported in Lua Indicator Debugger (luadbg). It sends additionally x and y coordinates of the click. To see the command just right-click on a chart.

The host addCommand is also supported in Lua Strategy Debugger (luadbg1). To see a dialog with commands on alerts check "Show Alerts" in menu.

win32 Table

A new win32 table is added that provides advanced operating system functions.

For details, see the win32 table in the documentation.

Ability to Get Account Currency

Now it is possible to get account currency - the currency in which margin requirements, profit/loss, account balance and equity are expressed.

For details, see the host:execute("getTradingProperty", ...); method with the accountCurrency parameter.

Updating Symbols List from Pricearchive Catalog

Lua Indicator and Strategy Debuggers (luadbg and luadbg1) now receives the information about symbols by using the QuotesManager. This provides the ability to debug indicators/strategies on any symbols supported by FXCM.


This Article in Other Languages

Language: English  • español