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 jxs_xrj, 01-12-2020, 09:49 AM
    6 responses
    3,290 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    9 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    11 responses
    62 views
    0 likes
    Last Post halgo_boulder  
    Started by Option Whisperer, Today, 09:55 AM
    0 responses
    8 views
    0 likes
    Last Post Option Whisperer  
    Started by halgo_boulder, 04-20-2024, 08:44 AM
    2 responses
    24 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X