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 Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          572 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          331 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          549 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          550 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X