Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder & Scalping / Runner strategy

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

    Strategy Builder & Scalping / Runner strategy

    Hi,

    I'm new to the NT ecosystem and would like to say first that I have found a lot of very useful information in this forum, congrats to the NT support team!

    I'm experimenting the Strategy Builder / Ninja Scripts, trying to push the limits of the Builder before jumping in the code.

    As an exercise based on this article, but applied on MES future, I'm trying to create the following:

    Based on these conditions: Price cross above EMA + MACD cross above 0 in last 5 periods
    * Enter a long position with 2 contracts
    * set a target profit P ticks
    * set a stop loss L ticks
    * When target 1 reached
    * exit long for 1 contract
    * set target profit to 2nd contract to new profit variable (current + P2 ticks)
    * set a trailing stop to L2 ticks

    I might even miss the proper steps in this explanation, but although I think I can see how to that in the ATM, I don't see how to make such rules in the Strategy Builder.

    Thanks for your help
    Discover a simple momentum strategy and its profit-protecting exit rules.

    #2
    Hello Nagash,

    Thanks for your post and welcome to the Ninjatrader forums!

    If you have not gone through the strategy builder resources you may want to review:

    Free live webinar every other Thursday at 4:00 PM EST, through this link to all webinars: https://ninjatrader.com/PlatformTraining
    Previous recording of the Strategy Builder 301 webinar: https://youtu.be/HCyt90GAs9k?list=PL...auWXkWe0Nf&t=2
    Help guide for the strategy builder: https://ninjatrader.com/support/help...gy_builder.htm

    For multiple orders with different targets (and/or stops) you would need to place a separate order for each and use a signal name to tie the entry to a specific profit target or stop.

    The strategy builder uses Fixed targets that are fixed when the strategy is created so you would not be able to use the stops/targets for dynamic assignments in the strategy builder. If you need dynamic targets, you can monitor the current price to the entry price and use other exit orders.

    You cannot use both a fixed stop and a trailstop on the same order, as you are placing two seperate orders you could set one to a fixed stop and the other to a trailing stop.

    For further insight to a break even or trailing stop, you may want to review the examples in this thread: https://ninjatrader.com/support/foru...rategy-builder
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the quick response Paul. The samples provided on that thread look like the beginning of an answer, I'll dig into that tonight.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cocoescala, 10-12-2018, 11:02 PM
      7 responses
      939 views
      0 likes
      Last Post Jquiroz1975  
      Started by oviejo, Today, 12:28 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by geddyisodin, Yesterday, 05:20 AM
      7 responses
      46 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by gbourque, Today, 06:39 AM
      2 responses
      5 views
      0 likes
      Last Post gbourque  
      Started by cre8able, Yesterday, 07:24 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X