Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Numeric Selector resets Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
haroldv1
Posted : Wednesday, October 5, 2011 2:37:14 AM
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.

Bruce_L
Posted : Wednesday, October 5, 2011 8:22:57 AM


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
haroldv1
Posted : Wednesday, October 5, 2011 2:52:51 PM
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,

Bruce_L
Posted : Wednesday, October 5, 2011 3:04:33 PM


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
haroldv1
Posted : Wednesday, October 5, 2011 3:13:48 PM
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.
Bruce_L
Posted : Wednesday, October 5, 2011 3:17:37 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.