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

Question RE: the Pre-Set Stop & Targets in an Automated Strategy in NT8

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

    Question RE: the Pre-Set Stop & Targets in an Automated Strategy in NT8

    With an automated strategy in NT7, once the trade entry is triggered,
    the strategy places the place the stop and target(s) based upon the
    pre-set parameters defined in the strategy (simple example: 2 targets;
    4 total contracts: 1 Stop: 10 ticks; T1: 16 ticks (2 contracts); T2;
    32 ticks (2 contracts); when T1 is achieved move Stop to BE +1).

    Once the automated trade is triggered in NT7 you can't manually move
    either the stop or the targets. Is this still the case with automated
    strategies in NT8? My interest would be to have the flexibility to
    move the targets only given a particular trading dynamic. I plan on
    hiring a programmer for a project to implement a conditional automated
    strategy but would like to have the ability to adjust the targets as
    necessary without the added expense of creating a gooey.

    Thanks in advance for any input.
    Jim

    #2
    Hello TraderJim618,

    Thanks for your post.

    Yes, still the same in NT8, with a standard strategy you would not be able to move stop or target.

    In both NT7 and NT8 it is possible to create a strategy that will place the entry orders and when the entry order is filled a designated ATM strategy template (that you define/create) will then take over providing the ATM selected stops and profit targets as you defined them. Like an ATM you have the option to interact with them directly. Once the exit order is filled, the strategy would continue working to the next entry order.

    In both NT7 and NT8, you can review the example strategy SampleAtmStrategy in your NinjaTrader that will place long entries and once entered, if you have a strategy template named precisely "AtmStrategyTemplate", the ATM will take over for the stops and targets. So you can create the ATM and save the template with that name and then run that strategy to see what that would look like. Please note that this type of strategy would be real-time data only (or market replay), you cannot backtest ATM strategies with historical data.

    The SampleAtmStrategy is well documented internally (in its code) to help explain what is going on and your (or your coder) can reference the help guide for the special ATM properties and methods used in the ninjascript based strategy, here are links for both:



    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,602 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    8 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    18 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    4 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    12 views
    0 likes
    Last Post Javierw.ok  
    Working...
    X