Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hard Stop, But is "Replaced" by a Trailing Stop once a Target is hit

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

    #16
    outstretchedarm, sorry I'm not following you here - the NinjaScript order entry methods such as EnterLong() and AtmStrategyCreate() do not have any connection - it's using either one or the other not both.

    The regular NinjaScript methods like your EnterLong() would be suitable for backtesting as well, while the AtmStrategy methods are only workable in Market Replay and Realtime Trading.

    I would highly suggest taking some time to work wit the SampleAtmStrategy first, for this have an Atm template with the name 'AtmStrategyTemplate' created on either your DOM or ChartTrader first.

    Comment


      #17
      I understand that. But why isnt the ATM strategy exiting the trades that my strategy enters. Why is it all green and never fires?

      Comment


        #18
        I'm not following you here - are you attempting perhaps to backtest with the ATM strategy methods in your NinjaScript > that would not be possible unfortunately, please run it realtime or in Market Replay.

        Comment


          #19
          no, no backtesting. real time trading.

          Comment


            #20
            Then I'm not exactly sure what you issue is : please run the SampleAtmStrategy in realtime or Market Replay to get a better understanding how this process should work. It will buy on a limit order and once filled apply the 'AtmStrategyTemplate' set exit parameters.

            ATM's are not reported in the Strategies tab anymore with NT7.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            67 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            36 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            60 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            62 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            53 views
            0 likes
            Last Post CarlTrading  
            Working...
            X