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 charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            56 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
            160 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            96 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