Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop entered without position?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Stop entered without position?

    My strategy is entering a stop without having a position. However when I step thou the code with MS VS it shows a long position before the stop but nothing is shown on the chart, see attached. Also there is nothing in the trace order info in the output window:-

    07/03/2012 13:48:33 Entered internal PlaceOrder() method at 07/03/2012 13:48:33: BarsInProgress=3 Action=Buy OrderType=Limit Quantity=1 LimitPrice=140.30 StopPrice=0 SignalName='pEntry' FromEntrySignal=''
    07/03/2012 14:11:00 Entered internal PlaceOrder() method at 07/03/2012 14:11:00: BarsInProgress=0 Action=Sell OrderType=Stop Quantity=1 LimitPrice=0 StopPrice=140.24 SignalName='Stop of Long' FromEntrySignal='pEntry'
    07/03/2012 16:16:56 Entered internal PlaceOrder() method at 07/03/2012 16:16:56: BarsInProgress=3 Action=Buy OrderType=Limit Quantity=1 LimitPrice=140.30 StopPrice=0 SignalName='pEntry' FromEntrySignal=''
    07/03/2012 16:17:37 Entered internal PlaceOrder() method at 07/03/2012 16:17:37: BarsInProgress=3 Action=Buy OrderType=Limit Quantity=1 LimitPrice=140.30 StopPrice=0 SignalName='pEntry' FromEntrySignal=''
    07/03/2012 16:17:37 Ignore order amendment: Action=Buy OrderType=Limit Quantity=1 LimitPrice=140.30 StopPrice=0 SignalName=pEntry' FromEntrySignal='' Reason='Order already has this stop price/limit price/quantity'
    Attached Files

    #2
    GKOnheiser,

    Thank you for your note.

    Is the FGBL the primary data series in your script or an added one?

    These orders you have posted are sending orders to a BarsInProgress 3, save for this one -

    07/03/2012 14:11:00 Entered internal PlaceOrder() method at 07/03/2012 14:11:00: BarsInProgress=0 Action=Sell OrderType=Stop Quantity=1 LimitPrice=0
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      There is only one data series and 3 time frames, primary is 1 min (BiP 0), 1 Day (BIP 1) and 1 Tick (BIP 3).


      Orders are submitted to BIP 0 and BIP 3.

      The strange thing for me is the fill that I see in MS VS at 14.12 but not in trace or on the chart??

      Comment


        #4
        GKOnheiser,

        Can you send me the strategy and the exact settings that you are running this one?

        Send the information to - platformsupport [at] ninjatrader [dot] com
        Put ATTN Cal in the subject and reference this thread in the body.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Hi Cal, not sure why that issue was happening but I've now altered my code a little and I can see the fill now in NT.

          Thanks for your help.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          82 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          43 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          64 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          68 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          56 views
          0 likes
          Last Post CarlTrading  
          Working...
          X