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:	180
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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    49 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    69 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    36 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    96 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    59 views
    0 likes
    Last Post PaulMohn  
    Working...
    X