Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy not entering and entry method is present on chart

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

    strategy not entering and entry method is present on chart

    i have all my strategies firing on all cylinders except the ones where i have an entry method that has a low or high within so many ticks of a keltner line. i am using the strategy builder. there isn't a way to have a method with an && . which i think is needed to have these trades work. i have if low is greater than - 6 from keltner line, and low is less than 9 from keltner line. is that correct? i'm using strategy builder to state it. i feel like if i were to manually edit the script and have the two connected by && it would work. is that the case?
    Attached Files

    #2
    Hello SteveReiza,

    The conditions that you have right now are all connected by &&, you have 'If All" selected which makes and conditions. The reason that does not work is that the two first conditions cannot be true at the same time, the price cant be both below and above the plot. You would need to add a group condition and add those two conditions to the group instead. In the group select "If Any" from the dropdown which makes an OR condition.

    Comment


      #3
      thanks for the reply. but, i'm trying to say that the low is within that range. doing that doesn't that not preclude it from being greater than 9 or less than -6?
      Last edited by SteveReiza; 02-16-2024, 02:10 PM.

      Comment


        #4
        Hello SteveReiza,

        If that was the goal then you need to make sure that the low is falling between the values you are offsetting. You can use prints to output the values you are using in the strategy to see when the condition should be true.

        Comment


          #5
          thanks for the reply. and, thanks for the explanation that they are && in the strategy builder. yes, that's what I thought i did with having the &&..low greater than -6 and less than 9. Should i just have a bunch of low equals..and, in that range. because, the trades are only executing the equals when the low is there. not the in between.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          50 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          126 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          69 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X