|
||
| Investor/RT Tutorials Adding Technical Indicator Columns to QuotePages Also See: Custom
Column Tour (Note: While the tutorial below can be very helpful in learning more about scans, schedules, and custom V# variables, this method of creating custom columns has largely been superceded by a built-in custom column mechanism. To learn more about this built-in custom column feature, please read the Three Line Break - Custom Columns tutorial.) This Tutorial will demonstrate how it is possible within Investor/RT to create custom columns in quotepages which will monitor any user specified value, including technical indicators. The columns may be set to anything the user can express using the Investor/RT RTL language. The tutorial below may seem lengthy and involved, but the whole process is actually quick and simple once you've learned the basics behind it. In this specific example, we will add four columns to a quotepage which will track.....
Tutorial will be helpful in the following areas..
Now, let's create a new scan with the following syntax... SET(V#1, MACD) AND SET(V#2, LRS)
|
||
|
I will select the quotepage "myQuotePage" as the object quotepage for the scan. I will also choose to run the scan on 5 minute data. You should note that if you also choose to run this scan on 5 minute data, you should make sure you have a day or two of valid intraday data on the symbols in your quotepage. Otherwise, you can choose to run the scan on Daily data for just for the sake of this tutorial. Now click on the "Save" button. You will be asked for the preferences of the indicators involved in the scan. These preferences are really up to the discretion of the user and you may just want to use the defaults or mimic the preferences as you can see in the scan window below. The last window will ask you to supply a name for you scan and I have chosen to call mine "SetIndicators". The resulting scan window should look something like this....
Now that we have a basic understanding (I hope) of what the scan is doing, let's move on to scheduling our scan. From the main menu, choose "Setup Schedule". First, let's create a new schedule. Click on the "New" button below the list of schedules (which may be empty if this is your first schedule). Let's give it a name of "SetIndicators" and choose to run it every 5 minutes during the the US Stocks session. Your schedule setup should look something like this....
Now click "OK". Let's now add our scan to this new
schedule we've created. With our "SetIndicators" schedule
selected on the left, click on the "New" button under the
"Actions" list (which should be empty). Now we are ready to give descriptive names to our user variables (V#). From the main toolbar, choose "Setup Prefs: User Variables". This window allows us to customize the column names that will be shown when we add our custom columns to a quotepage. First, click on V#1 in the list on the left. On the right, under the text "Column Title for V#1", type in "MACD" and choose a display format of four decimal places (99.9999). Now click "Apply". Now repeat this process for V#2, V#3, and V#4 as follows...
V#1:MACD:99.9999 V#2:LRS:99.9999 V#3:SLOWD:99.99 V#4:20Min%Chg:99.99
Now click "OK" to close the User Variable window. We are now ready to add our custom columns to our
quotepage. I will return to the quotepage I referenced above
"myQuotePage". In the quotepage toolbar, click the
"Add a New Data Column"
The four custom columns should update every 5 minutes as the scheduled scan runs. You can choose to run your schedule more frequently if you wish by changing the schedule setting to run every minute or less. You can sort each of your new custom columns by simply clicking on the column heading (MACD, LRS, etc.). Click once to sort ascending, then again to sort descending, then again to go back to ascending, etc. You can even set the quotepage up to automatically sort on any of these columns using the quotepage preferences. |
||