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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    478 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    319 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    258 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    341 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    309 views
    0 likes
    Last Post CarlTrading  
    Working...
    X