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

Strategy with RTH times and stoploss & target

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

    Strategy with RTH times and stoploss & target

    Hi,

    I have a simple strategy, that runs on the RTH timeschedule. It uses profit target and stoploss (by the strategy builder). I don't want the stoploss or target to be hit outside the RTH times, but only during RTH. How can I set this up? If the open is below stoloss or target, then the strategy immediately needs to get out of the position. The problem is that I can backtest it, by setting the strategy to RTH, but can not make it work in a live account.

    Regards,
    Denis

    #2
    Hello Denis,

    Thanks for your post.

    There would be no means available for preventing a stop loss order or profit target order from being filled when it is hit.

    If you would like your strategy to run on RTH trading hours then you could set the chart to use an RTH Trading Hours template and enable the strategy on the chart. Or, run the strategy from the Strategies tab of the Control Center and set the Trading Hours property in the UI to an RTH trading hours template when adding/enabling the strategy.

    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by JoMoon2024, Today, 06:56 AM
    0 responses
    6 views
    0 likes
    Last Post JoMoon2024  
    Started by Haiasi, 04-25-2024, 06:53 PM
    2 responses
    19 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    6 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Started by poplagelu, Today, 05:00 AM
    0 responses
    3 views
    0 likes
    Last Post poplagelu  
    Working...
    X