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

Re: [amibroker] coding a rule for break of the high of tyhe last up day.......



PureBytes Links

Trading Reference Links

fox,
 
valueSignificantDay = ValueWhen(C > O,C,1);
 
Buy = H > Ref(valueSignificantDay,-1);
BuyPrice = Max(O,Ref(valueSignificantDay,-1));
 
regards, ed
 
 
 
----- Original Message -----
Sent: Tuesday, February 24, 2009 10:28 AM
Subject: [amibroker] coding a rule for break of the high of tyhe last up day.......

Can anyone help me with this......

I want to add a rule to a trading system where the high of today is
higher
than the close of the last "significant day". A significant day is
just a
day when the close is greater than the open, but that may have been
any time
in the last several days.

Any suggestions appreciated, can anyopne help?

Cheers,
Rich



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





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

__,_._,___