Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy action based off indicator

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

    Buy action based off indicator

    Hi

    Ive been searching this and found it but for some reason it does not work.

    I have an indicator that plots, so my condition is setup when close price is greater/equal then the indicator, a long position is taken.
    For some reason it does create orders but nowhere near the actual signals. I feel like its randomly opening orders.

    The green big arrows are the actual signals.

    Any help would be appreciated.

    #2
    Hello mrvidi,

    To find out why a strategy is doing something would generally require outputting what you are doing in the condition. You can use Print statements to do that.



    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    89 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X