• 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 imalil, Today, 04:28 PM
    0 responses
    2 views
    0 likes
    Last Post imalil
    by imalil
     
    Started by bboyle1234, Today, 03:47 PM
    0 responses
    1 view
    0 likes
    Last Post bboyle1234  
    Started by caveat_lector, Today, 03:46 PM
    0 responses
    3 views
    0 likes
    Last Post caveat_lector  
    Started by fx.practic, Today, 03:29 PM
    0 responses
    3 views
    0 likes
    Last Post fx.practic  
    Started by Captain Jack, Today, 02:53 PM
    0 responses
    5 views
    0 likes
    Last Post Captain Jack  
    Working...
    X