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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          59 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          143 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          161 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          97 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          276 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X