Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why does System Trade Count go both up-and-down?

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

    Why does System Trade Count go both up-and-down?


    I do not understand why SystemPerformance.RealTimeTrades.LosingTrades.Coun t (and WinningTrades) can go both up and down?

    I'm running a strategy, real-time, against the live market. The script starts trading when the market opens, at 6 AM PST. I have a Print system, to print out:


    SystemPerformance.RealTimeTrades.LosingTrades.Coun t
    SystemPerformance.RealTimeTrades.WinningTrades.Cou nt


    Attached is a screen shot of that output. You can see at one point, Winning Traders = 4, and Losing Trades = 2. Then, Winning Trades = 1 and Losing Trades = 1. Of course, I'd expect these values to be the current count of winning and losing trades, which doesn't appear to be the case.

    I need to implement a circuit breaker where if I have three bad trades in a trading day, then I need to quit. But if LosingTrades.Count isn't accurate, then of course, my logic can fail.

    What's up? Thanks,

    Attached Files

    #2
    Hi timmbbo, thanks for posting. Are you running the script anywhere else on another instrument? Check for any other instances of your script running. Also, add the name of the strategy to the print to make sure it's coming from that strategy. I attached my test script that works fine when using SystemPerformance if you would like to test it out.

    Kind regards,
    -ChrisL
    Attached Files

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    58 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    197 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    362 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    282 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X