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

RE: [amibroker] 3 day consecutive drops



PureBytes Links

Trading Reference Links

Title: Message
How about
 
// as a trigger
// 3 lower closes
HHV(C - ref(C,-1),3) < 0
 
OR
 
barssince(C >= ref(C,-1) > 2
 
// as an indicator try this
barsdown = barssince(C >= ref(C,-1));
 
// then reference this in code for a trigger for exactly 3 days down
barsdown = 3
 
I see code by others as well, always a few way to skin the cat...
 
Cheers, Dave
 
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of WaldemarRooijer
Sent: Thursday, 3 May 2007 5:15 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] 3 day consecutive drops

Dear Ami buddies,

I hope this question is not too simple.

Anyone can help me out with the code how do I specify 3 consecutive
lower closes or 3 day drops?

thx in advance.

__._,_.___

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___