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

PinBar Bullish Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
hhphoto2006
Posted : Friday, August 17, 2018 1:19:29 PM
Registered User
Joined: 10/18/2008
Posts: 260

Hello,

I am trying to Scan for PinBars (hammer) that have at least made a new low in the past three days. I am getting bars that have made a new low in just 1 day or 2 days, not sure what I have wrong in the PCF. Could you check please?

STOC1 >= 55 AND 100 * O >= 45 * L + 55 * H AND H > L and L<L3

Thanks

Bruce_L
Posted : Friday, August 17, 2018 1:33:41 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I am not quite sure what you mean by "made a new low in the past three days."

The portion that seems to be checking for a "low" would be the following.

L < L3

This is just checking for the low of the most recent bar being less than the low of 3 bars ago. If you want to check for the low of the most recent bar being less than the low of the previous 3 bars, this would be written as follows.

L < MINL3.1

If you want to check for at least one of three most recent bars being less than the low of three bars ago, it would be the following.

MINL3 < L3

If you want to check for one of the three most recent bars being the lowest in say the last month, you could write this as follows (assuming a daily time frame and 21 bar months).

MINL3 < MINL18.3

If you want to check for the low being lower than the low of the previous bar for three bars in a row, this could be written as follows.

L < L1 AND L1 < L2 AND L2 < L3

Or as follows (assuming TC2000 v18).

TrueInRow(L < L1, 3) = 3

I am sure there are numerous other less obvious possible interpretations as well.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
hhphoto2006
Posted : Friday, August 17, 2018 2:03:47 PM
Registered User
Joined: 10/18/2008
Posts: 260

Thanks Bruce

I got what I need in in your answer.

Bruce_L
Posted : Friday, August 17, 2018 2:04:17 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-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.