Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

submitting stop loss to reside at broker not computer

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

    submitting stop loss to reside at broker not computer

    Last night Microsoft pushed an update to my computer then instituted a reboot. I was in the middle of a trade. It would have been a very nice trade. Instead it was a sizable loss.

    How can I submit a stop-loss order that resides at the broker (Gain) when the position is opened? I don't want to submit a specific profit target because the price move may extend for a few hours. I want to exit once my exit criteria are met, but in case of a power loss or Micrsoft intervention, I was my stop-loss to reside at the broker for safety.

    How can this be done?

    Thanks,
    D

    #2
    Hello Paschall,

    Thank you for your post.

    According to this post, "Orders in a state "Accepted" or "Working" are on GAIN Capital/Forex.com servers."

    You can use ATM strategies to submit a stop loss order only(no profit target) upon entering a position.

    More information on ATM strategies can be found here.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks, Ryan. Can you program the ATM strategy like that from within another custom-developed strategy? I am running an autotrading strategy I developed. Which Ninjascript refernces can I use to program those ATM functions?

      Thanks for your help,
      D

      Comment


        #4
        Yes, this is possible.

        See the SampleAtmStrategy that comes preinstalled with NinjaTrader for some help on referencing ATM strategies in NinjaScript.

        There's also a reference guide on retrieving PNL from an ATM strategy here:
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Thanks very much for your help. I'll read the guide.

          Have a good weekend.
          --D

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          672 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          379 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          111 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          577 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          582 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X