PureBytes Links
Trading Reference Links
|
Not sure what the volume spike is supposed to do, but the 'Ref() part of the formula as written is what does the 1 day look back.
Try VolSpike = V > MA( V, 20 ) * 2 ;
----- Original Message ----
From: xxxringop <xxxringop@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, February 7, 2007 4:37:20 PM
Subject: [amibroker] volume spike
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.
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
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
|