Registered User Joined: 1/5/2008 Posts: 117
|
I would appreciate help with a PCF for Elder Impulse to identify at least 5 days in a row indicating No Longs (red) followed by an Any Trade (blue) or or No Short (green) for the current bar.
I would also like help with a PCF to identify at least 5 days in a row indicating No Shorts (green) followed by an Any Trade (blue) or or No Long (red) for the current bar.
I tried to do these as conditions under Elder Impulse and could get it to identify 5 days in a row row but not the change to the current bar.
Thanks in advance for the assistance.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following condition formula for at least 5 reds followed by a blue or green.
(C >= XAVGC13.1 OR 119 * C + 765 * XAVGC12.1 >= 65 * XAVGC26.1 + 819 * XAVGC9.1) AND TrueInRow(C1 < XAVGC13.2 AND 119 * C1 + 765 * XAVGC12.2 < 65 * XAVGC26.2 + 819 * XAVGC9.2, 5) = 5
And the following for at least 5 greens followed by a blue or red.
(C <= XAVGC13.1 OR 119 * C + 765 * XAVGC12.1 <= 65 * XAVGC26.1 + 819 * XAVGC9.1) AND TrueInRow(C1 > XAVGC13.2 AND 119 * C1 + 765 * XAVGC12.2 > 65 * XAVGC26.2 + 819 * XAVGC9.2, 5) = 5
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 1/5/2008 Posts: 117
|
Perfect. Very much appreciated. Couldn't have done that without you.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|