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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        49 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        15 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        21 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X