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