Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SetStopLoss is not working

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

    SetStopLoss is not working

    Hello,
    I have the following statement in the strategy Initialize() section

    SetStopLoss("", CalculationMode.Percent, 5, false);

    however, stop loss is not executed. Could you tell me what I'm doing wrong?
    Thank you.


    #2
    practic,

    I believe you are submitting a 500% stop loss right now. Please try with 0.05
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi Josh,
      it works! thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by janefoster, Yesterday, 11:50 PM
      0 responses
      5 views
      0 likes
      Last Post janefoster  
      Started by kaywai, 07-13-2024, 09:05 PM
      3 responses
      27 views
      0 likes
      Last Post kaywai
      by kaywai
       
      Started by stafe, Yesterday, 01:32 PM
      2 responses
      19 views
      0 likes
      Last Post stafe
      by stafe
       
      Started by Jakub, Yesterday, 11:06 AM
      2 responses
      24 views
      0 likes
      Last Post ashpang
      by ashpang
       
      Started by MatthewLesko, 05-21-2021, 09:37 PM
      4 responses
      167 views
      0 likes
      Last Post Mahmad1323  
      Working...
      X