adding ATR order sizing function