Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
A:=Input("1=P 2=O 3=H 4=L 5=C 6=MP 7=TYP 8=OHLC",1,8,5);
A1:=If(A=1,P,If(A=2,O,If(A=3,H,If(A=4,L,If(A=5,C,If(A=6,MP(),If(A=7,Typical(),(O+H+L+C)/4)))))));
e1:=Mov(A1,3,E);
e2:=Mov(e1,3,E);
e3:=Mov(e2,3,E);
e4:=Mov(e3,3,E);
e5:=Mov(e4,3,E);
e6:=Mov(e5,3,E);
e1a:=Mov(A1,5,E);
e2a:=Mov(e1a,5,E);
e3a:=Mov(e2a,5,E);
e4a:=Mov(e3a,5,E);
e5a:=Mov(e4a,5,E);
e6a:=Mov(e5a,5,E);
c1:=-.618*.618*.618;
c2:=3*.618*.618+3*.618*.618*.618;
c3:=-6*.618*.618-3*.618-3*.618*.618*.618;
c4:=1+3*.618+.618*.618*.618+3*.618*.618;
T5:=c1*e6a+c2*e5a+c3*e4a+c4*e3a;
T3:=c1*e6+c2*e5+c3*e4+c4*e3;
T3;T5;
You can also checkout the expert in the formula section
|