Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

3-Bar Pattern Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
swatfa
Posted : Friday, March 17, 2017 6:14:32 PM
Registered User
Joined: 3/13/2016
Posts: 24

Can someone please help me with a PCF that finds the following for the most current 3 bars:

Red between green:
Green bar | Red Bar | Green Bar

& the Inverse:
Red bar | Green Bar | Red Bar

no other conditions except the above
Thanks!

Bruce_L
Posted : Friday, March 17, 2017 8:40:35 PM


Worden Trainer

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

For red between green:

If the Color Based On setting for Price History is to Net Change:

C >= C1 AND C1 < C2 AND C2 >= C3

If the Color Based On setting for Price History is set to Open vs Close:

C >= O AND C1 < O1 AND C2 >= O2

For green between red:

If the Color Based On setting for Price History is to Net Change:

C < C1 AND C1 >= C2 AND C2 < C3

If the Color Based On setting for Price History is set to Open vs Close:

C < O AND C1 >= O1 AND C2 < O2



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
swatfa
Posted : Saturday, March 18, 2017 2:29:18 AM
Registered User
Joined: 3/13/2016
Posts: 24

awesome. thanks

gjacob8668
Posted : Monday, March 20, 2017 1:37:10 PM
Registered User
Joined: 9/7/2005
Posts: 10

I was wondering if ther was a way to scan for monthly market swings. I am trying to identify the potential low for a monthly swing. If the stock is making lower swing lows , I would like to Identify the bar of the swing low prior to the reversal.  Obviously that bar may not be the low bar, but I would like to I dentify the bars as the creat lower lows.  

 

thanks in advance

Bruce_L
Posted : Monday, March 20, 2017 3:21:23 PM


Worden Trainer

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

I really don't understand the question.

I understand what most people mean by swing lows. A low with a certain number of higher lows before it and a certain number of higher lows after it. We can create a formula based on you defining both numbers as desired.

For monthly market swings, is this just done using monthly bars, or are you trying to identify multiple swing lows in the same month or something else entirely?



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
gjacob8668
Posted : Monday, March 20, 2017 3:43:06 PM
Registered User
Joined: 9/7/2005
Posts: 10

mutiple swing lows in the same month.  How can I attach a picture?  I think a picture would explain better

gjacob8668
Posted : Monday, March 20, 2017 3:55:00 PM
Registered User
Joined: 9/7/2005
Posts: 10

I guess to start of with a low with 2 higher lows before it.

gjacob8668
Posted : Monday, March 20, 2017 4:47:23 PM
Registered User
Joined: 9/7/2005
Posts: 10

Also, If you may, bullish/bearish of these candles.  Harami, hammer and doji.(Monthly chart)  I f it is already posted, kindly direct me to the link.  Thank you very much for your patience

Bruce_L
Posted : Monday, March 20, 2017 5:00:15 PM


Worden Trainer

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

The best topic of which I'm aware on how to post images in the forums is Inserting A Chart into A Worden post.

The following Indicator Formula returns the value of the most recent low with two higher lows right before it and 1 higher low right after it as long as it happened in the most recent 30 bars. Otherwise it returns the current low.

IIF(L > L1 AND L1 < MINL2.2, L1, IIF(L1 > L2 AND L2 < MINL2.3, L2, IIF(L2 > L3 AND L3 < MINL2.4, L3, IIF(L3 > L4 AND L4 < MINL2.5, L4, IIF(L4 > L5 AND L5 < MINL2.6, L5, IIF(L5 > L6 AND L6 < MINL2.7, L6, IIF(L6 > L7 AND L7 < MINL2.8, L7, IIF(L7 > L8 AND L8 < MINL2.9, L8, IIF(L8 > L9 AND L9 < MINL2.10, L9, IIF(L9 > L10 AND L10 < MINL2.11, L10, IIF(L10 > L11 AND L11 < MINL2.12, L11, IIF(L11 > L12 AND L12 < MINL2.13, L12, IIF(L12 > L13 AND L13 < MINL2.14, L13, IIF(L13 > L14 AND L14 < MINL2.15, L14, IIF(L14 > L15 AND L15 < MINL2.16, L15, IIF(L15 > L16 AND L16 < MINL2.17, L16, IIF(L16 > L17 AND L17 < MINL2.18, L17, IIF(L17 > L18 AND L18 < MINL2.19, L18, IIF(L18 > L19 AND L19 < MINL2.20, L19, IIF(L19 > L20 AND L20 < MINL2.21, L20, IIF(L20 > L21 AND L21 < MINL2.22, L21, IIF(L21 > L22 AND L22 < MINL2.23, L22, IIF(L22 > L23 AND L23 < MINL2.24, L23, IIF(L23 > L24 AND L24 < MINL2.25, L24, IIF(L24 > L25 AND L25 < MINL2.26, L25, IIF(L25 > L26 AND L26 < MINL2.27, L26, IIF(L26 > L27 AND L27 < MINL2.28, L27, IIF(L27 > L28 AND L28 < MINL2.29, L28, IIF(L28 > L29 AND L29 < MINL2.30, L29, IIF(L29 > L30 AND L30 < MINL2.31, L30, L))))))))))))))))))))))))))))))


-Bruce
Personal Criteria Formulas
TC2000 Support Articles
gjacob8668
Posted : Tuesday, March 21, 2017 2:23:40 AM
Registered User
Joined: 9/7/2005
Posts: 10

Thank you Bruce

Bruce_L
Posted : Tuesday, March 21, 2017 9:07:38 AM


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.