Registered User Joined: 2/11/2015 Posts: 22
|
I am looking for Formula for : Price surging up Or Down for last 5-10 days followed by narrow body with wick on high and Low (Narrow Body with Wick on both side)
2) Price surging Up Or Down Followed by narrow range candle .
Thank You
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I am really not quite sure how to define a "surge". If we just want to check for the price being up at least 5 days in a row with the last candle having a body less than 10% of the candle size and both an an upper and lower wick, then you could use the following for surging up in TC2000 v17.
TrueInRow(C > C1, 5) = 5 AND 10 * ABS(O - C) <= H - L AND L < LEAST(O, C) AND GREATEST(O, C) < H
Surging down would just reverse the C > C1 to a C < C1.
TrueInRow(C < C1, 5) = 5 AND 10 * ABS(O - C) <= H - L AND L < LEAST(O, C) AND GREATEST(O, C) < H
But if you have different definitions in mind, then the formulas would need to change as well.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|