• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 mestril, Today, 06:00 AM
    0 responses
    3 views
    0 likes
    Last Post mestril
    by mestril
     
    Started by Goolden, Today, 05:47 AM
    0 responses
    4 views
    0 likes
    Last Post Goolden
    by Goolden
     
    Started by kujista, Today, 12:59 AM
    0 responses
    6 views
    0 likes
    Last Post kujista
    by kujista
     
    Started by Gerik, Today, 12:14 AM
    0 responses
    5 views
    0 likes
    Last Post Gerik
    by Gerik
     
    Started by Bionian, Yesterday, 11:47 PM
    0 responses
    6 views
    0 likes
    Last Post Bionian
    by Bionian
     
    Working...
    X