[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Indicator Formula vs Chart



PureBytes Links

Trading Reference Links

Cool…thanks.  The only thing is in my case, I would have lot of those “copies” (files with the “~”) popping up…I still think copies or instances should be associated with the charts themself, and not show in the Indicator tree, unless the user decides to explicitly make it a “core formula”.  That is just a design and subjective preference of course…tomato vs. tomaaaato

 


From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
Sent: Monday, November 22, 2004 4:31 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Indicator Formula vs Chart

 

Hello,

 

> 1. When added to a chart, there should be no reference to the original “component”. It should be considered an “instance”.

 

There is NO reference already if you use double click or "Insert". AB creates a copy of the formula in that case.

Copies are creaed with tilde ~ character at start under "Custom" folder.

The reference (link) is used only when you use "Insert LINKED".

 

(there will be more on this in the docs)

 

> ...[. the remaining part of the latter ]]

 

Current solution provides maximum flexibility:

- it allows you to use components (the formulas that came with AB are components already)

- it allows to create indepenent layouts (because you are working on copies of formulas created automatically via "Insert")

- it allows to link directly to the file (if you ask deliberately for this - see INSERT LINKED)

 

Please read again carefully the "READ ME" file that says:

 

·  Workspace -> Charts tree now supports file deletion, renaming, creation of new files and folders plus more via Right-mouse button (RMMB) menu. Options available from RMB menu:

  • Insert - creates a copy of the selected file, insert _SECTIONS if necessary and inserts charts into new pane
  • Insert Linked - just inserts chart into new pane - the pane links directly to selected formula (so if you have more than one pane using the same formula, modifying it will modify the chart in all panes linked to it)
  • Overlay - overlays selected formula onto "active" pane. Active pane is the pane you have clicked on recently
  • Edit - opens Formula Editor and loads selected file for editing
  • Rename - allows to rename formula file
  • Delete - deletes the formula (permanently !) - charts panes linked to it will become black
  • New->Formula - creates new formula file
  • New->Folder - creates new folder
  • Refresh - refreshes directory/file tree

 


Best regards,
Tomasz Janeczko
amibroker.com

----- Original Message -----

From: Dimension

Sent: Monday, November 22, 2004 2:53 AM

Subject: [amibroker] Indicator Formula vs Chart

 

After playing around with 4.64 for little, I am overall happy with the changes and glad that Tomasz has released it.  There is one change that might cause me some grief however, and it does pertain to the Apply function some have been complaining about.  In my case, it is not so much the Apply button, but the model being used for building/editing charts.  Since I do a lot of experimenting, I would prefer my chart/view/setup not have a direct link to my indicator formulas after they (indicators) have been added to the chart.  In that way, I can do all the testing and experimenting I want, without affecting my indicators that I work so hard to create ( not! ).

Anyway, just for discussion purposes and perhaps to stimulate some constructive conversations and thoughts that may help in improving AB, I submit the following outline of how I would ideally prefer AB to handle Formulae and Charts (this of course, is subjective).

 

Indicator Formulas

  • Considered reusable components
  • When added to a chart, there should be no reference to the original “component”. It should be considered an “instance”.
    • The advantage of this is that you can make changes without affecting the core formula.
    • You can add and configure as many of the same formula to a chart you want, without having to worry about (inadvertently) changing the source Indicator itself.

 

Setup/Scenario Formulas: A chart setup (“view”) based on what your trading needs/goals are.

  • It is a collection of indicators/studies and price series (a setup) based on what your requirements are.  For a Weekly view, you have one setup, for a daily another, for trading the e-minis you have another or for scalping you may have another.
  • Basically a Setup would be it’s own separate entity (formula/script) which maintains no direct reference to the indicator formulas that make them up.
  • If these could be saved much like Formulas, then we solve the problem of worrying about changing our source formulas.
  • Formulas added to the Setup become a part of the Setup and no tie to the source is maintained ( they are an instance).
  • AB has the concept of Templates and Layouts…these are approximation of what I am talking about.  Right clicking and editing a pane should allow me to edit those (the template/layout/setup), not the source formulas…again, the concept of Instance vs. source object.

 



Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html






Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada



Yahoo! Groups Links