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

RE: [amibroker] title display intraday chart - help?



PureBytes Links

Trading Reference Links




I solved my problem, here is the solution 
:
 
It checks if events takes place one after other and 
happen same day. Works fine for me, thanks again.
 
Maybe somone will find it usefull

EVENT1=Cross<FONT 
size=1>(H,DSu); 
EVENT2=Cross<FONT 
size=1>(Oo,L); 
data_ev1=ValueWhen<FONT 
size=1>(EVENT1,DayOfYear<FONT 
size=1>(),1);
data_ev2=ValueWhen<FONT 
size=1>(EVENT2,DayOfYear<FONT 
size=1>(),1);
VAL1=BarsSince<FONT 
size=1>(EVENT1)>BarsSince<FONT 
size=1>(EVENT2) AND data_ev1==data_ev2;;<FONT color=#008000 
size=1>
CondS=VAL1 AND Ref<FONT 
size=1>(VAL1,-1<FONT 
size=1>)==0; 
 
gty


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.