Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

more of EnterLongLimit()

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

    more of EnterLongLimit()

    As clarification:

    Code:
     [SIZE=4][FONT=Arial][SIZE=4][FONT=Arial]iOrderL2 = EnterLongLimit([/FONT][/SIZE][/FONT][/SIZE][FONT=Arial][SIZE=4][COLOR=#800080][FONT=Arial][SIZE=4][COLOR=#800080][FONT=Arial][SIZE=4][COLOR=#800080]3[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Arial][SIZE=4][FONT=Arial][SIZE=4], [/SIZE][/FONT][/SIZE][/FONT][FONT=Arial][SIZE=4][COLOR=#0000ff][FONT=Arial][SIZE=4][COLOR=#0000ff][FONT=Arial][SIZE=4][COLOR=#0000ff]false[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Arial][SIZE=4][FONT=Arial][SIZE=4], iQuantity2, (GetCurrentAsk(3[/SIZE][/FONT][/SIZE][/FONT][FONT=Arial][SIZE=4][FONT=Arial][SIZE=4])), sENTRY2L);[/SIZE][/FONT][/SIZE][/FONT]
    EnterLongLimit(3, << BIPindex==3 (example Range1)

    false, << stay live until new BIP == 3 bar opens ?? OR is it the new BIP==0 bar that the chart is running on (ie a 5 minute bar)

    (GetCurrentAsk(3)), << from BIP==3

    Given that a 5 minute bar is active for longer than 1 range bar, and the order is called on asks of a 1 range, so each time the 1 range forms a new bar the asks is requested as the limit price for an entry == correct?? (As long as the 5 minute bar isnt replaced so that the conditions that were fulfilled for the entry are still in effect even though the 1 range bar is rebuilt several times in 5 minutes, and the order isnt filled)

    Thanks,
    Jon
    Last edited by Trader.Jon; 03-19-2011, 12:16 PM.

    #2
    Hello,

    It would be the BIP that its running on.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Originally posted by NinjaTrader_Brett View Post
      Hello,

      It would be the BIP that its running on.

      Let me know if I can be of further assistance.
      Brett,

      Thanks , I was afraid of that ... is there any suggestion for a workaround so that it responds to the BIP==3 ??

      I feel it would be a valuable option to be available as such.

      Thanks,
      Jon

      Comment


        #4
        Hello,

        Not sure what you mean.

        Let me clarify, it will run on the BIP that the entry order is submitted on. So when the BIP runs it will updated the GetCurrentAsk() when BIP == 3 run. Isnt this what your looking for?


        I look forward to assisting you further.
        BrettNinjaTrader Product Management

        Comment


          #5
          Still in confused indexing

          Originally posted by NinjaTrader_Brett View Post
          Hello,

          Not sure what you mean.

          Let me clarify, it will run on the BIP that the entry order is submitted on. So when the BIP runs it will updated the GetCurrentAsk() when BIP == 3 run. Isnt this what your looking for?


          I look forward to assisting you further.
          Brett,

          To clarify, sorry for confusion:

          which BIP does the 'false' refer to in my example in message#1??


          ... BIP0=5 minute (that is the chart/SA)

          OR

          BIP3=1 range (which is the index and target price)

          Thanks,
          Jon

          Comment


            #6
            Hello,

            It had to do with this:

            EnterLongLimit(int barsInProgressIndex, bool liveUntilCancelled, int quantity, double limitPrice, string signalName)

            The first parameter you submit here, which is 3. Is the BIP this will last until it is auto cancelled unless called again.


            Let me know if I can be of further assistance.
            BrettNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            561 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            325 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
            547 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            547 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X