TC2000 Help SiteSoftware Help Scanning & SortingHow to Create a Condition From the Chart for Two Moving Averages Crossing

How to Create a Condition From the Chart for Two Moving Averages Crossing

Plotted indicators can be used to create a variety of conditions (behaviors).  In this example the 40 and 200 period moving averages are used to create a crossover condition. Here are the steps.

1. Plot the two moving averages you would like to use along with Price in the chart window.

2. Click on the label for the moving average you want to do the crossing

2. Click on the label for the moving average you want to do the crossing.

3. Click on Create Condition in the drop down menu

Click on Create Scan Condition.

4. Click on the condition drop down field

3. In the Create Scan Condition Window change Greater Than to either Crossing Up Moving Average 200 or Crossing Down Moving Average 200.

5. Select the relationship you would like between the two moving averages

4. Select the desired Time Frame.

6. Select the point at which the condition should occur

The true field will let you set parameters for when or how often the condition returned true.

  • Now = Condition is true for current bar
  • x bars ago = Condition was true specified number of bars ago
  • within last x bars = Condition was true at least once within the specified period of bars
  • x bars in a row = Condition has been true for the last specified number of bars

7. Apply the condition

Select from the Apply To menu the way you want to apply the condition set

  1. Scan Results (Scan in a new window)
  2. Scan Plot (historical scan plot)
  3. Scan Plot Summary (summary of scan results over time)
  4. Sort Column (sortable column in new WatchList)
  5. Item in Layout (apply to chart or WatchList in current layout)
  6. Buy (place a stock or option buy conditional order based on the conditions)
  7. Sell (place a stock or option sell conditional order based on the conditions)
  8. Copy to Clipboard (copy conditions to computer clipboard for reuse)

For instructions to Save Conditions to the library click here.