AZGuy
24th April 2004, 06:18 AM
Hello,
I am new to both programs. I am trying to enter the new point and figure sell signals formulas found in Metastock 9.0 under the expert advisor. However, when I copy and paste the formula for the double bottom sell signal to the ExitTrigger:=
Double Bottom sell signal:
data:= FmlVar("** P & F Values **","DATA");
box:= LastValue(FmlVar("** P & F Values **","BOX"));
reva:= LastValue(FmlVar("** P & F Values **","REVERSAL"));
thresh:=LastValue(FmlVar("** P & F Values **","THRESHOLD"));
newx:=ExtFml("PointFig.pointfig",data,box,reva,thresh,col)=1 AND ExtFml("PointFig.pointfig",data,box,reva,thresh,rev)=1;
Cross(ValueWhen(1,newx,Ref(ExtFml("PointFig.pointfig",data,box,reva,thresh,box),-1)),ExtFml("PointFig.pointfig",data,box,reva,thresh,box))
I get the following error: (This is not a recognized name, constant or operator.)
Any ideas?
Thanks :roll:
I am new to both programs. I am trying to enter the new point and figure sell signals formulas found in Metastock 9.0 under the expert advisor. However, when I copy and paste the formula for the double bottom sell signal to the ExitTrigger:=
Double Bottom sell signal:
data:= FmlVar("** P & F Values **","DATA");
box:= LastValue(FmlVar("** P & F Values **","BOX"));
reva:= LastValue(FmlVar("** P & F Values **","REVERSAL"));
thresh:=LastValue(FmlVar("** P & F Values **","THRESHOLD"));
newx:=ExtFml("PointFig.pointfig",data,box,reva,thresh,col)=1 AND ExtFml("PointFig.pointfig",data,box,reva,thresh,rev)=1;
Cross(ValueWhen(1,newx,Ref(ExtFml("PointFig.pointfig",data,box,reva,thresh,box),-1)),ExtFml("PointFig.pointfig",data,box,reva,thresh,box))
I get the following error: (This is not a recognized name, constant or operator.)
Any ideas?
Thanks :roll: