Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how do i create this strategy

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

    how do i create this strategy

    i would like to create a strategy that uses 1 minute data over a period of 30 minutes to determine the high and low over that period of time and initiates a long position when it breaks above the predetermined high and initiates a short position when it breaks below the predetermined low. could you show me how i would go about doing that? TIA!

    #2
    kaywai, I suggest you check into this sample and code here - http://www.ninjatrader-support2.com/...ead.php?t=3223

    Comment


      #3
      Kaywai,

      Unfortunately our forum experienced technical difficulties early this morning. As a result, we were forced to restore our forum to its last back up point approximately seven (7) hours ago. Any posts created since that time have been lost. We are sorry for the inconvenience.

      I have your original question here below and one of my coworkers will respond to it again shortly.

      Thanks for your help Bertrand. I will download data for backtesting from Bloomberg.
      BTW, if i would like to save the data as a continuous contract, how should i save/name the file?
      Vince B.NinjaTrader Customer Service

      Comment


        #4
        You can use ##-## for the continuous contract file naming, general guidelines for importing acsii / txt file based data can be found here -

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        651 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        577 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X