Gold Customer
Joined: 5/16/2014 Posts: 57
|
My definition of an inside bar is when the current bar's high and low completely within or eqaual to the previous bars high and lows.
My formaulas for an inside bar:
Equal to and/or less than highs and lows
1. L1 =< and H1 => H
or
Less than both high and lows
2. L1 < L and H1 > H
When use condition No. 1 in PCF% true indicator on a chart, sometimes it works and other times it doesn't. Is there another formula for an inside bar where the price is less than and/or eqaul to teh high and lows??
Formula No.2, won't scan if the condition is equal to the high and low.
Jk
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
You're missing L in formula number one.
L1 <= L and H1 >= H
|
Gold Customer
Joined: 5/16/2014 Posts: 57
|
that's just a typo in that passage.
Go to TSLA (10/20)on the 5min chart at the 10:20 closes it's negative hit while it should be postive
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I can force it to return true by essentially rounding off the values to two digits past the decimal.
(100 * L1) \ 1 <= (100 * L) \ 1 AND (100 * H) \ 1 <= (100 * H1) \ 1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|