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 llanqui, Today, 08:32 AM
    1 response
    5 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by lollers, Yesterday, 03:26 AM
    1 response
    51 views
    0 likes
    Last Post lollers
    by lollers
     
    Started by Salahinho99, 05-05-2024, 04:13 AM
    7 responses
    59 views
    0 likes
    Last Post Salahinho99  
    Started by knighty6508, 05-10-2024, 01:20 AM
    4 responses
    29 views
    0 likes
    Last Post knighty6508  
    Started by OllieFeraher, 05-09-2024, 11:14 AM
    6 responses
    19 views
    0 likes
    Last Post OllieFeraher  
    Working...
    X