Strategy Builder: Other exits not possible when "Stops and Targets" defined? - futures io
futures io



Strategy Builder: Other exits not possible when "Stops and Targets" defined?


Discussion in NinjaTrader

Updated
    1. trending_up 330 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 1 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Strategy Builder: Other exits not possible when "Stops and Targets" defined?

(login for full post details)
  #1 (permalink)
philmg
Frankfurt + Hessen//Germany
 
 
Posts: 3 since Mar 2014
Thanks: 1 given, 0 received

Hey there, I am using Strategy Builder to write my strategies. I have the following problem: When I define exits (stops and targets) under "Conditions and actions" they work fine, but when I add stops and/or targets under "Stops and Targets", my initially defined exits stop working. It seems, that any stop or target exit under "Stops and Targets" overwrites any other exits that have been defined. Is this the case or do I misunderstand anything? How can I define for example exits in both "Stops and Targets" and "Conditions and actions". I tried simply writing all my stops (initial and breakeven) under "Conditions and actions", but then in some cases, when the entry bar is really big and it passes already my intital stop the strat doesn't catch it, because it only calculates again on the next bar and realizes that it has entered and now has to issue the stop. Any advice? Thanks for helping out!

Reply With Quote

Can you help answer these questions
from other members on futures io?
Order cumulation
TradeStation
Displaying Individual order entry bars for multiple Brac …
NinjaTrader
Can anyone help convert this pine script to EasyLanguage?
EasyLanguage Programming
NFP
TradeStation
Futures calendar spreads with TS
TradeStation
 
 
(login for full post details)
  #2 (permalink)
 DavidBodhi 
Milwaukee, WI, USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Equities
 
DavidBodhi's Avatar
 
Posts: 180 since Oct 2014
Thanks: 17 given, 186 received


philmg View Post
Hey there, I am using Strategy Builder to write my strategies. I have the following problem: When I define exits (stops and targets) under "Conditions and actions" they work fine, but when I add stops and/or targets under "Stops and Targets", my initially defined exits stop working. It seems, that any stop or target exit under "Stops and Targets" overwrites any other exits that have been defined. Is this the case or do I misunderstand anything? How can I define for example exits in both "Stops and Targets" and "Conditions and actions". I tried simply writing all my stops (initial and breakeven) under "Conditions and actions", but then in some cases, when the entry bar is really big and it passes already my intital stop the strat doesn't catch it, because it only calculates again on the next bar and realizes that it has entered and now has to issue the stop. Any advice? Thanks for helping out!

Without seeing exactly what you're doing, it's hard to respond intelligently. That said, be aware that Ninjatrader does not allow trailing and static stops to operate in the same script. Additionally, there may be an issue with the names of the stops or targets. If you re-use the same name, your stops or targets will 'overwrite' previous instances. If your target is named "Target1" and is placed 10 ticks below a long entry, but you also insert, in your conditions, a target named "Target1" that moves to the bottom of each bar as it closes, the first placement of Target1 is cancelled and is replaced by the second instance.
If you need both stops/targets, under Conditions and Actions AND under Stops and Targets, give them different names.
Hope that helps.

Follow me on Twitter Reply With Quote
The following user says Thank You to DavidBodhi for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > Strategy Builder: Other exits not possible when "Stops and Targets" defined?


Last Updated on September 13, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts