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

Manual Trading with Automatic position management SL,TP,BE Strategy

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

    Manual Trading with Automatic position management SL,TP,BE Strategy

    Hi Guys,

    Ive search high and low the forums but cant seem to find anything on this so sorry if your repeating yourself on such a simple question.

    I would like to know if its possible to create a ninjascript strategy to manage open and new positions that are created manually, i.e create bracket orders for SL/TP automatically and adjust the SL to BE and potentially trailing.

    I submit manual trades via IB TWS App, so ATM strategies are not going to work for me.


    Do you have any pointers of where to begin with this? Im sure what im asking is possible

    Thanks All

    #2
    Hello mr_trade,
    Thanks for your post.

    There may be ways to do this but it would not be recommended or supported. It is my understanding that the way NinjaTrader pulls account related information is that an execution needs to occur in NinjaTrader for that account to get an update from your broker. Essentially NinjaTrader would not reliably see any orders placed from within TWS.

    If you wanted to do all of your order entry from within NinjaTrader it would be possible to accomplish something like this by using the Addon framework to "listen" for account events like a fill, and then execute other logic. This help guide page has a great example of listening for account updates. Although the page says this is for an "Addon", you could also use this inside of an indicator or strategy.

    Josh G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Jon17, Today, 04:33 PM
    0 responses
    1 view
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    4 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Started by alifarahani, Today, 09:40 AM
    6 responses
    41 views
    0 likes
    Last Post alifarahani  
    Started by Waxavi, Today, 02:10 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Working...
    X