Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom stop loss using strategy builder?

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

    Custom stop loss using strategy builder?

    Is it possible to have a custom stop loss using strategy builder?

    What I am trying to do is to update the stop loss as long as the profit increases (some sort of profit protection) but I wasn't able to figure out how to do it in strategy builder, not sure if it's even possible.

    Also, is it possible somehow to attach ATM to a strategy in order to manage that custom stop loss?

    #2
    Hello Harry Croi,

    Thanks for your post.

    You can create a custom trailing stop or a breakeven stop if you wish. Please see the examples posted by my colleague NinjaTrader_Chelsea here: https://ninjatrader.com/support/foru...rategy-builder

    It is possible to use ATM templates however not in the strategy builder.

    You can construct a Ninjascript strategy that will use a specified ATM template and the template can be configured as you wish. In your NinjaTrader is an example of this type of strategy called SampleAtmStrategy. Please review this strategy in the Ninjascript editor as the code is the best example we have of this type of hybrid strategy. The code of the strategy is well commented to help understand the requirements of use as well as how the various property and methods work. The comments advise to create an ATM template (for the demonstration) called "AtmStrategyTemplate" and it can be created as you wish to configure it.

    The sampleATMstrategy uses special methods and properties that do not access the normal strategy methods and properties, here is a link to the help guide section on these special ATM methods and properties: https://ninjatrader.com/support/help...gy_methods.htm

    Please note:
    1. The Strategy Builder does not support ATMs
    2. Strategies that use ATM methods cannot be "backtested" in the strategy analyzer.
    3. Strategies that use ATM methods can be tested with Playback using Market replay data.
    4. Strategies that use ATM methods need to skip historical data processing (as shown in the example strategy).
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by RobotSyndicate, Today, 04:27 AM
    0 responses
    1 view
    0 likes
    Last Post RobotSyndicate  
    Started by Ray12345, Today, 04:10 AM
    0 responses
    2 views
    0 likes
    Last Post Ray12345  
    Started by Behungr101, Today, 02:16 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by omermirza, Yesterday, 08:37 PM
    2 responses
    12 views
    0 likes
    Last Post NT-Roland  
    Started by aelagha, Today, 01:28 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X