Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom ATM and Chart Trader

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

    Custom ATM and Chart Trader

    Is there any way to custom code an ATM and be able to use it from Chart Trader without calling the custom ATM from a strategy?

    #2
    Mike, you can definitely use ATM strategies from Chart Trader. When you do the entry, just make sure your strategy is selected in the ATM strategy box, as show in the attached screenshot.
    Attached Files
    AustinNinjaTrader Customer Service

    Comment


      #3
      I thought so but I can't seem to get it to work. I'm using the SampleAtmStrategy. Created an ATM AtmStrategyTemplate just as was described in the code for SampleATMStrategy. I created AtmStrategyTemplate with a 21 tick stop and that's all. According to the documentation inside the code of the SampleAtmStrategy an limit order will be placed at the current low. In chart trader, i selected the AtmStrategyTemplate. The I place a resting order at a price level and waited for it be hit. it was and an entry was placed at that level, not the current low. Tried placing a market order to trigger the SampleATMStrategy which didn't work either. Now that I have AtmStrategyTemplate created and selected, how do i get the SampleATMStrategy to be called?

      Comment


        #4
        Mike, I thought you were just trying to set up an ATM strategy for manual trades. If you wish to use the ATM strategy in a NinjaScript strategy, you will need to run that strategy on a chart or via the strategy tab. To start this strategy, please open up a chart, right-click and select strategies, and then add and enable the SampleAtmStrategy.

        If this is not what you're looking for, please let me know.
        AustinNinjaTrader Customer Service

        Comment


          #5
          no not at all. what i asked for is can i code a custom atm strategy and call it from chart trader. i don't want to call it from within another strategy i want to call it from chart trader.

          Comment


            #6
            There is no "custom coding" of an ATM strategy, it is set up via the ATM strategy box. Once you have the ATM set up, you can use it in your manual trading. As an example, once you set up the ATM, select it in the box I highlighted in my first response, click buy market, and your trade will be placed and your stops and targets will get sent out from the ATM. Again, there is no code involved here.

            Please take a look at the actual ATM documentation, not the ATM in a strategy documentation - http://www.ninjatrader.com/support/h...gement_atm.htm.
            AustinNinjaTrader Customer Service

            Comment


              #7
              understand...i use atm's all the time but can't get the behavior i want which is why i asked the question about custom coding and atm strategy.

              thanks

              Comment


                #8
                Anyone there could give me a tip in trying to make a custom variable for the chart,period type and period when trying to add another time frame? So that I will never go to the code if I want to use a CL,ES,NG as another chart for my confirmation. I already got an idea for the chart I just declare as a string but I could find a way for the PeriodType...

                Comment


                  #9
                  Originally posted by luxurious_04 View Post
                  Anyone there could give me a tip in trying to make a custom variable for the chart,period type and period when trying to add another time frame? So that I will never go to the code if I want to use a CL,ES,NG as another chart for my confirmation. I already got an idea for the chart I just declare as a string but I could find a way for the PeriodType...
                  Take a look at the BarsPeriod object,

                  Comment


                    #10
                    Thanks koganam.

                    BarsPeriod:
                    Ryan M.NinjaTrader Customer Service

                    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