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

Stop loss + Profit Target

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

    Stop loss + Profit Target

    Hello,

    I am working on a intra day strategy, for example ieach time that there is a doji I go long,

    I need:

    1. A stop loss 2 ticks bellow the doji.
    2. my profit target in ticks = the size in ticks of the doji, (if the doji is 6 ticks , my profit target is 6 ticks etc)

    Thank you.

    Diego.-
    Last edited by alemandiego; 09-24-2018, 01:54 PM.

    #2
    Hello alemandiego,

    Thanks for your first post!

    Before getting into how the strategy can be written, I highly encourage watching the Strategy Builder 301 tutorial if you have not done so as it will show you how the Strategy Builder can be used to create strategies like the one you describe.

    Strategy Builder 301 - https://www.youtube.com/watch?v=HCyt90GAs9k

    I'm unsure what you mean by the size of the doji if a doji is considered to be when the open and close are virtually equal. If you are considering the High-Low or the Open-Close, you could consider using either of these price levels to define the profit target.

    You may use the Strategy Builder to create a strategy that enters when the close and the open are equal (a doji,) and you may use SetStopLoss to set your stop loss 2 ticks from your entry. Your profit Target could be placed with one of the ExitLong methods like ExitLongLimit() if it is going to be set to a variable price. In the Strategy Builder, orders must be submitted with each iteration of the strategy logic to keep the order alive.

    I've included a link to the Strategy Builder 301 tutorial as well as the documentation on the Managed Approach which is used by the Builder.

    Managed Approach - https://ninjatrader.com/support/help...d_approach.htm

    Please let us know if you have any additional questions.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by dward123, 01-02-2024, 09:59 PM
    4 responses
    174 views
    0 likes
    Last Post Lancer
    by Lancer
     
    Started by ETFVoyageur, Today, 04:00 PM
    2 responses
    19 views
    0 likes
    Last Post ETFVoyageur  
    Started by AaronKTradingForum, Today, 03:44 PM
    1 response
    9 views
    0 likes
    Last Post AaronKTradingForum  
    Started by Felix Reichert, 04-26-2024, 02:12 PM
    11 responses
    80 views
    0 likes
    Last Post Felix Reichert  
    Started by junkone, 04-28-2024, 02:19 PM
    7 responses
    84 views
    1 like
    Last Post junkone
    by junkone
     
    Working...
    X