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 StockTrader88, 03-06-2021, 08:58 AM
      45 responses
      3,992 views
      3 likes
      Last Post johntraderuser2  
      Started by TAJTrades, Today, 09:46 AM
      0 responses
      7 views
      0 likes
      Last Post TAJTrades  
      Started by rhyminkevin, Yesterday, 04:58 PM
      5 responses
      62 views
      0 likes
      Last Post dp8282
      by dp8282
       
      Started by realblubb, Today, 09:28 AM
      0 responses
      8 views
      0 likes
      Last Post realblubb  
      Started by AaronKoRn, Yesterday, 09:49 PM
      1 response
      19 views
      0 likes
      Last Post Rikazkhan007  
      Working...
      X