Registered User Joined: 7/23/2016 Posts: 19
|
Hi Price, What is the code for 9ema crossing the 21sma + Price above VWAP. I want to find stocks were the moving average cross has just happened on the last bar.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You can't create a condition formula for price being above the VWAP. You can create the condition by clicking on the VWAP indicator on the chart and selecting Create Condition.
Since you are already creating one condition this way, you may as well create the second condition by clicking on one of the moving averages on the chart and selecting Create Condition as well.
Add both conditions to the same EasyScan.
You can create a condition formula for the 9ema crossing up through the 21sma as follows if you would rather use a formula for this condition (you would still need to add it to the same EasyScan as the VWAP condition).
XUP(XAVGC9, AVGC21)
Make sure the time frames of the conditions match the time frame you want to be checking on the chart.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 7/23/2016 Posts: 19
|
Thanks Bruce. I have addded some price and volume filters to it. I have got a problem with the Volume section. I am doing a 15 minute scan but I think my code is looking for volume of 300000 on the 15 minute bar. I want to scan for daily volume of 300000, what changes would I need to make.
XUP(XAVGC9,AVGC21) and C >= 15 and C <= 80 and V =>300000
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You can't mix time frames in the same formula.
What you can do is take the volume portion out of the formula and add it to the scan as another condition. Then set the time frame of that condition to daily.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|