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

Create a parked STOP order with simple stop loss

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

    Create a parked STOP order with simple stop loss

    I'm new to NT so i'm asking you guys how to park an order until 08:20 a.m.
    It should be a STOP order with 1 target stop loss set as price (not ticks).
    Can you help me with the code?
    Do i have to code a strategy for EVERY order or i can apply it to new orders?
    Thx

    #2
    A strategy can submit many orders. It will execute everything automatically. There are many resources to help you get stated.

    Here is a good jump in point -

    RayNinjaTrader Customer Service

    Comment


      #3
      Ok i'll check all the guide, but as programmer i know that there are many ways to do the same thing and i'm looking for a good start.
      Any piece of code? Anyone?
      All collective2 subscribers would appreciate a little help..... Many trade signals are parked and we don't know how to do it.
      You could think about adding it to basic entry window....
      Thx

      Comment


        #4
        There are also reference samples on our forums that may help you get the ball rolling for various different things you may find of value. Please look at the Reference Sample: http://www.ninjatrader-support.com/v...splay.php?f=30

        Also to throw some ideas out there for you, set a bool variable to true after your trade conditions have been evaluated to true. Now use a time filter along with the bool to determine when to submit your order to market. Take a look at the time filter reference.

        Basically something along the lines of
        if (time is greater than 8:20 && bool is true)
        {
        EnterLongStop();
        }
        Last edited by NinjaTrader_JoshP; 03-14-2008, 12:40 AM.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by FrazMann, Today, 11:21 AM
        2 responses
        6 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by rjbtrade1, 11-30-2023, 04:38 PM
        2 responses
        80 views
        0 likes
        Last Post DavidHP
        by DavidHP
         
        Started by Spiderbird, Today, 12:15 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by lorem, Yesterday, 09:18 AM
        5 responses
        18 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        12 responses
        42 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X