Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Intraday fills in backtest

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

    Intraday fills in backtest

    Good afternoon.

    I have a strategy on the daily time frame that uses the previous days high as a stop and previous days low as an entry. When I run a backtest I am getting trades that stop in the back test but in real time the stock trades higher first though were the stop would be then the stock moves lower and triggers the entry. The test reports this as a trigger first then a stop. It seems like because the test does not have the intraday data and it is using absolutes on the daily time frame which shows it could have triggered then stopped. Does anyone have a work around for this? Picture attached for an example. Thanks so much Ryan.
    Attached Files

    #2
    Hello Tonkingrf1551,

    You can find a sample of intraday backtesting in the following link, you would need to use a secondary series to allow for logic to be executed intrabar with a daily bar.


    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X