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 |

Cross over formula - Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
randgale
Posted : Friday, April 24, 2015 7:42:52 PM
Registered User
Joined: 9/1/2006
Posts: 19

I apologize upfront for not being able to figure this out, but as I noted in an earlier post, I am just getting reacquated with TC2000 and formula writing again.  So, here we go:

 

I want to create formula where, on a monthly chart, the most recent month closing price is greater than the 20 EMA, and the 3 months prior, the closing month is lower than the 20 EMA, and also

 

I also would like a formula where the last 3 trading days the closing price is greater than the 50 EMA, and the 50 EMA is greater than the 100 EMA, but the 40 trading days prior, the closing price is less than the 50 EMA, and the 50 EMA is less than the 100 EMA.

 

Thank you guys, for making this happen!!

Best,

 

Randy

busterram
Posted : Friday, April 24, 2015 11:27:39 PM
Registered User
Joined: 10/9/2011
Posts: 485
Randy:
 
Bruce may be able to respond in detail on Monday but I thought I will share some info to get you going. I will use the second example and formulate the pcf...
 
 
Last 3 trading days the closing price is greater than the 50 EMA
 
C > AVGC50 and C1 > AVGC50.1 and C2 > AVGC50.2
 
and the 50 EMA is greater than the 100 EMA, 
AVGC50 > AVGC100
 
but the 40 trading days prior, the closing price is less than the 50 EMA, 
c40 < AVGC50.40
 
 
and the 50 EMA is less than the 100 EMA.
 
AVGC50.40 < AVGC100.40
 
If you merge it all together its something like.....
C > AVGC50 and C1 > AVGC50.1 and C2 > AVGC50.2 and 
AVGC50 > AVGC100 and c40 < AVGC50.40 and AVGC50.40 < AVGC100.40
 
 
Hope that helps to get you started on it this weekend. Good luck.
 
randgale
Posted : Friday, April 24, 2015 11:45:19 PM
Registered User
Joined: 9/1/2006
Posts: 19

You guys truly do ROCK.  Thank you so much, this is a HUGE help.  What can be more fun on a Friday night than scanning charts?!

 

I look forward to hearing more from you guys. Have a great weekend, and thanks again!!

 

Best,

 

Randy

randgale
Posted : Tuesday, April 28, 2015 11:52:24 AM
Registered User
Joined: 9/1/2006
Posts: 19

Hi Bruce -

 

When you get a moment, I would appreciate if you could address my question from Friday.  One of your other team members was very helpful for a daily chart, but I wanted to get some help for the monthly.

 

To save you time here is the original post from Friday:

Thank you -

 

Randy

 

 

 

I apologize upfront for not being able to figure this out, but as I noted in an earlier post, I am just getting reacquated with TC2000 and formula writing again.  So, here we go:

 

I want to create formula where, on a monthly chart, the most recent month closing price is greater than the 20 EMA, and the 3 months prior, the closing month is lower than the 20 EMA, and also

 

I also would like a formula where the last 3 trading days the closing price is greater than the 50 EMA, and the 50 EMA is greater than the 100 EMA, but the 40 trading days prior, the closing price is less than the 50 EMA, and the 50 EMA is less than the 100 EMA.

 

Thank you guys, for making this happen!!

 

StockGuy
Posted : Tuesday, April 28, 2015 12:33:00 PM

Administration

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

I want to create formula where, on a monthly chart, the most recent month closing price is greater than the 20 EMA, and the 3 months prior, the closing month is lower than the 20 EMA...

C > XAVC20 and C1 < XAVGC20.1 and C2 < XAVGC20.2 and C3 < XAVGC20.3

...make sure you set the time frame on the condition to Monthly.

Busterram gave you the second formula...

C > AVGC50 and C1 > AVGC50.1 and C2 > AVGC50.2 and AVGC50 > AVGC100 and c40 < AVGC50.40 and AVGC50.40 < AVGC100.40
 
...make sure the time frame is set to Daily.

 

randgale
Posted : Tuesday, April 28, 2015 12:37:44 PM
Registered User
Joined: 9/1/2006
Posts: 19

Thank you so much!

 

Best,

 

Randy

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.