Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Prints not working

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

    Prints not working

    I am debugging a strategy and my Print commands are not executing, what does this mean?

    #2
    Hello samish18,

    If your Print commands are not executing, that generally means that the code containing the Print statements is not being reached. Have you tried adding a print before the current print? For example just adding a print to the top of OnBarUpdate:

    protected override void OnBarUpdate()
    {
    Print("OnBarUpdate called");​

    If you are using the builder you can do this by adding a set with no conditions and the print command as the action.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    79 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
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 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