• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by TazoTodua, Today, 12:29 PM
    1 response
    21 views
    0 likes
    Last Post bltdavid  
    Started by sdauteuil, Today, 03:16 PM
    0 responses
    6 views
    0 likes
    Last Post sdauteuil  
    Started by Zenersev, Today, 02:11 PM
    0 responses
    4 views
    0 likes
    Last Post Zenersev  
    Started by TazoTodua, Today, 12:00 PM
    0 responses
    7 views
    0 likes
    Last Post TazoTodua  
    Started by martyn73, Today, 08:56 AM
    0 responses
    10 views
    0 likes
    Last Post martyn73  
    Working...
    X