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

Reason # 9,457,298,284.2 as to why I want to strangle the guy who came up with PREV


  • To: "MetaStock List" <metastock@xxxxxxxxxxxxx>
  • Subject: Reason # 9,457,298,284.2 as to why I want to strangle the guy who came up with PREV
  • From: "Corey Saxe" <csaxe@xxxxxxx>
  • Date: Mon, 7 Jan 2002 21:19:59 -0800

PureBytes Links

Trading Reference Links

OK,
I'm probably missing something here, but when I plot:
V1:=Input("Periods",2,250,5);
A1:=(C-Ref(C,-V1))/-V1;
A2:=Sum(LastValue(A1+PREV-PREV),V1);
A2

I get a line just fine. But when I add CLOSE to it, it won't plot a line:
V1:=Input("Periods",2,250,5);
A1:=(C-Ref(C,-V1))/-V1;
A2:=Sum(C + LastValue(A1+PREV-PREV),V1);
A2

{Maybe PREV is supposed to stand for PREVERT}

-Corey Saxe