Dukascopy
 
 
Wiki JStore Search Login

JFOREX-2291: IchartObjects move() only at the next tick ?
 Post subject: JFOREX-2291: IchartObjects move() only at the next tick ? Post rating: 0   New post Posted: Wed 06 Oct, 2010, 09:54 
User avatar

User rating: 5
Joined: Fri 02 Sep, 2011, 10:08
Posts: 157
Location: FranceFrance
Hi,

My strategy moves some IchartObjects, I'm using :

IchartObjects myLine.move(long time, double price)


What bothers me, is that the effective move appears on
the chart at the next tick.

Is there a way to move an object right after the command without
waiting for the next tick ?

Thanks


 
 Post subject: Re: JFOREX-2291: IchartObjects move() only at the next tick Post rating: 0   New post Posted: Wed 20 Oct, 2010, 11:11 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We have added a method IChart.repaint()
It will be available in a new build version. 2.6.3.+


 
 Post subject: Re: JFOREX-2291: IchartObjects move() only at the next tick Post rating: 0   New post Posted: Wed 20 Oct, 2010, 13:52 
User avatar

User rating: 5
Joined: Fri 02 Sep, 2011, 10:08
Posts: 157
Location: FranceFrance
wow you're great ;)


 

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