karennma 8,057 posts msg #90363 - Ignore karennma |
3/25/2010 6:43:14 PM
Where you could say in a filter "draw 10-day moving average ratio" ... ?
|
Kevin_in_GA 4,599 posts msg #90365 - Ignore Kevin_in_GA |
3/25/2010 6:59:34 PM
Not explicitly, as you have written it, but it is easily done.
Example 1. The moving average of a ratio of two stocks or indices
set{ratio, ind(spy,close) / ind(qqqq,close)}
set{ratioma10, CMA(ratio, 10)}
Example 2. Ratio of two moving averages
set{ratio, ema(10) / ema(50)}
Example 3. Moving average of the ratio of two moving averages
set{ratio, ema(10) / ema(50)}
set{ratioma, CEMA(ratio, 10)}
note that I used CEMA in the last example to give me a custom EMA instead of a custom MA.
Kevin
|
karennma 8,057 posts msg #90369 - Ignore karennma |
3/25/2010 8:18:02 PM
draw set{ratio, ema(10) / ema(50)}
close > 1
volume > 1000000
close < 10
Kevin:
How do I tell it to DRAW the ratio??
Do you remember you posted a filter here where some thingys were drawn at the bottom of the chart.
They looked like big arrows pointing up and down. I think you had them in red and blue.
|
karennma 8,057 posts msg #90370 - Ignore karennma |
3/25/2010 8:21:30 PM
Kevin:
I'm going to send you one of my JUNK e-mails, so you can read what I'm trying to do.
THANKS!
:>)
|
Kevin_in_GA 4,599 posts msg #90373 - Ignore Kevin_in_GA |
3/25/2010 8:54:44 PM
Simple to do - just add a line saying "draw ratio"
I usually also add a line saying "add column ratio" so that I can see the exact numerical value of the indicator I am using.
|
mystiq 650 posts msg #90381 - Ignore mystiq |
3/26/2010 12:53:31 AM
..just got an idea on buy/sell volume.. will post when complete.
|