|
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.
How to delete order graphics on chart? |
[inkexit]
|
Post subject: How to delete order graphics on chart? |
Post rating: 0
|
Posted: Mon 23 Aug, 2010, 20:24
|
|
User rating: 0
Joined: Mon 09 Aug, 2010, 21:49 Posts: 30
|
I see in the preferences I can turn off "Order Visualization" altogether, but what if I want to just clear, or reset, the chart, so previous visualization does not show up, but current and future visualizations will?
|
|
|
|
 |
API Support
|
Post subject: Re: How to delete order graphics on chart? |
Post rating: 0
|
Posted: Wed 25 Aug, 2010, 09:48
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
At the moment such a functionality is not available, but thanks for an idea, we will consider to add it.
|
|
|
|
 |
[inkexit]
|
Post subject: Re: How to delete order graphics on chart? |
Post rating: 0
|
Posted: Fri 27 Aug, 2010, 02:37
|
|
User rating: 0
Joined: Mon 09 Aug, 2010, 21:49 Posts: 30
|
OK, well I found this. Wouldn't this work?
removeAll() - Method in interface com.dukascopy.api.IChart //Removes all graphical objects on the chart
|
|
|
|
 |
RoadRunner
|
Post subject: Re: How to delete order graphics on chart? |
Post rating: 0
|
Posted: Sat 28 Aug, 2010, 11:34
|
|
User rating: 3
Joined: Wed 18 May, 2011, 16:25 Posts: 331 Location: SwitzerlandSwitzerland
|
Hi inkexit,
this will only delete the objects that were created by your strategy code, not the objects created by the "Order Visualization".
Best, RR.
|
|
|
|
 |
[inkexit]
|
Post subject: Re: How to delete order graphics on chart? |
Post rating: 0
|
Posted: Sun 29 Aug, 2010, 17:13
|
|
User rating: 0
Joined: Mon 09 Aug, 2010, 21:49 Posts: 30
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|