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 zstheorist, Today, 07:52 PM
    0 responses
    3 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    149 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    5 views
    0 likes
    Last Post tkaboris  
    Working...
    X