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

Red/green shift in combination with 2nd indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
UAS69
Posted : Wednesday, February 20, 2019 6:15:58 AM
Registered User
Joined: 4/18/2018
Posts: 6

 

  Dear Bruce,

 

Thanks for all help lately. I have been working on an indicator (Indicator1 in a red/green histogram format)  which is “too sensitive”. I have noticed if I have a 2nd indicator (Indicator 2;plotted as line) . an only use in an uptrend  . I can reduce the false signal significantly. I have figured out the PCF for that

 

But I must confess that I am stuck after several days of trial error. Could you please help me with 3 formulas so I only catch the following three conditions.   #1: red/green shift (green > red bar) and uptrend in indicator 2;

 #2:  green/red shift (red > green bar) + uptrend in indicator 2.

For example, if a red bar is at -2 I would like only to catch a green bar that is >+2 (and reverse for the 2nd PCF).

#3 if green bars are 3fold higher than previous green bar and the 2nd indicator is still in an uptrend. Hope this makes sense and you can help me. ( I tried to attach an example but couldn’t figure out how).

Bruce_L
Posted : Wednesday, February 20, 2019 9:53:50 AM


Worden Trainer

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

What are the formulas for both the histgram and the line?



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
UAS69
Posted : Wednesday, February 20, 2019 11:13:03 AM
Registered User
Joined: 4/18/2018
Posts: 6

Formulas are quite complex and extremly rare. I prefer not to reveal them. I rather get a general formula so I can past them in my self. Would it work for you to call them X1 and X2. I have seen you make magic by shortning things done but I can't do that at the moment. Thanks

 

Bruce_L
Posted : Wednesday, February 20, 2019 11:48:59 AM


Worden Trainer

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

#1

X1 > 0 AND X1.1 < 0 AND ABS(X1) > ABS(X1.1) AND X2 > X2.1

#2

X1 < 0 AND X1.1 > 0 AND AND ABS(X1) > ABS(X1.1) AND X2 > X2.1

#3

X1 >= 3 * X1.1 AND X1.1 > 0 AND X2 > B2.1

X1.1 is a 1 bar ago version of X1. If the formula is long and complex, this might involve an extensive edit or rewrite of X1.

X2.2 is a 1 bar ago version of X2. If the formula is long and complex, this might involve an extensive edit or rewrite of X2. 

In the case of something like X2 > X2.1, you may be way better off creating a difference equation and checking to see if it is greater than 0 (or add together the positive components of the difference equation to the left of the > sign and add together the negative components to the right of the > sign).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
UAS69
Posted : Wednesday, February 20, 2019 12:44:00 PM
Registered User
Joined: 4/18/2018
Posts: 6

Thank you for a very quick respons! I will experiment with this!! I may comeback if I get stuck again. Have great day. 

Bruce_L
Posted : Wednesday, February 20, 2019 12:56:19 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.