• 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

Add ATM to a strategy

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

    Add ATM to a strategy

    I want to add an ATM strategy to my automated system I created. I have been building it using strategy wizard and I am pretty new to writing code and programming. However is there an easy way to add an ATM strategy where I move my stop to break even if I get plus 9 ticks? Also I would like to know how to do a trailing stop within an automated system if anyone can help me that would be great! Thanks!

    Marc

    #2
    Marc,

    Unfortunately this would need to be coded manually rather than by using the strategy wizard.

    There is a strategy sample that comes with NinjaTrader accessible through Tools > Edit NinjaScript > SampleATMStrategy. Essentially you can create a strategy in the ChartTrader or SuperDOM, and then reference it by name in the SampleATMStrategy code.

    SetTrailingStop() is the function that can set trailing stops. Here is a link to the help guide entry on it.

    http://www.ninjatrader.com/support/h...ttrailstop.htm

    This is also accessible in the "Stops and Targets" menu of the Strategy Wizard as "Trailing Stop".

    We have a great webinar on "Automated strategy development" every other Tuesday. The next one is on the 13th at 5:30 EST. Please find a link to our webinar schedule below. These webinars are free, live and interactive. No registration is required.

    http://www.ninjatrader.com/webinars

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jrobin747, Today, 02:37 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by Gav_G, Today, 01:23 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by webus, Today, 01:05 PM
    2 responses
    17 views
    0 likes
    Last Post webus
    by webus
     
    Started by Wick Wrangler, Today, 12:42 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by pman777, 04-15-2020, 05:09 AM
    5 responses
    48 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X