Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simulated Stop for STPLMT

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

    Simulated Stop for STPLMT

    Hi, I have a custom code that was created for me but I need to change it to a Simulated Stop. Does anyone know where I can find someone who can help me edit the code?

    #2
    Hello kyamato,

    SetStopLoss() has a isSimulatedStop bool parameter that can be set to true. Note that this would submit a stop market order and not a stop limit.
    SetStopLoss(string fromEntrySignal, CalculationMode mode, double value, bool isSimulatedStop)


    You could also use logic to wait until a specific price is reached to submit an ExitLongStopLimit() or other stop limit type order method.

    I am also including a link to a forum post with helpful information about getting started with NinjaScript and c#.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Would you be able to correct the code if I send it via Private message?

      Comment


        #4
        Hello,

        Unfortunately, in the support department at NinjaTrader it is against our policy to create, debug, or modify, code or logic for our clients. Further, we do not provide C# programming education services or one on one educational support over the phone in our NinjaScript Support department. This is so that we can maintain a high level of service for all of our clients as well as our associates.

        That said, through email we are happy to answer any questions you may have about NinjaScript if you decide to code this yourself. We are also happy to assist with finding resources in our help guide as well as simple examples, and we are happy to assist with guiding you through the debugging process to assist you with understanding unexpected behavior.

        You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our NinjaTrader Ecosystem team follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request or provide one on one educational services.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        649 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        576 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X