Free Simple EMA Crossover cBot
 0
  0
  1402
03 Aug 2022, 11:24
// I need help here bool close_buy = standart_ema.Result.LastValue > fast_ema.Result.LastValue; bool close_sell = standart_ema.Result.LastValue < fast_ema.Result.LastValue; var buy_position = Positions.Find("order_buy", SymbolName, TradeType.Buy); var sell_position = Positions.Find("order_sell", SymbolName, TradeType.Sell); if...