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 rectangles on chart
 Post subject: Drawing rectangles on chart Post rating: 0   New post Posted: Sat 19 Nov, 2011, 22:04 

User rating: 0
Joined: Sat 19 Nov, 2011, 01:24
Posts: 23
Location: United Kingdom,
Hi,

Would someone be able to help me with something, I'm trying to create an indicator that will draw boxes on the chart between certain time frames. eg, a box that starts at 7 oclock and finishes at 4 oclock to visualize certain time frames.

I'm stuck at the basics, as I've just come over from MQL4 where I found the coding easing but Jforex has certain advantages that has made me swap but Java is really stumping me at the moment.


 
 Post subject: Re: Drawing rectangles on chart Post rating: 0   New post Posted: Mon 21 Nov, 2011, 08:35 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There are multiple examples of rectangle usage in wiki:
https://www.dukascopy.com/wiki/index.php?title=Strategy_interacting_with_a_chart_object
https://www.dukascopy.com/wiki/index.php?title=Handle_chart_object_events
https://www.dukascopy.com/wiki/index.php?title=Lock/Unlock_chart_objects
Also see chart object overview:
https://www.dukascopy.com/wiki/index.php?title=IChart


 

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