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

[EquisMetaStock Group] coding request



PureBytes Links

Trading Reference Links


 Hi,

				     Reg: Coding request.

	The following is the coding for a stochastic oscillator:

X:=Input("LENGTH OF STOCHASTIC",5,20,5);
Y:=Input("OVERBOUGHT",60,100,80);
Z:=Input("OVERSOLD",0,40,20);

P2:=Mov(((C-LLV(L,X))/(HHV(H,X)-LLV(L,X)))*100,3,E);
A2:=Mov(((P2-LLV(P2,X))/(HHV(P2,X)-LLV(P2,X)))*100,3,E);
A2;

Y;
Z;

	Can any one please help me to code using the input function, 
(so that the length of the stochastic oscillator, over bought and 
the over sold values can be changed) for Cross(80,stochastic 
oscillator) and also Cross(stochastic oscillator,20). The code I 
wrote is given below:

X:=Input("LENGTH OF STOCHASTIC",5,30,5);
Y:=Input("OVERBOUGHT",60,100,80);
Z:=Input("OVERSOLD",0,40,20);
A:=Input("CROSS OVERBOUGHT",60,100,80);
B:=Input("CROSS OVERSOLD",0,40,20);

P2:=Mov(((C-LLV(L,X))/(HHV(H,X)-LLV(L,X)))*100,3,E);
A2:=Mov(((P2-LLV(P2,X))/(HHV(P2,X)-LLV(P2,X)))*100,3,E);
A2;

Y;
Z; 
Cross(80,P2);
Cross(P2,20);

This code does not give the results. Can any one please correct my 
mistake?
Thanks in advance.

George.




 
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/