Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automated Trading - 3rd Party Application

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

    Automated Trading - 3rd Party Application

    I have a 3rd party external application in vb.net, referencing the NinjaTrader.client.dll

    In placing a 'bracketed' order, i.e., simultaneous stop-loss and target, my only option appears to be to call a pre-determined ATM strategy.

    However, at the time of trade entry, I need these values to be calculated, at that moment, based on several market parameters, such as ATR (average true range). So:

    1. Is there an OIF command or .client command to do this?
    2. If not, is there a way for my external program to read, then AMEND the stop-loss and target prices that were placed with the ATM strategy?
    3. If the above are not available, then ?? are my options?

    It sure seems that this capability should be part of automated trading.....

    (Is it possible for my application to 'find' the ATM strategy if located on my machine, open it, amend it, close it, then call it???)

    Thank you.

    #2
    Welcome to our forums kennepal, the normal approach would be to trigger a predefined ATM template through the Place command and then change it's stop / target values to your desired / calculated ones, the same would for example hold true if you were working directly in our NinjaScript, the template could not be created dynamically although that's something on our list of feedback to consider for the future. Please also note we would not officially support the NT Client dll.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by WHICKED, Today, 12:45 PM
    2 responses
    16 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by GussJ, 03-04-2020, 03:11 PM
    15 responses
    3,272 views
    0 likes
    Last Post xiinteractive  
    Started by Tim-c, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    2 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    51 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Working...
    X