drawLine: last 3 arguments does't work

Moderator: admin

drawLine: last 3 arguments does't work

Postby iamrich » Mon Aug 16, 2010 4:06 pm

Marketscope 2.0 does not react on the last 3 arguments of that line

core.host:execute("drawLine", line, ASfrom_date, ASmaxprice, source:date(period), ASmaxprice, instance.parameters.Linecolor, core.LINE_DOT, 5, "Hallo");

core.LINE_DOT, core.LINE_SOLID ... does not make any differnece. I always get a solid line
width (in my case 5) does also not react (always width 1)
and the tooltip does also not work. I see on the line always the standard tooltip

Any idea?
iamrich
 
Posts: 10
Joined: Tue Aug 03, 2010 9:33 am

Re: drawLine: last 3 arguments does't work

Postby Nikolay.Gekht » Mon Aug 16, 2010 5:30 pm

These three parameters are new and are supported only in beta (and, so, further production release). These parameters are not supported in the current production version of the Marketscope.
Please see the list of new features here: Indicore SDK 2010-III Release.

The indicator output stream, the levels stream, the lines created via host:execute("drawLine", ...) now can have the line style (solid line, dotted line, dashed line and so on) and width (in pixels). The lines, created using host:execute("drawLine") can also have a tooltip.


The current production supports only SDK 2010-II release features.

BTW, you can have both, the current production and beta release in the same time on the same desktop, so, just setup beta and test your indicators on it. This beta version will go to the production this month.
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 9 guests