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 AaronKoRn, Today, 09:49 PM
    0 responses
    2 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Today, 08:42 PM
    0 responses
    8 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Today, 07:51 PM
    0 responses
    9 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,975 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    9 views
    0 likes
    Last Post rbeckmann05  
    Working...
    X