Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intrabar backtest

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

    Intrabar backtest

    Hi,

    I am trying to learn how to create an intrabar backtest strategy and I am using a sample strategy provided by ninja trader. I am not great at programming but I am trying to copy the example. It doesn't seem to be working though. I am currently using a demo data feed from apexfutures and I wonder if that might have something to do with it?

    Also the sample strategy only shows what to do when entering the trade but I wonder how one would go about creating an intrabar exit strategy also? do you just follow the same template as the entry?

    Do i need to set barsin progress==1 instead of bars in progress==0 for the buy signals to be used on the secondary time frame?

    Thanks!
    Last edited by nklar1; 10-15-2012, 07:58 AM.

    #2
    nklar,

    Without seeing your code here it would be difficult to comment further.

    Which sample strategy are you using? SampleMultitimeframe?

    Exit strategies follow similar formulas, you just setup your exit conditions, then use either ExitLong or ExitShort instead of an entrance command.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by lightsun47, Today, 03:51 PM
    0 responses
    5 views
    0 likes
    Last Post lightsun47  
    Started by 00nevest, Today, 02:27 PM
    1 response
    8 views
    0 likes
    Last Post 00nevest  
    Started by futtrader, 04-21-2024, 01:50 AM
    4 responses
    45 views
    0 likes
    Last Post futtrader  
    Started by Option Whisperer, Today, 09:55 AM
    1 response
    14 views
    0 likes
    Last Post bltdavid  
    Started by port119, Today, 02:43 PM
    0 responses
    9 views
    0 likes
    Last Post port119
    by port119
     
    Working...
    X