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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    71 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    143 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    76 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    47 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    51 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X