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

Setting Profit Target

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

    Setting Profit Target

    Hi!

    I see that I can call AtmStrategyChangeStopTarget for setting a STOP, but what if I want to adjust the profit target at each bar close to maximize the profit?

    Thanks!
    Michael

    #2
    Hello Michael,

    You would refer the orderName of your profit target in AtmStrategyChangeStopTarget().
    JasonNinjaTrader Customer Service

    Comment


      #3
      SuperDOM

      Is there a way to have the TARGET and STOP show up in the SuperDOM? I am running the sample ATM strategy and don't see a way to have that show up programatically.

      Thank you for your help!

      Comment


        #4
        Nevermind!

        I see that the active strategy has to be chosen in the ATM Strategy drop down.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cutzpr, Today, 08:54 AM
        0 responses
        2 views
        0 likes
        Last Post cutzpr
        by cutzpr
         
        Started by benmarkal, Today, 08:44 AM
        0 responses
        4 views
        0 likes
        Last Post benmarkal  
        Started by Tin34, Today, 03:30 AM
        2 responses
        23 views
        0 likes
        Last Post Tin34
        by Tin34
         
        Started by sastrades, Yesterday, 09:59 AM
        2 responses
        35 views
        0 likes
        Last Post brucerobinson  
        Started by ETFVoyageur, Today, 12:52 AM
        1 response
        18 views
        0 likes
        Last Post Leeroy_Jenkins  
        Working...
        X