Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 3/14/2009 Posts: 7
|
Hi, I watched the webinar "MovingAverageCrossOvers011919" yesterday.
She (the presenter) was using Stockfinder and demonstrated on pricecharts editing formula,, etc. I am at an elementary stage of learning syntex by following excellent links provided by Bruce and Craig (the Instructors) at this forum.
Your help in writing a PCF to identify this "Junction of CrossOvers of price, and EMAs.(20,50,200).
The 20 and 50 day EMAs have just crossed the 200 day EMA While the Price is straddling this crossover - the Open price is below or at the 200 day EMA and the Close price is above or at the 20 day EMA.
She talked about the Volume to be vigorous. However, I have seen great action with average volume.
Looking forward to test this PCF.
Thank you.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Welcome to the forums. A very good foundation for learning how to use TeleChart can be gained by reviewing the following:
If you are new to TeleChart READ THIS FIRST!
Please try the following Personal Criteria Formula:
XAVGC20 > XAVGC200 AND XAVGC50 > XAVGC200 AND (XAVGC20.1 <= XAVGC200.1 OR XAVGC50.1 <= XAVGC200.1) AND O <= XAVGC200 AND C >= XAVGC20
You may wish to review the following:
How to create a Personal Criteria Forumula (PCF)
Moving Average PCF Templates
Things to check if your moving averages don't "seem right" or "seem to match"
PCF Formula Descriptions
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/14/2009 Posts: 7
|
Thank you. I'll try and report back.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 3/14/2009 Posts: 7
|
copied and pasted in the PCF window...
Tested it, no error reported. but no results reported either, not enough data.
the lists I tried were; All stocks, Russel 3000, etc. No results reported, Not enough data.
I noticed "not calculated", so I update all PCF , so this PCF also got Calculated.
Tried again several time, here is the sample printout from the window:
Not enough data to calculate
Result:0.00
Criterion Information:
Market days needed to calculate criterion: 1002
.....more than 250 days of history are slower......
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It reads like you have Include criteria which require more than 250 days of history (slower) unchecked. You will need to check this option to calculate the Personal Criteria Formula. This checkbox can be accessed by selected Databank | Personal Criteria Formulas or Databank | Update via Internet.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/6/2010 Posts: 4
|
I am having a problem with Julia's moving avg crossover. I downloaded the file from the webinar but it would nnot work. I then tried to put the info into realcode form but also does not work. Can you post the formula her?
|
|
Registered User Joined: 3/14/2009 Posts: 7
|
Thanks Bruce.
I had not made any changes to Include Criteria, etc. But following your suggestion, I examined the checkbox in question. It is as you have recommended.
I have been reviewing the links you had suggested but feel discourged. A beginner in the PCF Language jungle!
|
|
Registered User Joined: 3/14/2009 Posts: 7
|
I reviewed Julia's MovingAverages Crossovers Webinar again with the hope to get some clues to no avail. I guess my knowledge is very elementary at the moment.
If anyone could help, please share your genious. thanks.
|
|
Gold Customer
Joined: 11/22/2006 Posts: 100
|
Daleel,
The event you are looking for seems to be ...rare... for your moving average settings.
Try setting up a Custom Indicator Percent True with Bruce's PCF. Make sure your chart is set to Daily and zoom out to the maximum if you want. The Percent True Indicator will show when the condition was True. I used the Russell 3000 Component Stock list and flipped through 500 charts and came up with a handful of stocks that spike a True signal during the last year. You will see many stocks with not enough price history to calculate the condition. I didn't find any stocks in the Russell 3000 that are currently showing a True Condition when I scanned the whole list.
Good Luck.
william
|
|
Registered User Joined: 3/14/2009 Posts: 7
|
william4567,
Thanks for suggestions. My experience with Telecharts is only of one week as I had signed up last Sunday! I got to read about Custom Indicator Percent True, etc to move forward. It may take sometime, by that time I might have had enough of it!
Thanks again, best regards.
Daleel
|
|
Gold Customer
Joined: 11/22/2006 Posts: 100
|
Daleel,
The point I making is you are not doing anything wrong, you just need to understand the results. Using the Percent True will let you see things more clearly, maybe. Julia was using faster moving averages settings (10 ema, 25 ema, 40 ema) in her presentation plus other limiting conditions.. Using the faster moving averages, I got 3 hits scanning the Russell 3000 after modifying the PCF of Bruce's.
Adding a percent true: Right click on chart, add indicator, custom, percent true, choose on of the lower windows, copy and paste Bruce's PCF, check visible, smoothing average set to 1, simple or exponential doesn't matter and pick your favorite color for the draw color.
Try it. You might like it.
William
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
hgl,
The Layout is a StockFinder 5 Layout. You will need to have StockFinder 5 for it to load correctly. The RealCode in the Condition is (but it will not work as written in StockFinder 4 - although you could Drag and Drop the Moving Averages into the RealCode Editor and rename them to MAs, MAi and MAl to replace those three lines in the RealCode):
'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 4.9 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:vigorous ma cross
'|******************************************************************
'# MAs = chart.MovingAverage
'# MAi = chart.MovingAverage.2
'# MAl = chart.MovingAverage.3
If price.Open < mas.value And price.open < mai.value And price.Open < mal.value AndAlso _
price.Last > mas.value And price.Last > mai.value And price.Last > mal.value AndAlso _
mas.value(1) < mai.value(1) And mas.value(1) < mal.value(1) AndAlso _
mas.value > mai.value And mas.value > mai.value AndAlso _
mas.value(1) < mal.value(1) And mas.value > mal.value Then pass
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |