• 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 hir04068, Today, 06:58 AM
    0 responses
    4 views
    0 likes
    Last Post hir04068  
    Started by escobar63, Yesterday, 05:06 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by Brutus, Today, 06:00 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by phesi, Today, 03:36 AM
    2 responses
    8 views
    0 likes
    Last Post phesi
    by phesi
     
    Started by Guru73, Today, 01:35 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Marco  
    Working...
    X