Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.

    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.

        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.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by ETFVoyageur, Today, 08:54 AM
            3 responses
            22 views
            0 likes
            Last Post ETFVoyageur  
            Started by ETFVoyageur, Today, 02:15 AM
            3 responses
            21 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by Andrei60, Today, 08:56 AM
            0 responses
            11 views
            0 likes
            Last Post Andrei60  
            Started by ETFVoyageur, Today, 06:11 AM
            3 responses
            18 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by Belfortbucks, Today, 08:21 AM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X