Registered User Joined: 10/7/2004 Posts: 9
|
I could not get my quesition in during the conference last night ( excellent by the way:) Do you have some examples of how to write PCF's to show convergences and divergences between price and an indictor, for example, stochastics?
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It would depend on your particular unambiguous objective definition of convergences and divergences, but let's start with a fairly simple way to search for a divergence between Price and Stochastics for example:
Click on Price and select Create Condition. Then select Moving Up from the Condition drop-down menu (Net, % or Smart would do, but I'd start with Smart). Then set the Period of the Condition to the number of bars over which you wish to check for a divergence.
Indicators, Sorting & Scanning
Then do the same thing with the Stochastic indicator, but Moving Down instead of Moving Up.
You can then add both the Conditions to the same Scan. Checking for a divergence where Price was Moving Down and Stochastics was Moving Up would just be a matter of switching around how you created the Conditions.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|