Registered User Joined: 1/30/2005 Posts: 25
|
Following up on a previous discussion, I would like to modify and experiment with the Zig Zag "Indicator". Blocks provides only the % change version. , and I would like to modify it to reference, not only the Close, but, possibly, the High, the Low, and, maybe, some other values. I would also like to create a $ change version.
For that, I would need to have these answers:
1) Is it possible to modify an existing indicator, or to create a "new" one similar to it?
2) Is it possible to get access to get access to the code inside a block to edit it?.
3) Finally, is all this documented anywhere, so I don't have to "bug" you guys?
Thanks for your help.
Can you help me get started?
Thanks again.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (grogoff) Is it possible to modify an existing indicator, or to create a "new" one similar to it?
That depends on the Indicator. I do not know of a way to do so for the Zig Zag "Indicator" because the Block that calculates the Indicator is pre-compiled as part of the program.
QUOTE (grogoff) Is it possible to get access to get access to the code inside a block to edit it?
That depends on the Block.
I do not know of a way to do so for pre-compiled Blocks.
it is possible to do so for Blocks that are in the \Blocks Files\(Username)\Code folder however. Your Custom Code Blocks are in the My CodeBlocks folder and the Code Blocks that are not compiled into the program are in the Worden folder. You would want to copy the Code for blocks in the Worden folder and create your own Custom Code Block however because any changes made to Code Blocks in the Worden folder will not survive a restart of Blocks.
You may wish to review the following for more information on Custom Code Blocks (it uses old terminology):
Hello World! Writing Code Blocks in Visual Basic .Net
RealCode has replaced Custom Code Blocks as the preferred method of using Code within Blocks.
QUOTE (grogoff) Finally, is all this documented anywhere, so I don't have to "bug" you guys?
There will always be questions that aren't answered in any of the documentation or tutorials.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|