Menu

#43 Complex Operator composed of Primitive Operator

open
yccheok
analysis (27)
9
2009-05-06
2009-03-09
yccheok
No

Here is an email from a user

============
Hi there!

Your JStock really is a very good charting software. But the indicator is little bit hard to set up. So can you please tell me how to set up a CCI indicator? The formula that i found is under below:

http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:commodity_channel_index_cci

Thank you.

Your fan,

JZ.

As we can see, many new comers are not experience enough to build an useful indicator. It is good if

(1) Someone may use the primitive operator toolbox (arithmetic, comparison...) to build up the complex operators.
(2) Export the work, as a single xml file, and share it to public (In the future, we shall setup a wiki enable community contributed indicator work)
(3) When user download the XML file, he shall able to see the whole complex operators, as a simple toolbox, with M number of connector inputs and N number of connector output.
(4) The inputs/output connectors on the toolbox, shall be able to describe what is the acceptable value type. For example, when user hover a mouse over a connector, "Double" will be shown
(5) We shall also allow complex operator, to be wrapped up in another complex operator.

Here are some technical challenge :
(1) Should we rely on previous version of JHotDraw, or we should use a new version of JHotDraw, or we should use another structured graphics framework? The decision shall based on : (a) Our GUI requirement. (b) The ability to serialize the structured graphics drawing.
(2) After user had constructed the whole complex operator using primitive operator toolbox, how can we export it out as a simple operator toolbox? How can we define the input/ output connector of simple operator toolbox, to associate with the whole complex operator network?

Discussion

  • yccheok

    yccheok - 2009-03-09
    • priority: 5 --> 9
     
  • yccheok

    yccheok - 2009-03-09
    • summary: complex operator composed of primitive operator --> Complex Operator composed of Primitive Operator
     
  • yccheok

    yccheok - 2009-05-06
    • labels: --> analysis
    • assigned_to: nobody --> yccheok
     
  • yccheok

    yccheok - 2009-07-09

    Initial design on how Composite Operator shall look like

     
  • Mark DeSpain

    Mark DeSpain - 2010-03-03

    I am looking forward to this feature!