Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tick by tick backtesting

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

    Tick by tick backtesting

    Hi,

    I want to be able to backtest this strategy tick by tick. The way I want it to work is place a short stop entry on the next bar after the criteria are met. If it's filled, I want it to accurately backtest whether it hits an 8 tick target, or 8 tick stop. Currently it will stop out if the 10 minute prints at least 8 ticks above the entry regardless of whether the ticks hit an 8 tick profit first. Is this going to be possible?
    Attached Files

    #2
    Hello jeremy1375,

    Welcome to the NinjaTrader forums!

    Yes, this is possible. You will want to work from this reference sample:
    You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by


    You will want to use Exit() statements submitted to the tick series instead of Set statements.
    All exit statements like ExitLongLimit() and ExitLongStop() have an overload that allows you to submit to a specific series.
    Last edited by NinjaTrader_RyanM1; 12-06-2010, 04:29 PM.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    53 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    35 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    103 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    182 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    171 views
    0 likes
    Last Post CarlTrading  
    Working...
    X