push5280 201 posts msg #94894 - Ignore push5280 |
7/18/2010 8:01:19 PM
Can anyone give me a starting point to write the code to plot MACD of volume rather than the standard MACD of price?
|
Eman93 4,750 posts msg #94895 - Ignore Eman93 |
7/18/2010 8:15:03 PM
I dont think you can calc the ema of the volume... you can do a simple moving average of the volume
you would use the 12 and the 26 with the 9 as a signal.
http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:moving_average_conve
|
four 5,087 posts msg #94896 - Ignore four |
7/18/2010 9:15:24 PM
http://forums.stockfetcher.com/sfforums/?q=view&fid=1006&tid=265&qrid=&isiframe=
perhaps
|
Eman93 4,750 posts msg #94897 - Ignore Eman93 modified |
7/18/2010 9:19:15 PM
|
push5280 201 posts msg #94909 - Ignore push5280 |
7/19/2010 11:00:10 AM
can anyone help debug?
|
Kevin_in_GA 4,599 posts msg #94911 - Ignore Kevin_in_GA |
7/19/2010 12:56:42 PM
Your last set statement needs a "}" to close it. This is why no stocks are being returned. Look at the Debug function in the filters.
I would try something like this:
Herein lies the problem with the idea of a MACD for volume - it does not distinguish between large UP days and large DOWN days - all volume is seen as positive.
Be careful of this if you try to use this approach with your cash.
|
push5280 201 posts msg #94920 - Ignore push5280 |
7/19/2010 4:50:13 PM
kevin,
thats for your help with the filter, I was getting set errors for the first statement down. sure did miss the closing } . I need to not try to write code in the morning! Thanks for your warning also
|