TC2000 Help SiteSoftware Help Scanning & SortingHow to Create a Condition for Price Crossing a Moving Average

How to Create a Condition for Price Crossing a Moving Average

Plotted indicators can be used to create a variety of conditions (behaviors).  In this example price and 200 period moving averages are used to create a crossover condition. The same steps will work for crossover conditions on any indicator. Here are the steps.

How to create the condition from an previously plotted moving average

1.  Click on the label for the Price Plot at the top of the chart.

2.  Click on the label for the Price Plot at the top of the chart.

Click on Create Condition.

Click on Create Scan Condition.

2.  Click on the condition drop down menu.

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

3. Select your desired relationship between price and the moving average.

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

4. Apply the condition

Click the:

  • Add To button to choose how to immediately apply the condition.
  • The Scan button to run an easy scan on the default watchlist in a new EasyScan window
  • Save to save the condition to the Library
  • Cancel to escape without completing the condition

For instructions to Save Conditions to the library click here.

How to create the condition without plotting a moving average

1.  Click on the label for the Price Plot at the top of the chart.

2.  Click on the label for the Price Plot at the top of the chart.

Click on Create Condition.

Click on Create Scan Condition.

2. Click the plus sign "+" next to price history to add a child indicator.

3. Select the desired moving average type.

4. Click on the indicator title to edit the child indicator.

5. Set desired parameters. Select OK.

6.  Click on the condition drop down menu.

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

7. Select your desired relationship between price and the moving average.

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

8. Apply the condition

Click the:

  • Add To button to choose how to immediately apply the condition.
  • The Scan button to run an easy scan on the default watchlist in a new EasyScan window
  • Save to save the condition to the Library
  • Cancel to escape without completing the condition

For instructions to Save Conditions to the library click here.