Indicator Support Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
Gemini_92
 Posted : Sunday, April 7, 2019 2:19:10 PM
Registered User
Joined: 4/5/2019
Posts: 6

Would you help me to code the following indicator into TC2000 please?

High[Today]>=Highest(High,10) and Close[Today]<High[Yesterday] and Close[Today]<Open[Today];

Thank you very much.

Regards,

Gemini

bcochrane
 Posted : Sunday, April 7, 2019 4:03:20 PM
Registered User
Joined: 9/17/2010
Posts: 484

H>=H10 AND C<H1 AND C<O

although you might want

H>H10.1 AND C<H1 and C<O if you are comparing High to theprevious 10 days, ie eXcluding today

Gemini_92
 Posted : Monday, April 8, 2019 3:04:37 AM
Registered User
Joined: 4/5/2019
Posts: 6

QUOTE (bcochrane)

H>=H10 AND C<H1 AND C<O

although you might want

H>H10.1 AND C<H1 and C<O if you are comparing High to theprevious 10 days, ie eXcluding today

#

Hi, I am afraid none of them works. I will rephrase the conditions in plin english.

High of today greater than the highest high over the last 10 days (whichever day occurred) AND close of today lower than yesterday high AND close of today lower than open of today.

Thank you.

Bruce_L
 Posted : Monday, April 8, 2019 6:34:49 AM

Worden Trainer

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

Please try the following condition formula.

`C < O AND C < H1 AND H > MAXH10.1`

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
bcochrane
 Posted : Monday, April 8, 2019 6:46:03 AM
Registered User
Joined: 9/17/2010
Posts: 484

Sorry, forgot the MaxH

Gemini_92
 Posted : Tuesday, April 9, 2019 3:37:09 AM
Registered User
Joined: 4/5/2019
Posts: 6

Thanks a lot everyone :)

Bruce_L
 Posted : Tuesday, April 9, 2019 9:14:38 AM

Worden Trainer

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

You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
StockGuy
 Posted : Tuesday, April 9, 2019 12:01:16 PM

Joined: 9/30/2004
Posts: 9,187

test

StockGuy
 Posted : Tuesday, April 9, 2019 12:03:50 PM

Joined: 9/30/2004
Posts: 9,187

test

StockGuy
 Posted : Tuesday, April 9, 2019 12:04:55 PM