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 AaronKoRn, Yesterday, 09:49 PM
    0 responses
    11 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    10 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    12 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,982 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Yesterday, 06:48 PM
    0 responses
    10 views
    0 likes
    Last Post rbeckmann05  
    Working...
    X