// Once the price is greater than entry price +8 ticks, set stop loss to breakeven: if (Close[0] > Position.AveragePrice + 8 * TickSize) { [B]SetStopLoss[/B](CalculationMode.Price, Position.AveragePrice); }
Position.MarketPosition = MarketPosition.Long Position.GetUnrealizedProfitLoss(PerformanceUnit.Ticks, Default input[0]) > 8 DO: [B]ExitLongStopMarket[/B](DefaultQuantity, (Position.AveragePrice +5) "", "");
The reason I have to do it through the strategy is because the ATM doesnt always come on for some reason? thanks!
Comment