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 Brevo, Today, 01:45 AM
        0 responses
        2 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        238 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        4 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X