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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        68 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
        61 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