Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Yes, that part of the code is what's causing the error, but looking at the chart bar by bar, it should never be reaching my max bars back setting. There's something else in there jacking it up. When I reset the LongFalseStop to False, it will work for a few bars and then get stuck on false for the rest of the bars, causing no more entries to happen....hence the max bars back error.
you could track the lowest low yourself with a variable.
Assuming "trackLow" is the variable you created. After every exit you would simply reset it to the Low of the bar following your exit and from then on it will track any lower low.