Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

script autotrading

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

    script autotrading

    I have a very simple question.
    Maybe this question has been answered before but I was not able to find the information.
    So I had someone made a script for me with just enter in different direction.
    Initially we put stop but that didn't work out because in that precise moment another order was made in opposite direction. So it end up doubling order. So we got rid of stop and it worked fine. But we would like to put stop loss and profit target into our equation and when we did that whenever stop loss is triggered the script strategy just stops and does not get back in when the condition is met again. Is that normal?

    It should get back in to trading when we were tapped out from stop loss previous trade when the script strategy is on?

    Thank you .

    #2
    Hello sk_future, and thank you for your question.

    The internal order handling rules were responsible for your strategy behaving the way it has been. I am including them in this post for reference. Please let us know if there are any other ways we can help.

    Originally posted by http://ninjatrader.com/support/helpGuides/nt7/managed_approach.htm
    The following rules are true per unique signal name:


    Methods that generate orders to enter a position will be ignored if:
    A position is open and an order submitted by an exit method (ExitLongLimit() for example) is active and the order is used to open a position in the opposite direction
    A position is open and an order submitted by a set method (SetStopLoss() for example) is active and the order is used to open a position in the opposite direction
    The strategy position is flat and an order submitted by an enter method (EnterLongLimit() for example) is active and the order is used to open a position in the opposite direction
    The entry signal name is not unique

    Methods that generate orders to exit a position will be ignored if:
    A position is open and an order submitted by an enter method (EnterLongLimit() for example) is active and the order is used to open a position in the opposite direction
    A position is open and an order submitted by a set method (SetStopLoss() for example) is active

    Set() methods that generate orders to exit a position will be ignored if:
    A position is open and an order submitted by an enter method (EnterLongLimit() for example) is active and the order is used to open a position in the opposite direction
    A position is open and an order submitted by an exit method (ExitLongLimit() for example) is active
    Jessica P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 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
    545 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