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 argusthome, Yesterday, 10:06 AM
          0 responses
          20 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          18 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          14 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          9 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          38 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X