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 abelsheila, 05-14-2025, 07:38 PM
      2 responses
      29 views
      0 likes
      Last Post hglover945  
      Started by nailz420, 05-14-2025, 09:14 AM
      1 response
      57 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by NinjaTrader_Brett, 05-12-2025, 03:19 PM
      0 responses
      326 views
      1 like
      Last Post NinjaTrader_Brett  
      Started by domjabs, 05-12-2025, 01:55 PM
      2 responses
      62 views
      0 likes
      Last Post domjabs
      by domjabs
       
      Started by Morning Cup Of Trades, 05-12-2025, 11:50 AM
      1 response
      81 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Working...
      X