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 warreng86, 11-10-2020, 02:04 PM
    7 responses
    1,360 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Perr0Grande, Today, 08:16 PM
    0 responses
    5 views
    0 likes
    Last Post Perr0Grande  
    Started by elderan, Today, 08:03 PM
    0 responses
    9 views
    0 likes
    Last Post elderan
    by elderan
     
    Started by algospoke, Today, 06:40 PM
    0 responses
    10 views
    0 likes
    Last Post algospoke  
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    14 views
    0 likes
    Last Post maybeimnotrader  
    Working...
    X