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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    61 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
    198 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    364 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    283 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X