Scato, stock pattern scanning and position sizing