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 zstheorist, Today, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      150 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      6 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      33 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      6 views
      0 likes
      Last Post tkaboris  
      Working...
      X