You may see detailed formulas and codes in http://www.traders.com/Documentation/FEEDbk_docs/Abstracts_new/Tsokakis/tsokakis.html Dimitris Tsokakis