Hi, I already gave the example in my last post.
Buy = !(Close % 0.0010); // Evenly divisible by 0.0010 That's all there is. What the operator does is return the remainder after doing a division. So, in the above, you are dividing Close by 0.0010. If the result is evenly divisible, the remainder will be 0. Using the 'not' operator (i.e. !) against 0 will return 1. Therefore, you will Buy when Close is evenly divisible by 0.0010, which is the same as buying at x.0010, x.0020, ... Mike
