METASTOCK: MARCH 2013
- Details
- Parent Category: Departments
- Category: Traders' Tips
- Written by William Golson, MetaStock Technical Support

Slawomir Bobrowski’s article in this issue introduces trading with camarilla points. His technique can be replicated in MetaStock using the following formula that draws the lines:
x:= Input("time frame", 1, 50, 15);
new:=Mod(Cum(1),x) = 0;
yh:=ValueWhen(1,new, Ref(HighestSince(1,new,H),-1));
yl:=ValueWhen(1,new, Ref(LowestSince(1,new,L),-1));
yc:=ValueWhen(1,new, Ref(C,-1));
r:=yh-yl;
r1:= yc+r*1.1/12;
s1:= yc-r*1.1/12;
r2:= yc+r*1.1/6;
s2:= yc-r*1.1/6;
r3:= yc+r*1.1/4;
s3:= yc-r*1.1/4;
r4:= yc+r*1.1/2;
s4:= yc-r*1.1/2;
r5:= yc*(yh/If(yl<=0,yc,yl));
s5:= yc-(r5-yc);
r5;
r4;
r3;
r2;
r1;
s1;
s2;
s3;
s4;
s5;

Join us on Facebook
Follow us on Twitter