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 elirion, Today, 01:36 AM
    0 responses
    3 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by gentlebenthebear, Today, 01:30 AM
    0 responses
    2 views
    0 likes
    Last Post gentlebenthebear  
    Started by samish18, Yesterday, 08:31 AM
    2 responses
    9 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by Mestor, 03-10-2023, 01:50 AM
    16 responses
    389 views
    0 likes
    Last Post z.franck  
    Started by rtwave, 04-12-2024, 09:30 AM
    4 responses
    31 views
    0 likes
    Last Post rtwave
    by rtwave
     
    Working...
    X