[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: volume spike



PureBytes Links

Trading Reference Links

Make sure that you have proper Date Range in your AA window. And also try it with exponential MA.

Filter = 1;
VolSpike = V > Ref(EMA(V,20)*2, -1);
AddColumn (VolSpike, "Volume Spike");

Lester


--- In amibroker@xxxxxxxxxxxxxxx, "xxxringop" <xxxringop@xxx> wrote:
>
> I did a search through the posts on this subject and got this code 
> VolSpike = V > Ref( MA( V, 20 ) * 2 , -1 );
> 
> However, when I use this code, it shows the spike(s) in volume that 
> happened before current day.  How do I change this code or the filter 
> to show only the spikes that happen on today's date (current)?  Thanks.
>



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.30/674 - Release Date: 2/7/2007 3:33 PM