{"id":1309,"date":"2007-10-20T05:00:09","date_gmt":"2007-10-20T05:00:09","guid":{"rendered":"http:\/\/www.amibroker.org\/userkb\/2007\/10\/20\/modifying-built-in-formulas\/"},"modified":"2007-10-20T05:13:41","modified_gmt":"2007-10-20T05:13:41","slug":"modifying-built-in-formulas","status":"publish","type":"post","link":"http:\/\/www.amibroker.org\/editable_userkb\/2007\/10\/20\/modifying-built-in-formulas\/","title":{"rendered":"Modifying Built-in Formulas"},"content":{"rendered":"
Any indicator, or formula, can be easily changed while at the same time preserving the original version.<\/p>\n
To create another version of a formula:<\/strong><\/p>\n 1) Right click on the formula, or indicator, in the Workspace >> Charts Tree<\/strong> and pick Edit<\/strong> from the context menu that opens.<\/p>\n <\/p>\n The Formula Editor<\/em> window will open with the code for the selected formula in place.<\/p>\n 2) Click inside the Formula name<\/strong> input box, to position the cursor, and over-type to change the name of the formula, or add a version number (if the name is a long one use the arrow keys to move the cursor to the end of the box).<\/p>\n <\/p>\n 3) Click on Save<\/strong> and the ‘new’ formula will be entered into the same folder as the original (the Formula Editor<\/em> will remain open).<\/p>\n <\/p>\n 4) Once the formula has been saved under a different name the code can be changed.<\/p>\n Modify the code and Save<\/strong> the changes.<\/p>\n <\/p>\n 5) When the changes to the formula are complete Save<\/strong> and close.<\/p>\n Bob’s your uncle (as we say in Orstralia).<\/p>\n","protected":false},"excerpt":{"rendered":" Any indicator, or formula, can be easily changed while at the same time preserving the original version. To create another version of a formula: 1) Right click on the formula, or indicator, in the Workspace >> Charts Tree and pick Edit from the context menu that opens. The Formula Editor window will open with the code for […]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[97],"tags":[],"_links":{"self":[{"href":"http:\/\/www.amibroker.org\/editable_userkb\/wp-json\/wp\/v2\/posts\/1309"}],"collection":[{"href":"http:\/\/www.amibroker.org\/editable_userkb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.amibroker.org\/editable_userkb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.amibroker.org\/editable_userkb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.amibroker.org\/editable_userkb\/wp-json\/wp\/v2\/comments?post=1309"}],"version-history":[{"count":0,"href":"http:\/\/www.amibroker.org\/editable_userkb\/wp-json\/wp\/v2\/posts\/1309\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.amibroker.org\/editable_userkb\/wp-json\/wp\/v2\/media?parent=1309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.amibroker.org\/editable_userkb\/wp-json\/wp\/v2\/categories?post=1309"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.amibroker.org\/editable_userkb\/wp-json\/wp\/v2\/tags?post=1309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}