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.

Drawing over chart
 Post subject: Drawing over chart Post rating: 0   New post Posted: Mon 02 May, 2011, 05:47 

User rating: 0
Joined: Wed 27 Apr, 2011, 13:56
Posts: 18
Hi everybody,

I'm newbie by JForex. I want to create my own indicator and used "Simple indicator" as an example. My indicator should be drawn over chart and not in separate window. So far I understand to achieve this I should only change the constructor call from

indicatorInfo = new IndicatorInfo("EXAMPIND", "Sums previous values", "My indicators", false, false, false, 1, 1, 1);

to

indicatorInfo = new IndicatorInfo("EXAMPIND", "Sums previous values", "My indicators", true, false, false, 1, 1, 1);

But after I made it nothing is displayed. Please help.


 
 Post subject: Re: Drawing over chart Post rating: 0   New post Posted: Tue 03 May, 2011, 07:09 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
Please have a look at the following JForex Wiki article: https://www.dukascopy.com/wiki/index.php ... icatorInfo


 
 Post subject: Re: Drawing over chart Post rating: 0   New post Posted: Wed 11 May, 2011, 09:05 

User rating: 0
Joined: Fri 15 Apr, 2011, 23:53
Posts: 3
trottel - did you solve this?
If you didn´t, please provide your code and I will have a look.

For me it is enough to put the first value to true as in your example.

/Nianbig


 

Jump to:  

  © 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