stegosaurus1 5 posts msg #31486 - Ignore stegosaurus1 |
3/22/2004 10:25:32 AM
Hi Tom,
I tried the following and it didn't appear to work:
In looking at the column values of myMFI, I just guessed that CMA didn't support user variables.
Thanks for the quick response and SF sample.
Dan.
|
tomb 267 posts msg #31487 - Ignore tomb |
3/22/2004 10:34:39 AM
Hi,
When I ran your example, the values appeared to be correct to me. What are you seeing in your results? Also, below is an example that adds the "draw" command to your example to plot the values on the chart.
The first line of the results for me (sorted in descending volume) is:
SUNW, cl2cl=-0.09 mymfi=-3695.11 mymfi10=-6286.10 mymfi20=-5626.55
Hope the above helps!
Tom
StockFetcher.com Support
|
stegosaurus1 5 posts msg #31488 - Ignore stegosaurus1 |
3/22/2004 11:00:34 AM
Hi Tom,
Do you get 270 returns on the query?
Yes, I get the same results for SUNW, but isn't -6286 ~BELOW~ -5626?
SUNW cl2cl=-0.09 mymfi=-3695.11 mymfi10=-6286.10 mymfi20=-5626.55
The following are two examples from the 1st page of results that should be mutually exclusive:
SIRI cl2cl=0.03 mymfi=977.28 mymfi10=972.04 mymfi20=1445.92 (mymfi10 ~BELOW~ mymfi20)
MFCO cl2cl=0.59 mymfi=2513.34 mymfi10=497.31 mymfi20=248.68 (mymfi10 ~ABOVE~ mymfi20)
Thanks for your help.
Dan.
|
tomb 267 posts msg #31489 - Ignore tomb |
3/22/2004 12:13:33 PM
Hi,
That was my mistake, I was just looking to verify that the CMA is computed on a variable. It turns out that the problem is related to the "multiplied by" "divided by" phrases in your "set{}" syntax. When using the "set" syntax it is best to use the actual mathematical symbol. We will look into why the text-versions did not produce consistent results, but the filter below should do a bit better:
Tom
StockFetcher.com Support
|
stegosaurus1 5 posts msg #31491 - Ignore stegosaurus1 |
3/22/2004 2:02:40 PM
Tom,
Thanks for having the tenacity to stick with a problem until a solution (or workaround LOL!) was found.
Dan.
|
defghca 150 posts msg #31729 - Ignore defghca |
4/14/2004 8:34:03 AM
Tomb
cema(indicator,days) in the works?
|
yepher 359 posts msg #32001 - Ignore yepher |
5/7/2004 11:52:50 AM
Can you add a third optional parameter to CMA so you can offset it in time just like DMA?
|
john0024 7 posts msg #119177 - Ignore john0024 |
4/21/2014 6:48:55 AM
What if I just wanted to check a monthly moving average over another monthly moving average? Say for example, the ma of 4 months vs. the ma of 30 months, how would I write this? (All basis the close)
|
Kevin_in_GA 4,599 posts msg #119178 - Ignore Kevin_in_GA |
4/21/2014 8:41:43 AM
SF does not provide monthly data.
|