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 |

Parameter Symbol Text Input Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
psrkn
Posted : Tuesday, December 19, 2006 7:00:51 PM
Registered User
Joined: 12/1/2004
Posts: 56
Greetings,

I would like to compare relative strength of two symbols. One symbol input is from the main Watch list (Telechart)that I selected, and the another one is a real-time variable that I could manually keyed in to some kind of Text Input on the SnapSheet toolbar.

Currently, we can compare the main symbol form Telechart to SP-500. I don't know how to create a Snapin to compare relative strength from the main symbol to a parameter text input. So, the comparison would not be just to SP-500.

Please help me and give me the detail instruction.

Thank you in advance.
psrkn
Bruce_L
Posted : Wednesday, December 20, 2006 10:17:17 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you are using the Symbol RS vs Symbol Study from the Web Library, it already has the ability to change the Comparison Symbol by typing in another Symbol:

Left-click where it says vs SP-500, Standard & Poors 500.
Enter a new symbol under vs Symbol in QuickEdit.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
psrkn
Posted : Wednesday, December 20, 2006 12:36:55 PM
Registered User
Joined: 12/1/2004
Posts: 56
I know about changing the symbol in the Symbol RS vs Symbol, which is the Study from the Web Library. What I really want to have is to replace SP-500 with a variable parameter, and have a dialog box that I can manually key in the value for the second symbol in realtime (the first input is from Telechart Watch list, and the second input come from the dialog box).

How do I crate a dialog box for keying in the second input?

Thank you for your help.
psrkn
Bruce_L
Posted : Wednesday, December 20, 2006 1:33:03 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
To place an adjustable Patch Panel in a Pane's Legend:

Right-click on a blank portion of the Pane's Legend.
Select Patch Panels | Add Patch Panel | Symbol.
Left-click and drag on the Symbol Block Input (red question mark).
Select Select Block... | Parameter: Symbol.
Change the options in the upper right hand corner as desired.
- To only display the symbol, change Show Name In Legend to False.

To use the Patch Panel in the Symbol RS vs Symbol Study:

Right-click on vs (SP-500, Standard & Poors 500).
Select Properties.
Right-click on the Parameter: Symbol Block (SP-500).
Select Replace | Passthrough: Symbol.
Left-click and drag on the Passthrough: Symbol Input (red question mark).
Select Tool Window | (Whatever you named the Patch Panel or Symbol Picker).

You could do something similar by adding a Symbol Picker to a Toolbar. It should be noted at this point that using a Text Input in a Toolbar would not provide Symbol output and allow you to change the Comparison Symbol.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Kuf
Posted : Wednesday, December 20, 2006 1:45:59 PM


Administration

Joined: 9/18/2004
Posts: 3,522
We need a Text to Symbol block to acomplish something what you described above(oversight on our part). We'll add that block for the next build.

Once in place you could use the Text Input Tool to type a symbol and have it change the symbol in your diagram.

Ken Gilb (Kuf)
Chief Software Engineer - Worden Brothers Inc.
Try/Catch - My RealCode Blog
psrkn
Posted : Wednesday, December 20, 2006 4:16:48 PM
Registered User
Joined: 12/1/2004
Posts: 56
Thank you.. Bruce & Kuf.

I will wait for the next build then, to get a text to Symbol block.

Regards,
psrkn

Bruce_L
Posted : Wednesday, December 20, 2006 4:17:30 PM


Worden Trainer

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

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ehj
Posted : Saturday, July 21, 2007 11:45:22 AM
Registered User
Joined: 10/7/2004
Posts: 5
QUOTE (Kuf)
We need a Text to Symbol block to acomplish something what you described above(oversight on our part). We'll add that block for the next build.

Once in place you could use the Text Input Tool to type a symbol and have it change the symbol in your diagram.


Was this capability ever added?

Thx.
brexxx
Posted : Sunday, July 22, 2007 11:04:42 PM
Registered User
Joined: 7/24/2006
Posts: 131
Yes. Try using the "Parameter: Symbol" Block. I can explain further if necessary.
ehj
Posted : Monday, July 23, 2007 10:08:58 PM
Registered User
Joined: 10/7/2004
Posts: 5
QUOTE (brexxx)
Yes. Try using the "Parameter: Symbol" Block. I can explain further if necessary.


Cool. Thank you.

I have two more questions:

1) Is there a why to determine the current symbol within a code block?

2) Is there a way to read in the data for an arbitrary symbol within a code block?

Many thanks!

eric
Bruce_L
Posted : Tuesday, July 24, 2007 12:29:42 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (ehj)
Is there a why to determine the current symbol within a code block?

While you can use a Symbol Block to convert a Symbol to Text so it can be displayed, I do not know of any Blocks that would let you check if a Symbol is a particular symbol.

QUOTE (ehj)
Is there a way to read in the data for an arbitrary symbol within a code block?

You can use a Parameter: Symbol Block as the Symbol Input for a Price or Volume Block.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
ehj
Posted : Tuesday, July 24, 2007 12:49:50 PM
Registered User
Joined: 10/7/2004
Posts: 5
Hmmm...

Okay. One application is pairs trading where a block can detect what symbol is coming in and then based on that symbol read in another symbol's data and compute some analysis.

Perhaps there is a different way to do this?

I also noticed I can't use "using" stmts (C#). That's a shame as I have some of my own libraries I'd like to access.

eric
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.