Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Ibar problem
 Post subject: Ibar problem Post rating: 0   New post Posted: Tue 02 Jun, 2015, 12:26 
User avatar

User rating: 2
Joined: Sat 02 May, 2015, 20:20
Posts: 20
Location: Ukraine, Kyiv
Hello,

I'm trying to modify the zigzag java indicator. I need to add Ibar info so I can plot. How do I do this?

I see I need to add this input
//private IBar[][] inputs = new IBar[1][];

But there is already inputs declared here in this zigzag indy. So how do I add ibar??????
    private double[][][] inputs = new double[1][][];
    private double[][] outputs = new double[1][];
    //private IBar[][] inputs = new IBar[1][];


 
The Best Answer  Post subject: Re: Ibar problem Post rating: 0   New post Posted: Wed 03 Jun, 2015, 08:33 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Here is an example with two inputs
https://www.dukascopy.com/wiki/#Indicat ... nput_types


 
 Post subject: Re: Ibar problem Post rating: 0   New post Posted: Fri 05 Jun, 2015, 09:12 
User avatar

User rating: 2
Joined: Sat 02 May, 2015, 20:20
Posts: 20
Location: Ukraine, Kyiv
Yes I ended up converting the code to use input Ibar instead and converting the calls for O,H,L,C to the new input format for Ibar.


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com