Platinum Customer
Joined: 4/27/2012 Posts: 106
|
I have a scan on D for doji and gap up:
(ABS (C1 - O1) <= ((H1 - L1) * 0.1) AND (L > H1))
BIDU today (on 8-15-2016) was a doji and gap up but it did not come up on my scan. Why not and what do I need to do to tweek my condition to correct this issue? Thank you,
Also, can you give me a correction to my Doji and gap down condition as well:
ABS(C1 - O1) <= .1 * (H1 - L1) AND O < L1
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
It wasn't a doji by the definition of your formula.
The C/O range was .41 and the H/L range was 2.23.
0.41/2.23 = 0.18
You could change the 0.1 to 0.2 and BIDU would pass the condition.
|
Platinum Customer
Joined: 4/27/2012 Posts: 106
|
(ABS (C1 - O1) <= ((H1 - L1) * 0.2) AND (L > H1))
My scan for Doji Gap Up registers a formula error: "Expected ( At position 4"
How do I fix?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The issue is the space between the ABS and its opening parenthesis.
ABS(C1 - O1) <= (H1 - L1) * .2 AND L > H1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|