• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Restricting an ATM to specified times

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

    Restricting an ATM to specified times

    Hi, I'd like my ATM to be able to start trading at 9:30AM EST and close at 3:44AM EST. What's the easiest way to do this?

    #2
    Hello ckabjp,

    To constrict trades to a specific time, you would need to use an automated script with a time filter.

    Below is a link to a reference sample that demonstrates a time filter.
    https://ninjatrader.com/support/help...to_limit_t.htm

    And a link to the Strategy Builder 301 course which also demonstrates a time filter.
    https://www.youtube.com/watch?v=HCyt...tu.be&t=43m30s

    Are you trying to constrict manually placed entries or entries from a NinjaScript Strategy?

    You could use a time filter and a button to have manual intervention in the script that is constricted by the time filter. You can also trigger orders to have Atm Strategies.

    Below is a link to an example that places orders from button clicks.
    https://ninjatraderecosystem.com/use...bar-buttons-2/

    And a link to the help guide on placing orders with Atm Strategies through the Addon approach.
    https://ninjatrader.com/support/help...tmstrategy.htm

    And a link to an example Addon that places orders using Atm Strategies.
    http://ninjatrader.com/support/forum...555#post515555


    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the reply. To be specific, I have a strategy that either goes long or goes short depending on market conditions for 1 contract, but after hours its efficacy decreases, so I want to block off the hours of 3:45PM to 9:29AM so my strategy is essentially "turned off" during those times. Ideally I'd like to do so using the Strategy Builder. I'll check in to the links you've provided here, please let me know if I can clarify. Thanks!

      Comment


        #4
        Hello ckabjp,

        Yes, this would be possible with a NinjaScript Strategy.

        Below is a forum post with helpful information about getting started with NinjaScript.
        https://ninjatrader.com/support/foru...040#post786040

        I recommend starting with the Strategy Builder 301 course.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by futurenick, Today, 06:26 AM
        1 response
        9 views
        0 likes
        Last Post nkhoi
        by nkhoi
         
        Started by NinjaCustomer, Today, 12:29 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Started by Steve L, Today, 11:32 AM
        0 responses
        5 views
        0 likes
        Last Post Steve L
        by Steve L
         
        Started by prabbala, Today, 10:41 AM
        0 responses
        3 views
        0 likes
        Last Post prabbala  
        Started by bebbus, Today, 10:36 AM
        0 responses
        4 views
        0 likes
        Last Post bebbus
        by bebbus
         
        Working...
        X