Hello, 

I am trying to get my algo to place a StopMarketOrder, but each time I try it seems to skip this line of code.

if self.smafast.IsReady and self.smaslow.IsReady:
            if self.smafast.Current.Price > self.smaslow.Current.Price:
                self.Log("Trade Triggered!")
                if float(float(self.PortValSell) / float(self.Value_of_EURUSD)) < 1000:
                    self.Quantity_Sell = 1000
                    self.StopOrder_Sell = self.StopMarketOrder("EURUSD", self.Quantity_Sell, self.StopLossSell)
                    self.StopOrder_Sell

Author