|
Attention! Read the forum rules carefully before posting a topic.
Submit JForex API function requests in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Chart Filtering on Order Label patterns for Order Visualization |
hyperscalper
|
Post subject: Chart Filtering on Order Label patterns for Order Visualization |
Post rating: 0
|
Posted: Mon 16 Sep, 2013, 03:30
|
|
User rating: 98
Joined: Mon 23 Jul, 2012, 02:02 Posts: 656 Location: United States, Durham, NC
|
Using the standalone API, I'd like to be able to filter representation of ONLY those orders which my client has submitted.
With my order labels, for example, I use a prefix, e.g. HBOT, then a "magic number" e.g. 77, plus the Instrument, e.g. EURUSD. So all of my labels for a given trading system begin with a prefix e.g. "HBOT77EURUSD", and then suffix information containing some sequential index for uniqueness, etc. Each trading system acts only on its own concatenated order label prefix id string.
Thus, if I could filter on a fixed prefix, or set of prefixes, and exclude all others, that would help reduce error-prone clutter on the chart, which I use for trade entry. Again, this is in standalone API mode.
I haven't thought that much about it, but is it possible that a Chart could use some sort of "regular expression" syntax in order to display only Orders with specific label patterns?
If I have several Strategy modules, all submitting orders, these orders will clutter up my standalone Chart, when in the same Account.
Also, extending this idea, it would be wonderful if in the JForex platform, a specific chart could be given a Filter which would specify the Label pattern of Orders which it would display, ignoring all other Order label patterns.
This would be either manually entered on the JForex platform, for the chart, or perhaps Strategy modules could set the Filter expression for charts programmatically.
But in the Standalone API, I really need to be able to control the subset of Order Labels which are shown on the chart.
Having the "clutter" of multiple simultaneous Strategy modules, all submitting orders will be very confusing and probably result in errors.
Some sort of general per-chart instance FILTER mechanism would be very much appreciated. This might required that any Order Submitting client such as JForex platform, be able to specify a user provided Prefix string which would be appended to Order Labels. Again, just thinking aloud, and I'm sure you'd have better ideas.
HyperScalper
|
|
|
|
 |
tcsabina
|
Post subject: Re: Chart Filtering on Order Label patterns for Order Visualization |
Post rating: 0
|
Posted: Tue 17 Sep, 2013, 21:25
|
|
User rating: 164
Joined: Mon 08 Oct, 2012, 10:35 Posts: 676 Location: NetherlandsNetherlands
|
Quote: Also, extending this idea, it would be wonderful if in the JForex platform, a specific chart could be given a Filter which would specify the Label pattern of Orders which it would display, ignoring all other Order label patterns. I would love to see this feature!
|
|
|
|
 |
API Support
|
Post subject: Re: Chart Filtering on Order Label patterns for Order Visualization |
Post rating: 0
|
Posted: Tue 24 Sep, 2013, 13:53
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Consider removing any standard chart order visualization and handling it yourself by using the chart object API. For instance you can add any character and couple it with the order information as a text object. This provides you also with more flexibility how you can display your orders.
|
|
|
|
 |
hyperscalper
|
Post subject: Re: Chart Filtering on Order Label patterns for Order Visualization |
Post rating: 0
|
Posted: Tue 24 Sep, 2013, 19:09
|
|
User rating: 98
Joined: Mon 23 Jul, 2012, 02:02 Posts: 656 Location: United States, Durham, NC
|
How do I remove default Standalone API chart orders visualisation?
Thanks, HyperScalper
|
|
|
|
 |
tcsabina
|
Post subject: Re: Chart Filtering on Order Label patterns for Order Visualization |
Post rating: 0
|
Posted: Tue 24 Sep, 2013, 20:07
|
|
User rating: 164
Joined: Mon 08 Oct, 2012, 10:35 Posts: 676 Location: NetherlandsNetherlands
|
Dear Support, I think there is a misunderstanding. Take a look on the attached picture.  These are those object that we want to filter/remove. JForex-API (currently?) is not listing these objects (order labels, triangles indicating order direction, dots indicating open-close relation) with for (IChartObject obj : chart.getAll()) {} iteration. But also, the feature request contains filter possibility for the JForex platform as well, not only in the standalone version.
Attachments: |
File comment: Screenshot indicating objects to be filtered.
Capture.PNG [68.07 KiB]
Downloaded 776 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
 |
hyperscalper
|
Post subject: Re: Chart Filtering on Order Label patterns for Order Visualization |
Post rating: 0
|
Posted: Wed 25 Sep, 2013, 01:43
|
|
User rating: 98
Joined: Mon 23 Jul, 2012, 02:02 Posts: 656 Location: United States, Durham, NC
|
Yes, this is a very good example of the problems I am having.
A solution for both the JForex platform, and the standalone API would be great.
But just for the standalone API, if I could provide an IChartObjectFilter custom object which could provide active custom filtering on chart rendering, then that would be my preferred solution.
HyperScalper
|
|
|
|
 |
API Support
|
Post subject: Re: Chart Filtering on Order Label patterns for Order Visualization |
Post rating: 0
|
Posted: Wed 25 Sep, 2013, 07:29
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|