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, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Working...
    X