Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy is not executing contineously once stop loss is hit

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

    Strategy is not executing contineously once stop loss is hit

    Hi ,
    when i start strategy it runs initially and take positions but once stop loss is hit it will not positions again because in realized PNL in strategy tab it will have -ve number becuse of which it will not take new positions but once if i restart strategy it will take new positions by resetting realized PNL in strategy tab to 0.

    please let me why it is happening and how i can make it to run contineously.
    Attached Files

    #2
    Hi, thanks for posting. You can add Print() to the strategy entry condition to see if its being reached or not. E.g.

    if(<entry condition>)
    {
    Print("Long Signal");
    EnterLong();
    }

    As long as the strategy is enabled, it is ready to take trades based on the conditions.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kevinenergy, 02-17-2023, 12:42 PM
    117 responses
    2,766 views
    1 like
    Last Post jculp
    by jculp
     
    Started by Mongo, Today, 11:05 AM
    5 responses
    15 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by SightCareAubetter, Today, 12:55 PM
    0 responses
    3 views
    0 likes
    Last Post SightCareAubetter  
    Started by traderqz, Today, 12:06 AM
    8 responses
    16 views
    0 likes
    Last Post traderqz  
    Started by SightCareAubetter, Today, 12:50 PM
    0 responses
    2 views
    0 likes
    Last Post SightCareAubetter  
    Working...
    X