PureBytes Links
Trading Reference Links
|
Bob....how about the rest of the code? We've followed you this far. Can you
post the code text to the list. I'm holding on to the function.......would
like to see the rest.
John
Bob Fulks wrote:
> At 7:59 AM -0400 5/14/98, Bill Vedder wrote:
>
> >
> >The function below was posted in December as part of the "Raptor" system.
> >I've had no luck contacting the author about this so I'm putting the
> >question to the list. Maybe someone has looked into this and can help.
> >
> >Is there is any way for the variable DM to take on any other value than
> >0? Is a part of the system code missing? Any insight is appreciated.
>
> I have the code. You are missing a statement. I have modified your code
> below to match mine.
>
> I show a reference to TASC Traders' Tips, December '97.
>
> Bob Fulks
>
> *********************** VFORCE ***************************************
> Vars: TSum(0), Trend(0), DM(0), CM(0);
>
> TSum = High + Low + Close;
>
> IF TSum > TSum[1] Then
> Trend = 1
> Else
> Trend = -1;
>
> DM = Range;
>
> IF Trend = Trend[1] Then
> CM = CM + Range
> Else
> CM = Range + Range[1];
>
> IF CM <> 0 Then
> VForce = Volume * AbsValue(2 * (DM/CM) -1) * Trend * 100;
> ************************************************************************
|