Dukascopy
 
 
Wiki JStore Search Login

Drawing lines on one chart,reflect on all charts
 Post subject: Drawing lines on one chart,reflect on all charts Post rating: 0   New post Posted: Fri 30 Dec, 2011, 12:00 

User rating: -
I use multiple charts to see the big picture-I want to draw a line on a Daily chart that also appears on all lower timeframe charts I use-Can this be done??


 
 Post subject: Re: Drawing lines on one chart,reflect on all charts Post rating: 0   New post Posted: Sat 31 Dec, 2011, 11:44 
User avatar

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

you would have to loop through all available charts retrieved by
IContext.getCharts(instrument),
check the selected period using
IChart.getSelectedPeriod()

and add the chart object(s) to each chart that complies to your period-criteria.

Best, RR.


 
 Post subject: Re: Drawing lines on one chart,reflect on all charts Post rating: 0   New post Posted: Wed 04 Jan, 2012, 08:42 

User rating: -
If you use multiple charts and want the lines in all at once, you can't get it.

in a single chart u can retain the lines. first go to daily chart. draw lines, then reduce the same chart to 4 hour, then draw lines and then reduce it to hours charts etc.

All lines will be intact in the same chart. keep saving the chart template to retain them for next session also.


 

Jump to:  

  © 1998-2024 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