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)
If I want this counter to count to only 9, I would add
if (BS==9)
{
BS = 0;
}
What I also want it to do is initiate a new and independent count which only counts if close[0] <= low[2] and for it to commence when BS = 9. How would I do that?
I tried including it here:-
if (BS==9)
{
if Close[0] <= Low[2]
{
BQ++
}
BS = 0;
}
This only counts everytime BS gets to 9. Please help.
Can you help answer these questions from other members on NexusFi?
Decs0057, it's still only counting when 1) 9 consecutive closes, each less than its respective cloe 4 bars ago and 2) added the extra condition that on the 9th count, the close is <= low two bars earlier.
1) need a 9 count to start the 2nd condition count
2) need the 2nd condition (close[0] <= low[2]) to count without taking into consideration the initial 9 count.