Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TimeValue not recognized at backtest

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

    TimeValue not recognized at backtest

    Hi, I tried to insert a condition if Time Series = Time Value hh:mm & position long - exit position by sell order LMT. The backtest does not recognize the condition. Help? How can I fix it? Thanks.

    #2
    Hello serman,

    We would need more specific details on what condition you made, if this is in the strategy builder we would need to see a screenshot of your set with the condition otherwise if this is in code we would need to see the code for the condition.

    One note would be that if you are using a limit order that condition needs to remain true until the order has been filled, if you are checking if the time is equal to a single bars time and the order does not fill in that bar it will be expired. You can see if that is happening by turning on TraceOrders.



    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NTEducationTeam, Yesterday, 08:49 AM
    0 responses
    26 views
    0 likes
    Last Post NTEducationTeam  
    Started by saltminer, 07-07-2025, 01:43 PM
    1 response
    79 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by idude, 07-08-2025, 05:06 AM
    0 responses
    39 views
    0 likes
    Last Post idude
    by idude
     
    Started by music_p13, 07-05-2025, 11:33 PM
    1 response
    49 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by gubbar924, 03-18-2018, 05:15 PM
    43 responses
    5,505 views
    0 likes
    Last Post ESMC377
    by ESMC377
     
    Working...
    X