Gold Customer
Joined: 5/16/2014 Posts: 57
|
Bruce
What is the difference between the two codes for an inside bar? I use the first one and you wrote the 2nd one for a while ago. Is there an advantage of one over the other?
1. L1<=L and H<=H1
2. (100 * L1) \ 1 <= (100 * L) \ 1 AND (100 * H) \ 1 <= (100 * H1) \ 1
Thanks
JK
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The second formula is the first formula with all of its values rounded to the nearest penny. So it would catch "near" inside bars.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Gold Customer
Joined: 5/16/2014 Posts: 57
|
Bruce
How do I learn more about writing this stuff
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The following section of the help files explores Personal Criteria Formulas.
Personal Criteria Formulas (PCF)
That said, in this case it is more of a math thing and knowing what integer divide is and does.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|