Registered User Joined: 1/26/2005 Posts: 4
|
I would like to create an EasyScan to search for stocks that meet this condition:
(MACD +) 2 days ago < (MACD -) 2 days ago AND (MACD +) > (MACD -)
In other words, the MACD was negative two days ago and now it is in positive territory.
I would like to add this condition to an EasyScan.
Can you show me how to program this? Thanks.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Well can't create a Condition Formula for this without knowing the setting of the MACD.
Understanding MACD
I can give you a technique you can use to do this without knowing the settings however if you are going to be using this in an EasyScan anyway.
Add a 1-Period Simple Moving Average with on Offset of 2 to the MACD to use to check for the requirements of 2-bars ago. Then click on this moving average and select Create Scan Condition to create a Condition Formula for MACD being below zero 2-bars ago.
Creating Scan and Sort Conditions
You can click on the MACD itself and select Create Scan Condition to create a Condition for the MACD being above zero as normal. Then add both Conditions to the same EasyScan as EasyScan Conditions.
EasyScan Basics
EasyScan Expanded
-Bruce Personal Criteria Formulas TC2000 Support Articles
|