Head and Shoulder Bottom
Author: callahan1681
Creation Date: 11/13/2008 3:53 PM
profile picture


I am new to Wealth Lab. I am just learning to use C#. Could anyone provide me with
the code to back test a head and shoulder bottom. Thank you.
profile picture


Here's a very quickly reversed H&S Top system that comes out-of-the-box.

Please log in to see this code.

One suggestion as I review the generated trades. A check should be added -- it could be as simple as "Price < SMA(100)" -- to actually verify we're in the middle of a downtrend or at the bottom when a H&S-B pattern is detected.
profile picture



Does this code work for intraday (5 or 15 min) data?
profile picture


Yes but it's much easier to for a 15% move to be noticed on higher time frames. Adjust parameters accordingly.