Dukascopy
 
 
Wiki JStore Search Login

Standalone API Chart Order Annotation Filtering
 Post subject: Standalone API Chart Order Annotation Filtering Post rating: 0   New post Posted: Tue 22 Apr, 2014, 16:19 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Hi Guys,

Using standalone charts, I am forced to see
the Orders, including TP and SL for orders which
my remote Linux automated strategies are
managing. Normally in the JForex platform
this would be what users want to see, which
is all order activity, regardless of which client
initiated the activity.

But when a standalone App uses charting,
it should be able to filter out Orders which
should not be annotated on the chart.

Therefore,
I propose that you permit us to define a
filter with an interface IChartDisplayFilter or something
like that, so that we can accept or reject
the annotation for each Order which is being
automatically shown on the standalone
chart.

Similar to Java's FileNameFilter, which defines
boolean accept(...) to filter filenames...

IChartDisplayFilter could be defined similar to

boolean accept( IOrder order)

Then in IChart (or the appropriate class, maybe
IChartPresentationManager, etc... )

define IChart.setFilter(IChartDisplayFilter filter)

If this is null, the default situation, then all Orders'
information is annotated on the chart. But if a
filter is defined, then we can suppress the display
of information associated with particular orders
in our standalone charting application.

Thanks for your consideration of an enhancement
similar to this. I am sure you would have a clearer
idea how to evolve the API than I do .....

HyperScalper


 

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