• 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 GARZONJ, Today, 09:41 PM
    0 responses
    1 view
    0 likes
    Last Post GARZONJ
    by GARZONJ
     
    Started by mike09, Today, 07:37 PM
    0 responses
    6 views
    0 likes
    Last Post mike09
    by mike09
     
    Started by bebbus, Today, 04:03 PM
    2 responses
    7 views
    0 likes
    Last Post bltdavid  
    Started by Unicorn_Catcher, Today, 04:06 PM
    1 response
    8 views
    0 likes
    Last Post User1104  
    Started by punkiy2111, Today, 04:02 PM
    3 responses
    4 views
    0 likes
    Last Post User1104  
    Working...
    X