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 |

I NEED HELP CREATING INDICATOR FOR THE FOLLOWING PARAMATERS Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
arlynt
Posted : Wednesday, May 9, 2012 5:35:41 PM
Registered User
Joined: 4/13/2012
Posts: 5

PLEASE HELP ME BUILD A CUSTOM SEARCH INDICATOR FOR THE FOLLOWING...

MOMENTUM 14 IS HEADING IN AN OPPOSITE DIRECTION FROM THE STOCK PRICE

MACD 9/18 IS HEADING IN AN OPPOSITE DIRECTION FROM THE STOCK PRICE 

BASED ON 10 MIN, 15 MIN AND 30 MIN

ALL ARE BASED ON A TIMEFRAME OF 10 PERIODS

THANK YOU!

 

 

 

Bruce_L
Posted : Thursday, May 10, 2012 8:48:33 AM


Worden Trainer

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

A Condition Formula for Price to have a 10-Period Net Change in the opposite direction from both a 14-Period Momentum and an Exponential MACD 9,18 could be written as:

SGN(C - C10) * SGN(C / C14 - C10 / C24) = -1 AND SGN(C - C10) * SGN(XAVGC9 - XAVGC18 - XAVGC9.10 + XAVGC18.10) = -1

It is not possible to combine multiple Time Frames into a single Condition Formula. You will need to add the Condition Formula to an EasyScan three times and have 10-Minute, 15-Minute and 30-Minute Time Frames assigned to different instances of the Condition Formula within the EasyScan.

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
arlynt
Posted : Saturday, May 19, 2012 9:28:08 PM
Registered User
Joined: 4/13/2012
Posts: 5

Thanks Bruce.

 

 

arlynt
Posted : Saturday, May 19, 2012 10:22:07 PM
Registered User
Joined: 4/13/2012
Posts: 5

Bruce,

Is there a way or formula to find stocks that are trending up while spy is trending down?

 

Bruce_L
Posted : Monday, May 21, 2012 8:13:58 AM


Worden Trainer

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

You could try using beta, but its results may or may not match up with current trends over whatever period you find of interest.

Beta - The coefficient which measures the volatility of a stock's returns relative to the market (S&P 500). It is based on a 36/60-month historical regression of the return on the stock onto the return on the S&P 500: 

Ri = a + (Rm) + e 

Where Ri is the monthly total returns on the stock, a is the stock's Alpha, Rm is the monthly total returns on the market (S&P 500), and e is a random error term. A minimum of 12 monthly returns are required for this calculation.

A beta of 1 means that the market and the stock move up or down together, at the same rate. That is, a 5% up or down move in the market should theoretically result in a 5% up or down move in the stock. A beta coefficient of 2 suggests that the stock will tend to fluctuate twice as much as the market. That is, if the market moves up 5%, then the stock should move up 10%. A beta coefficient of 0.5 indicates that the stock will move one-half as much as the market, either up or down.

A negative beta indicates the stock tends to move in the opposite direction from the general market. That is, the stock price declines when the overall market is rising, or rises when the overall market is declining. Negative beta stocks are rare.



-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.