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
    BertrandNinjaTrader Customer Service

    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 warreng86, 11-10-2020, 02:04 PM
        7 responses
        1,360 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by Perr0Grande, Today, 08:16 PM
        0 responses
        5 views
        0 likes
        Last Post Perr0Grande  
        Started by elderan, Today, 08:03 PM
        0 responses
        9 views
        0 likes
        Last Post elderan
        by elderan
         
        Started by algospoke, Today, 06:40 PM
        0 responses
        10 views
        0 likes
        Last Post algospoke  
        Started by maybeimnotrader, Today, 05:46 PM
        0 responses
        14 views
        0 likes
        Last Post maybeimnotrader  
        Working...
        X