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

AtmStrategyCreate() parameters generated dynamically?

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

    AtmStrategyCreate() parameters generated dynamically?

    I have a strategy that computes entry price & stop loss exit price. I'd like to keep my overall risk at a fixed amount by computing the order quantity based upon the number of ticks between the entry price and the stop loss exit price and the risk per tick.

    Can I somehow dynamically create an ATM with strategy computed parameters such as order quantity, 1 target quantity, 1 target stop loss, 1 target profit target 1, (i.e. fields from the ATM screen on Dynamic Super DOM) so that I can enter an order with my imputed quantity amount to achieve this objective?

    If not, and I do it with EnterLongStop(), SetStopLoss(), SetTrailStop(),etc, can I then dynamically modify these strategy created orders in the Dynamic Super Dom screen?

    If the answer to both is no, then please take this as a suggestion to extend AtmStrategyCreate() to expose the ATM fields.

    Lastly, when ATM templates are saved, where are they put? Could I access this in the file system or in the sdf file to place a strategy there and then call it by reference?

    #2
    richtobey, unfortunately what you wish to do is not possible. The ATM strategy must already exist in the database before it is called. I will forward this on as a suggestion.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Follow Up...

      Hi,

      I'd like to follow up on this and see if this feature has been added. If not, I second the motion to make sure this is part of NT8.

      When looking at the AtmStrategyCreate() parameters it seems that all of the major options can be set dynamically EXCEPT Order qty. This makes the use of ATM in my FOREX strategies useless for all practical purposes.

      -Thanks

      Comment


        #4
        Hello,

        This feature has not been added to the recent updates to NinjaTrader 7.

        However, I will add your vote to add this feature for development to consider for NinjaTrader 8.

        Thank you for your vote.
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        44 views
        0 likes
        Last Post jeronymite  
        Started by Barry Milan, Yesterday, 10:35 PM
        7 responses
        20 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by AttiM, 02-14-2024, 05:20 PM
        10 responses
        179 views
        0 likes
        Last Post jeronymite  
        Started by ghoul, Today, 06:02 PM
        0 responses
        9 views
        0 likes
        Last Post ghoul
        by ghoul
         
        Started by DanielSanMartin, Yesterday, 02:37 PM
        2 responses
        13 views
        0 likes
        Last Post DanielSanMartin  
        Working...
        X