I'm new to Quant Connect and also relatively new to coding in general. To get to grips with developing strategies on this platform I am trying to develop a simple moving average crossover strategy with an ATR stop loss.

I believe my code is using a trailing ATR stop, however I want it to work such that the stop loss is set at a fixed price above/below the opening price of my trade.

Would anyone be able to give me pointers on how to do this?


Thanks :)