Tutorial - Scans - Renaming Tokens

Now let's look atthe following scan...

MAFIVE > MATEN AND MAFIVE1 <= MATEN1

The first thing you may notice about this scan expression is that the tokens MAFIVE and MATEN don't exist in the list of available scan tokens. These scan tokens names were the result of the renaming of two different moving average (MA) tokens. This scan required the use of the same token (MA) twice. In order to differentiate the two moving averages, we are required to rename MA.

Let's start by adding the first MA to the list on the right by first double clicking on it in the list on the left. The preferences window will appear. For the first moving average, let's choose a Simple 5-Period Smoothing of the Close. Now you will see the token MA in the list on the right. To change the name, simply click next to the right of the token name (in the list on the right). You should see a cursor blinking to the right of the MA. Now just type FIVE, so that your new token name is MAFIVE. Now let's just repeat the step above by adding a 10-Period Close MA and then renaming this one to MATEN. Now you have your five period and ten period moving averages available for use in the scan.

Renaming of tokens can be useful whenever you need to use the same token multiple times in the scan expression, but with different preferences.

Now let's look at some other useful operators and commands that can be used in scans...

<<Previous<< >> Next >>