| Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 11/20/2006 Posts: 14
|
Hi, I have follow the direction for using the Numeric Selector as a common variable for multiple realcode indicators. However when I restart StockFinder it recompiles the realcode indicators and resets the Blocks. Is there anyway to save the Blocks settings.
Previous posted directions...
It requires editing the code block diagram. Here are the step. The tricky part is that you can connect a connection to the numeric selector by directly mousing to the numeric selector field.
1. write the code for module, for example called do_it, with a userinput as in
'# theValue = userinput.integer = 1234
...
...
...
2. add the numeric selector to the toolbar.
3. Edit the block diagram for do_it and reconnect the userinput on the code block [1234]==>[ do_it ]
to the numeric selector by clicking and dragging to the numeric selector field outside the block diagram edit window and presto!
4. remove the original numeric parameter block [1234]
5. to display the numeric selector value in the legend add a legend block and connect the numeric selector to it
and you are done.
|
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
RealCode Block Diagrams are dynamically generated every time the RealCode is compiled and are not really designed to be edited. You can edit them to get the types of results you describe for a single session, but they will not survive a restart of StockFinder because the RealCode is stored as source and recompiled when it is first loaded.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/20/2006 Posts: 14
|
Ok, thought it would make a good switch for some of my indicators. Any other suggestions for a global switch. What is the purpose of the numeric selector? Was its main purpose designed just for a single session?
Thank you,
|
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I really can't think of a good way to do this in the current version of StockFinder that would not involve creating an entirely Block Diagram based Indicator from scratch. We wold need to know a lot more details to help you create an indicator of this type.
You will need to edit the Block Diagram for Price History. Block Diagrams have been de-emphasized in StockFinder but the Your First 3 Block Diagrams video covers creating Block Diagrams. Most people don't do much with Block Diagrams and use Drag and Drop or RealCode exclusively.
The numeric selector (and several other similar features such as patch panels) were important parts of the program before RealCode was introduced, when it was was based entirely on Blocks and Block Diagrams. As Block Diagrams became de-emphasized, so did the features built around Block Diagrams.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/20/2006 Posts: 14
|
Yes I remeber Blocks back before StockFinder. Never got a chance to work with creating Block indicators. Thank you for the video and your support. I'll post if I come up with something usefull.
|
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
|
Guest-1 |