Gold Customer
Joined: 11/30/2013 Posts: 9
|
HI
Could you give me the code for the following 2 setups?
Any help is much appreciated.
First Set up:
Price above 20 day simple ma
0 to 3% below 20-day high price
Price over $5/share
Stock has average true range of over 1.5
Average daily volume is above 400,000 shares
Second Setup
Market cap no less than$ 2 billion and no more than $10 billion
Average volume over 1 million shares
Price is below 20 day simple ma
0 to 3% above 20 day lows
Price above $6/share
Price below 50-daysimple moving average
Thanks
Bradley
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following Condition Formula for the first set up (I have used a period of 14 for both the average true range and the average daily volume):
C > AVGC20 AND C >= .97 * MAXH20 AND C > 5 AND (AVGH14 - AVGL14) / 2 + (ABS(H - C1) + ABS(C1 - L) + ABS(H1 - C2) + ABS(C2 - L1) + ABS(H2 - C3) + ABS(C3 - L2) + ABS(H3 - C4) + ABS(C4 - L3) + ABS(H4 - C5) + ABS(C5 - L4) + ABS(H5 - C6) + ABS(C6 - L5) + ABS(H6 - C7) + ABS(C7 - L6) + ABS(H7 - C8) + ABS(C8 - L7) + ABS(H8 - C9) + ABS(C9 - L8) + ABS(H9 - C10) + ABS(C10 - L9) + ABS(H10 - C11) + ABS(C11 - L10) + ABS(H11 - C12) + ABS(C12 - L11) + ABS(H12 - C13) + ABS(C13 - L12) + ABS(H13 - C14) + ABS(C14 - L13)) / 28 > 1.5 AND AVGV14 > 400000
And the following Condition Formula for the second set up:
AVGV14 > 1000000 AND C < AVGC20 AND C <= 1.03 * MINL20 AND C > 6 AND C < AVGC50
You will need to add the Condition Formula to an EasyScan as an EasyScan if you want to check for Capitalization as well. You will set the Capitalization EasyScan Condition to Is Between 2000 to 10000 because Capitalizion is reported in units of $1,000,000 when used as an EasyScan Condition.
Building a Scan with Multiple Conditions
Please provide a description and PCF for calculating an ATR value to be used as a stop loss value
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Gold Customer
Joined: 11/30/2013 Posts: 9
|
Hi Bruce
Could you please give me the code for the following conditions.
10 simple ma crosses above the 20 exp.ma and the 20 exp.ma crosses above the 30 exp. ma
and also the reverse where the 10 simple ma crosses below the 20 exp. ma and the 20 exp.ma crosses below the 30 exp.ma thanks
Bradley
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
If you mean the 10-period simple moving average is above the 20-period exponential moving and the 20-period exponential moving average is above the 30-period exponential moving average:
AVGC10 > XAVGC20 AND XAVGC20 > XAVGC30
If you mean the first bar where this is true:
AVGC10 > XAVGC20 AND XAVGC20 > XAVGC30 AND (AVGC10.1 <= XAVGC20.1 OR XAVGC20.1 <= XAVGC30.1)
If you mean the crossups have to happen during the same bar:
AVGC10 > XAVGC20 AND XAVGC20 > XAVGC30 AND AVGC10.1 <= XAVGC20.1 AND XAVGC20.1 <= XAVGC30.1
If you mean the 10-period simple moving average is below the 20-period exponential moving and the 20-period exponential moving average is below the 30-period exponential moving average:
AVGC10 < XAVGC20 AND XAVGC20 < XAVGC30
If you mean the first bar where this is true:
AVGC10 < XAVGC20 AND XAVGC20 < XAVGC30 AND (AVGC10.1 >= XAVGC20.1 OR XAVGC20.1 >= XAVGC30.1)
If you mean the crossdowns have to happen during the same bar:
AVGC10 < XAVGC20 AND XAVGC20 > XAVGC30 AND AVGC10.1 >= XAVGC20.1 AND XAVGC20.1 >= XAVGC30.1
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Gold Customer
Joined: 11/30/2013 Posts: 9
|
Hi Bruce
Could you please write a scan for me with the following condtions:
Stocks with:
A two period RSI reading below 5.00
Trading above it's 200 period EMA
An average daily volume of one million shares or greater
It must have beaten it's most recent quarterly earnings estimates and ideally have a strong history of positive earnings surprises over the past 8 to 10 quarters
The stock's beta should also be greater than 1.00
Thanks very much
Bradley
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
There is no way to include earnings estimates and earnings surprises in an EasyScan in TC2000.
You can create a Condition Formula for price being above its 200 period EMA and a 20 period SMA of volume being at or above 1,000,000 shares as:
C > XAVGC200 AND AVGC20 >= 1000000
You can create a condition for the 2-period RSI being below 5 by adding the RSI to the chart, adjusting its settings as desired an then clicking on the RSI indicator and selecting Create Scan Condition.
Create Conditions from Your Chart
You would then include both of these conditions in the same EasyScan.
Building a Scan with Multiple Conditions
You can select Add Condition in the Edit tab of the EasyScan to add the beta condition. You can also change the List to Scan used as the basis of the EasyScan in its Edit tab.
The EasyScan will return symbols in the List to Scan of the EasyScan which currently meet the requirements of all of the EasyScan Conditions.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|