Page 2 of 2

Re: instance:createCandleGroup

PostPosted: Wed Jan 30, 2013 5:50 pm
by gpatel
Thank you for your answer. I will wait for SDK 2.2.

Re: instance:createCandleGroup

PostPosted: Tue Jul 02, 2013 3:52 pm
by TakisGen
Now I need to pass custom created candles to another indicator using
instance:createCandleGroup() but can't figure out how.

Please advise

Re: instance:createCandleGroup

PostPosted: Wed Jul 03, 2013 4:05 am
by Valeria
Hi TakisGen,

Unfortunately, now we don't have this feature. But thank you for the good suggestion, it is added in the wish list for the future releases.

Re: instance:createCandleGroup

PostPosted: Thu Apr 03, 2014 1:33 pm
by gpatel
Was this feature ever released in to indicore sdk?

Re: instance:createCandleGroup

PostPosted: Mon Apr 07, 2014 11:31 pm
by Valeria
Hi gpatel,

Please try the following code:

Code: Select all
    SRC = core.host:execute("getHistory", 100, instance.bid:instrument(), "m5", 0, 0, true);
    HA = core.indicators:create("HA", SRC);

    ZIGZAG_SRC = HA:getCandleOutput(0);
    ZIGZAG = core.indicators:create("ZIGZAG", ZIGZAG_SRC);

Get Price from indicator

PostPosted: Fri May 21, 2021 1:00 pm
by D291156061
Hello, Nice to meet you
Now I want to strategy get the specific price from horizontal line indicator.
If you anyone know about this, plz give me the solution
Thank you

Re: instance:createCandleGroup

PostPosted: Tue May 25, 2021 4:31 am
by Apprentice
Line 410
local Indicator_Level= Indicator.DATA[period]
MA Price Cross Strategy.lua
(31.58 KiB) Downloaded 327 times


If you are interested in private instructions contact me via email.
mario(.)jemic(@)gmail(.)com