Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Code Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jklmttrader
Posted : Monday, January 1, 2018 10:40:18 PM
Gold Customer 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

 

 

 

Bruce_L
Posted : Tuesday, January 2, 2018 9:46:05 AM


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
jklmttrader
Posted : Saturday, January 6, 2018 9:27:58 AM
Gold Customer Gold Customer

Joined: 5/16/2014
Posts: 57

Bruce

How do I learn more about writing this stuff

Bruce_L
Posted : Monday, January 8, 2018 9:53:28 AM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.