Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to not enter another trade within X bars of last exit

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

    #16
    Hello demo166130,

    I couldn't really say what may be happening based on the image of set 1. Have you at this point tried a more simple test like the example I previously provided in post #9?

    I do see that you are requiring "All" conditions to be true which does not work with the way you have used BarsSinceExit. This is one of the items I had pointed to with an arrow in the image in post #9.

    If you have another entry besides this one, you don't necessarily need to use the negative check for this entry specifically because you have another entry which will cause an exit that you can refer to. The alternative is If you only have one entry total you would require the negative check so that the logic can start. This depends on what you are trying to do, I don't know what you are specifically trying to do to know which direction you should go. I would suggest to further experiment using a more simple example to better understand how BarsSinceExit works.


    Please let me know if I may be of additional assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    86 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    151 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    79 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    52 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    59 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X