Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

making a sma crossover strategy quicker to enter and exit

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

    making a sma crossover strategy quicker to enter and exit

    I have a made a sma crossover strategy and have run a backtest but have noticed that the entry and exit that the computer does lags by 2 candles (on a 1 min chart) - Is there any way to make this quicker so as soon as the the crossover occurs the entry or exit is triggered . I have tried to uncheck the "calculate on bar close" check box but it still lags

    Thanks in advance
    Gonzo

    #2
    For backtesting this is expected as the next possible trade location after signal generation is the next bar's open price - however you could add a finer granularity to your strategy to submit orders to it and simulate getting filled intrabar - http://www.ninjatrader-support2.com/...ead.php?t=6652

    Comment


      #3
      Similar issue

      Hi I am having a similar issue. the difference is that I am using yahoo daily bars. The entry/exit positions are not happening at the crosspoints and sometimes they are missing the crosspoints alltogether . In my case I cannot use the example you provided since the only data series provided by yahoo is daily bars and i cannot get any finer granularity data bars. Please advice.
      Last edited by rationalrose; 12-10-2009, 04:32 PM.

      Comment


        #4
        rationalrose, it isn't possible to add detail to daily backtests unless you have finer granularity data bars. I would suggest contacting a data provider for some minute (or finer) data.
        AustinNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        115 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        161 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        83 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        127 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        87 views
        0 likes
        Last Post PaulMohn  
        Working...
        X