Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Program Stops with NinjaScript

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

    Program Stops with NinjaScript

    I would like to be able to program stops similar to ATM strategies, but inside of NinjaScript. Is it possible to do this without having a fully automated strategy? Would like a manual entry.

    #2
    Hello Lumbeezl,

    Thank you for the post.

    This is possible to combine manual entries with NinjaScript now, this is considered an Addon task. Take the superdom for example, it combines manual trading with ATM strategies. You can also do this in your code in a similar way although this is a more complex type of script.

    The following pages would be good areas to start learning:



    In the first link, it shows how to observe an account and its executions. With that, you can use the Submit method to create other orders much like you would in a strategy.

    Because this is coming from the addon namespace, you don't need to use a strategy specifically. This code could be in an indicator or other types. You could even go as far as making an addon that creates a new window with buttons.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    5 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    12 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    13 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,982 views
    3 likes
    Last Post jhudas88  
    Working...
    X