• 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

ATR Trailing Stop Long / stop Entry

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

    ATR Trailing Stop Long / stop Entry

    I need some building a strategy for backtesting with the ATR Trailing Stop.

    How would I use the wizard to go Long on a ATR Trailing Stop trend change (see attached)

    with a exit when the ATR trailing stop flips to the short direction.

    Thanks,

    Charlie
    Attached Files

    #2
    Hello ProlongWealth,
    Welcome to the Ninjatrader Forum!

    It sounds like what you want may require a little bit of Ninja scripting outside of just the wizard, but you could certainly use the wizard to set up most of the variables and indicators you will need.

    For your question, it kind of depends on how you would personally like it set up but you could do something similar to the following as a base and work from there.

    In the strategy wizard in the condition builder where you see the set 1, set 2, set 3…
    In the first set you could add the condition
    If ATR of 0 bars ago (current bar) is greater than the Highest Bar of the last 10 bars enter long
    In the second set I would add the condition
    If ATR of 0 bars ago (current bar) is less than ATR of 10 bars ago Exit Long
    You may want to look in the Ninjascript file sharing portion of the forum also, there is a ATR Trailing Stop indicator a user built that is available for download.
    Here’s a link to the download its self
    http://www.ninjatrader.com/support/f...&catid=1&id=20

    While we cannot build strategies for you, we can certainly help you with any questions you have along the way. You can also take a look at our Ninjascript consultants page if you would like to have a specific strategy built for you, here is that link.
    http://www.ninjatrader.com/Ecosystem/NonBroker.php#81

    I think you could also benefit from this video we have on our YouTube channel. It’s a recording from a previous webinar we held all about building a strategy in the Strategy wizard. https://www.youtube.com/watch?v=Maaq...DD7105&index=2

    This is a reference to the strategy wizard help guide it has all a lot of good information on the wizard.
    http://www.ninjatrader.com/support/h...egy_wizard.htm

    Finally if you didn’t already know we constantly have live webinars on different portions of Ninjatrader. They are a great resource to see someone using NinjaTrader live and you have the ability to ask them questions while they are doing it. Here is a link to our schedule if you would like to attend one in the future.
    http://www.ninjatrader.com/ProductEducation.php

    Please let me know if I may be of further assistance.
    Last edited by NinjaTrader_Jesse; 04-17-2014, 06:59 AM. Reason: forgot url
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by tvaughan4, Today, 10:46 PM
    0 responses
    0 views
    0 likes
    Last Post tvaughan4  
    Started by digibob, Today, 10:01 PM
    0 responses
    1 view
    0 likes
    Last Post digibob
    by digibob
     
    Started by ptertich, Today, 09:59 PM
    0 responses
    1 view
    0 likes
    Last Post ptertich  
    Started by sledge, Today, 06:11 PM
    1 response
    9 views
    0 likes
    Last Post sledge
    by sledge
     
    Started by Bionian, Today, 02:46 PM
    2 responses
    9 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X