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.

IChartObject - set-Methodes for Price&Time Coordinates
 Post subject: IChartObject - set-Methodes for Price&Time Coordinates Post rating: 0   New post Posted: Fri 18 Jan, 2013, 06:57 
User avatar

User rating: 1
Joined: Thu 15 Mar, 2012, 16:30
Posts: 20
Hello Support-Team, such Methods would be nice.
By now, when I want to update a single Coordinate of an Object, for Example a Triangle,
I have to delete it and re-create it with the new Coordinate(s).
Simply update a single Coordinate would be easier and much more performant I think.


 
 Post subject: Re: IChartObject - set-Methodes for Price&Time Coordinates Post rating: 0   New post Posted: Fri 18 Jan, 2013, 08:35 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Casting should do the trick:
((IChartDependentChartObject)obj).setPrice(0,1.2345);


 
 Post subject: Re: IChartObject - set-Methodes for Price&Time Coordinates Post rating: 0   New post Posted: Fri 18 Jan, 2013, 19:45 
User avatar

User rating: 1
Joined: Thu 15 Mar, 2012, 16:30
Posts: 20
That's great, thank you.


 

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