Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to make limit order ATM strategy?

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

    How to make limit order ATM strategy?

    Hi there,

    How to make it from code. Can you give me some example please?

    Thanks

    #2
    Hello Revazi123,

    Thanks for your post.

    In your Ninjatrader is an example strategy that demonstrates the code needed to attach an ATM template to a Ninjascript Strategy. The Strategy will find an entry and place an engtry order, when the entry order fills, the control is passed to the selected ATM template and the stops and targets are then controlled by the ATM. You can move the ATM orders while the strategy is running if you wish allowing manual interaction. Once the stop or profit are filled, the ATM is closed and control returns back to the startegy to find the next entry.

    The example strategy is named Sample ATM strategy. You will need to open it in the Ninjascript editor to view its code and read the comments/instructions on how to use/test the sample.

    In addition, you will want to review the ATM methods in the hell guide here: https://ninjatrader.com/support/help...gy_methods.htm

    Please note that an ATM cannot be backtested.

    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by WHICKED, Today, 12:45 PM
    2 responses
    18 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by GussJ, 03-04-2020, 03:11 PM
    15 responses
    3,276 views
    0 likes
    Last Post xiinteractive  
    Started by Tim-c, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    3 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    51 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Working...
    X