Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AtmStrategyCreate()

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

    #16
    To be more clear about my strategy , i am using a script in witch there is an atmstrategy joined and customised to work with my initial script ,so the script open the trade and the atm take rules of managing trades .
    my question is : sometime happend that trailing stop or tp can not executed dmif there is a volatility of price , and that cause to get error message and close of strategy and it desactivated so to cover this situation can we use something special in code to let me take price once disponible mean at place of close byberror , let strategy take the order on the market price as second choice or something like this ?

    Comment


      #17
      Hello mariorac19,

      It is not recommended to mix Atm Strategy methods with native NinjaScript strategy order methods.

      An order error causing the strategy to be disabled is from native order methods and would not occur with AtmStrategy methods which do not effect the strategy position, order methods, or performance. You can think of these as manually placed orders that are not seen by the strategy without using special Atm Strategy method calls.

      Are you certain there are no native strategy methods in the script?
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      56 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      37 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      18 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      20 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      49 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X