| JUL 1988
SIDEBAR: Testing your macros
Testing your macros The lines between the {Down} macros separate the processing. Each macro is a separate line and you rename each macro as '\x in order to test it separately. You can use other letters if you choose. I always use '\x for test macros in order to avoid confusion. Next, set up the range name for Range1, Range2, Counter1, and Counter2 using the /Range Name Down command. Lastly, when it is time to invoke the macro, put the cursor somewhere such that you can observe the down movement, and hit Alt x. Enhanced uses of {Down} If you read the documentation for 2.0, you probably know the tedium of typing multiple {Down}s has been relieved by allowing you to write {Down 5} in order to get the cursor to move down 5 when the macro is invoked. The first macro demonstrates this improvement. Using {Down} with a range name Less well publicized is that {Down} will take a range name as the number of time to move down. For the second example, you invoke {Down Counter1} and the macro would drop by the number found in the range Counter1. There will be situations in developing technical analysis programs in which the cursor must {Down} some number of rows which you have calculated. Some other part of the program could calculate that value, store it in Counter1, and then use it in the {Down Counter1} command.
by Technical Analysis, Inc.
Technical Analysis of STOCKS & COMMODITIES
The Traders’ Magazine since 1982
has had over 1,226,237 subscribers from 174 different countries.
37,000 Page Traders’ Archive for $89.99
To continue reading, sign-up for trial access to Traders.com and the S&C Archive — 37,000 pages of trading ideas!
After verifying your email address, you will have limited access to the S&C Archive, as well as access to a Digital Edition of S&C, and access to Traders.com Advantage and Working Money for 30 days.
Not a subscriber to Technical Analysis of
STOCKS & COMMODITIES magazine?
Click
here to subscribe, or request
a trial subscription.
Log-in now to view articles from the S&C Archive.
Your Subscriber ID is located at the top of your magazine label, highlighted here in red.
Your last name can be found on the second line, highlighted here in blue.
*If you have a company name on the label, that can also be used. It will appear below your name on the label.
If you do not have a Subscriber ID on your label, you can find it on your statement or renewal form.
For help locating your Subscriber ID number, please call us at 1-800-832-4642 or send an email to Survey@Traders.com. If sending an email, please include your name and mailing address.