• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop Loss based on Signal Bar

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

    Stop Loss based on Signal Bar

    Within the Strategy Wizzard, is there a way to set a stop loss one tick below (if long) the signal bar?

    For example, your signal fires to go long. The system enters on the open of the next bar. Can you set the stop loss to one tick below the low of the bar that the signal fired on?

    If it is not possible within the Strategy Wizzard, can you provide the sample code of how it would be done?

    Thanks

    #2
    jojab,

    You need to store the exact price you want to submit at in a variable and then use CalculationMode=Price and use that stored price.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Gorkhaan, Today, 02:55 AM
    0 responses
    4 views
    0 likes
    Last Post Gorkhaan  
    Started by mbell.irves, Today, 12:36 AM
    0 responses
    11 views
    0 likes
    Last Post mbell.irves  
    Started by cutzpr, Yesterday, 09:18 PM
    0 responses
    7 views
    0 likes
    Last Post cutzpr
    by cutzpr
     
    Started by CoffeeOutlaw, Yesterday, 05:59 PM
    3 responses
    22 views
    0 likes
    Last Post CoffeeOutlaw  
    Started by Da vinci, Yesterday, 04:19 PM
    2 responses
    15 views
    0 likes
    Last Post Da vinci  
    Working...
    X