Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug in indicator?

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

    Bug in indicator?

    I apply a builtin SimpleMaCrossover study (ema 2 and ema 3 lenght) for testing purposes, to AUDUSD

    Click image for larger version

Name:	253Hl9q.png
Views:	177
Size:	22.0 KB
ID:	1054844


    on the same chart, i apply this indicator:


    but in Output window, it always shows "Short" (never shows "Long" or "Flat").

    but somehow, when i refreshed chart several times, accidenataly (only once) i have been able to see it working correctly (showing LONG and SHORTS correctly). But after I refereshed it again, it still shows only SHORT.

    there is bug i think. If you cant reproduce, let me know.

    #2
    Hello TazoTodua,

    Thank you for your post.

    I have tested using the SampleMACrossOver strategy and your indicator and was able to see the correct positions being printed. I'd suggest testing with that sample so you can see if you are also seeing the correct positions. If you do, most likely there is a issue with your strategy you're using and I would suggest using TraceOrders = true and additional prints to see if you can pinpoint what may be causing it to report your position incorrectly.

    Please let us know if we may be of further assistance to you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    43 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
    68 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    56 views
    0 likes
    Last Post CarlTrading  
    Working...
    X