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

EnterLongStopLimit

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

    EnterLongStopLimit

    to enter the market on a specific tick ( I've used AddDataSeries(Data.BarsPeriodType.Tick, 1) )

    I'm using this:

    EnterLongStopLimit(1, true, numberOfContracts, price, price, name) is there anything I should be aware of?

    (vague question, sorry, but just checking for any known issues)?

    #2
    Hello dibDab,

    Thank you for your post.

    You have used the overload for EnterLongStopLimit() that asks for the barsInProgressIndex, and using 1 for that value would submit the order to the 1-tick data series. This means that OnBarUpdate() will be called for the added series on each tick, and the EnterLongStopLimit() would be processed on each tick. I believe that is what you are asking. We also have a reference sample that demonstrates submitting orders to an added data series that may be found here:
    https://ninjatrader.com/support/help...ipt_strate.htm

    For more information about multi-time frame and instruments, please see the following page:


    Please let us know if we may be of further assistance.
    Last edited by NinjaTrader_Emily; 03-09-2023, 08:14 AM. Reason: added link to multi-time frame and instruments page
    Emily C.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by 00nevest, Today, 02:27 PM
    1 response
    8 views
    0 likes
    Last Post 00nevest  
    Started by futtrader, 04-21-2024, 01:50 AM
    4 responses
    41 views
    0 likes
    Last Post futtrader  
    Started by Option Whisperer, Today, 09:55 AM
    1 response
    12 views
    0 likes
    Last Post bltdavid  
    Started by port119, Today, 02:43 PM
    0 responses
    8 views
    0 likes
    Last Post port119
    by port119
     
    Started by Philippe56140, Today, 02:35 PM
    0 responses
    7 views
    0 likes
    Last Post Philippe56140  
    Working...
    X