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)
I want to compare the 8th count vs the 5th count and the 13th count vs the 8th count.
Problem No.1: My private double values changes.
Problem No.2: Not sure how to code the 8th vs 5th
Can you help answer these questions from other members on NexusFi?
your codes will get more complicate as you compare more and more variables
the best practice is to save those values into an array, due to Ninja programming (think of it a perm loop for each new bar added it will start back from bar #1 again) the values stored in the array will be shifted but they are in there you just have to know which is which.
// declare an array in #region Variables
private double[] arrayGap = new double[13000];
....
// example to store value into an array
// do gap storing into an array
// use print to debug
// Print(" current open "+Open[0]+ " prior close " + gapLast);