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

Re: parabolic variation



PureBytes Links

Trading Reference Links

Slack!!

Inputs: AFVal(0.07), AFAdj(0.015), Slip(0);
Vars: Para(0), SL(0), Fin(0), Counter(0), ParaStar(False), ParaFin(False);
Array: Slpe[5](0);

Para = ParabolicCustom(AFVal,AFAdj)[1];
SL = IFF(Para[1]<L[1],(Para - Para[1])/1,-1);
ParaStar = (SL > 0) and (SL[2] < 0) and (Para < H);
ParaFin = Value2 crosses above (L[1] + Slip Points);

If CurrentBar > 2 then begin
 If SL < 0 then begin
  Slpe[0] = 0;
 End;
 If ParaStar = True then begin
  Slpe[0] = SL;
  Slpe[1] = Para;
  Slpe[2] = Para[1];
  Slpe[3] = BarNumber;
  Slpe[4] = BarNumber[1];
  Slpe[5] = -1;
 End;
 If Parafin <> True and Slpe[5] <> 0 then begin
  If SL > Slpe[0] then begin
  Slpe[0] = SL;
  Slpe[1] = Para;
  Slpe[2] = Para[1];
  Slpe[3] = BarNumber;
  Slpe[4] = BarNumber[1];
  Slpe[5] = Value2;
 End;
 If ParaFin = True then begin
  Fin = BarNumber;
  Slpe[0] = 0;
  Slpe[5] = 0;
  End;
  If Slpe[0] > 0 then begin
   Value11 = BarNumber - Slpe[4];
   For Counter = Value11 DownTo Fin Begin
    Value2 = IFF(Slpe[2]<H,Maxlist(Slpe[2],Slpe[5]),Slpe[2]) + ((Value11 -
Counter) * Slpe[0]);
    Plot1[Counter](Value2,"ParaTrnd");
   End;
  End;
 End;
 Plot2(IFF(CurrentBar
>=2,ParabolicCustom(AFVal,AFAdj),Close)[1],"ParaBoll");
End;


----- Original Message -----
From: "Prosper" <brente@xxxxxxxxxxxx>
To: "jonmac" <jonmac@xxxxxxxxxxx>
Sent: Tuesday, 23 October, 2001 4:41 AM
Subject: Re: parabolic variation


> Seems that the code is missing.
>
> Prosper
>
>
>
> > Attached is an image of the code below.
>
>