i did it this way
orderCloseLong = ExitLongStopLimit(Close[1], Close[1], "ExitLong", "LongStopLimit"); orderCloseLong.IsLiveUntilCancelled = true; orderShort = EnterShortStopLimit(1, Close[1], Close[1], "ShortStopLimit"); orderShort.IsLiveUntilCancelled = true;
21.12.2020 9:16:01 Strategy 'Test/221732070': Entered internal SubmitOrderManaged() method at 21.12.2020 9:16:01: BarsInProgress=0 Action=Sell OrderType=StopLimit Quantity=0 LimitPrice=3704,50 StopPrice=3704,50 SignalName='ExitLong' FromEntrySignal='LongStopLimit'
21.12.2020 9:16:01 Strategy 'Test/221732070': Entered internal SubmitOrderManaged() method at 21.12.2020 9:16:01: BarsInProgress=0 Action=SellShort OrderType=StopLimit Quantity=1 LimitPrice=3704,50 StopPrice=3704,50 SignalName='ShortStopLimit' FromEntrySignal=''
Strategy 'Test/221732070': An Enter() method to submit an entry order at '21.12.2020 9:16:00' has been ignored. Please search on the term 'Internal Order Handling Rules' in the Help Guide for detailed explanation.
help me pleeease
Comment