Registered User Joined: 3/19/2011 Posts: 7
|
I want to add a condition that only will let a sell signal fire after a parabolic rise. Any ideas?
|
Registered User Joined: 3/19/2011 Posts: 7
|
I'm trying RSI > 75
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A parabolic rise would generally require price to be moving up and the move up to be increasing from one bar to the next (there are other requirements for the rise to be strictly parabolic, but this is probably good enough for our needs). So you could write a base formula for this as follows (it requires both bars to be moving up).
C1 > C2 AND C - C1 > C1 - C2
If you wanted this to be true for say at least three bars in a row, you could write this as follows.
TrueInRow(C1 > C2 AND C - C1 > C1 - C2, 3) = 3
You can change both instances of 3 near the end of the formula to something else to check for a different number of bars in a row where this is happening.
If you wanted to allow for the move to be mostly parabolic, you might use CountTrue() instead and only check for it being true on some of the bars instead of all of the bars.
CountTrue(C1 > C2 AND C - C1 > C1 - C2, 6) = 4
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 3/19/2011 Posts: 7
|
Thank ypu Bruce; You have given me plenty to work with
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|