Apologies, but I couldn't see a way to define and use a Chart object
described by the generalized java.awt.Shape interface with Java2d.
Can this be done using some method in Interface IChartObjectFactory ?
Could I somehow extend IChartObject to create an arbitrary polygon shape
which would be closed and filled with a color and transparency, etc?
Is the java.awt.Polygon representation intended to be implemented
through the com.dukascopy.api.drawings.IPolyLineChartObject interface?
Maybe that's how I could define a subclass
IChartObject and define an arbitrary polygon shape? (I'm not really a
graphics guy...
But IPolyLineChartObject would need to be a sub-interface of IFillableChartObject
for me to be able to fill in the area enclosed, I guess.
Is this the generalized form which could do that ? Could somebody
show an example using this in Interface IChartObjectFactory:
<T extends IChartObject> T create(Class<T> objectClass)
This would be from within a standalone IStrategy implementation, and NOT from
a custom Indicator.
Using standalone API, can a strategy define and plot arbitrary 2D objects on charts
which are specified using the Interface java.awt.Shape?
Thanks for any tips,
HyperScalper