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 losses in multiple time frames

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

    Stop losses in multiple time frames

    Hi,

    I am using a strategy that is based on multiple time frames, these being daily, weekly and monthly.

    The issue that I have is that I want to set the stoploss based on the weekly price and to be executed when looking at the weekly timeframe , but it seems to be executed based on the daily price, e.g the one with the smallest update period.

    Thus my question is twofold;

    How does the stoploss actually work in a multiple timeframe environment,(is it as I described above)?
    If so how do I get a stoploss to work on the weekly timeframe rather than the daily?

    TIA,

    Graham.

    #2
    Graham,

    If you are using SetStopLoss() it is independent of the time frame and goes by the most frequently updated (daily in your case).

    Only way to get it off of weekly is if you use explicit exit orders like ExitLong() and only submit it when your weekly price breached your stop price.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by morrnel, Today, 06:07 PM
    2 responses
    14 views
    0 likes
    Last Post morrnel
    by morrnel
     
    Started by thumper57, Yesterday, 04:30 PM
    6 responses
    20 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by sastrades, 05-10-2024, 09:59 AM
    3 responses
    55 views
    0 likes
    Last Post rc5781
    by rc5781
     
    Started by guyonabuffalo, Yesterday, 10:01 PM
    2 responses
    22 views
    0 likes
    Last Post guyonabuffalo  
    Started by reynoldsn, 05-10-2024, 07:04 PM
    5 responses
    28 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X