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.

howto remove arrow on IChart.Type.PRICEMARKER
 Post subject: howto remove arrow on IChart.Type.PRICEMARKER Post rating: 0   New post Posted: Fri 27 Aug, 2010, 21:17 

User rating: 0
Joined: Fri 20 Aug, 2010, 14:09
Posts: 20
How to display the IChart.Type.PRICEMARKER without an arrow on both ends?


 
 Post subject: Re: howto remove arrow on IChart.Type.PRICEMARKER Post rating: 0   New post Posted: Sat 28 Aug, 2010, 10:09 
User avatar

User rating: 3
Joined: Wed 18 May, 2011, 16:25
Posts: 331
Location: SwitzerlandSwitzerland
Hi tradelove,

it should be possible using
            cobj.setAttrInt(IChartObject.ATTR_INT.ARROWCODE, n);

with cobj being the pricemarker object and n being an integer containing the arrow code.
I didn't see a list of the arrowcodes in the documentation and I haven't used the function yet, so I guess you just try some integer values starting from 0 and see how the arrow changes...

Best, RR.

PS: @DukasCopy - could you please point us out to a list of possible arrow codes? thx a lot.


 
 Post subject: Re: howto remove arrow on IChart.Type.PRICEMARKER Post rating: 0   New post Posted: Mon 30 Aug, 2010, 09:59 
User avatar

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


 
 Post subject: Re: howto remove arrow on IChart.Type.PRICEMARKER Post rating: 0   New post Posted: Mon 30 Aug, 2010, 15:00 
User avatar

User rating: 3
Joined: Wed 18 May, 2011, 16:25
Posts: 331
Location: SwitzerlandSwitzerland
Thanks a lot for your reply.
Just for curiosity. Is it possible to change the arrow-style using IChartObject.ATTR_INT.ARROWCODE, and if so, what are the possible values?

Best, RR.


 
 Post subject: Re: howto remove arrow on IChart.Type.PRICEMARKER Post rating: 0   New post Posted: Wed 01 Sep, 2010, 07:42 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
Currently it is not possible, we are aware of this issue viewtopic.php?f=16&t=4021&p=5637&hilit=setAttrInt#p5637 and we are working on it. When problem is solved, examples will be available in the Jforex Wiki.


 

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