PureBytes Links
Trading Reference Links
|
Respected Sir,
I have written a code posted below. I want to restrict the horizontal lines to the event when close is above/below moving average. Currently it displays horizontal lines on previous data also. Please help & oblige.
SIG:=Input("Enter T-Line Periods",1,200,8);
EVN:=Input("Enter Required Event",1,100,1);
{---------------------------------------------------------------}
A1:=Mov(C,SIG,W);
x:=Cross(C,A1);{Blue}
B1:=ValueWhen(EVN,x,C);
x1:=Cross(A1,C);{Red}
B2:=ValueWhen(EVN,x1,A1);
A1;B1;B2
Dilawar
---------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|