PureBytes Links
Trading Reference Links
|
Oh yeah sorry, here's the VarLenDMI code I have.
Robert
Inputs: UpLimt(Numeric), LoLimt(Numeric);
Vars: StdAvg(0), StdVol(0), DTime(0);
StdAvg = Average(StdDev(C, 5), 10);
IF StdAvg <> 0 Then Begin
StdVol = StdDev(Close, 5)/StdAvg;
DTime = INTPortion(14/StdAvg);
End;
IF DTime > UpLimt Then
VarLenDMI = UpLimt
Else
IF DTime < LoLimt Then
VarLenDMI = LoLimt
Else
VarLenDMI = DTime;
At 03:50 PM 6/10/1999 -0400, The Omega Man wrote:
>
>Robert, you bearish son-of-a-gun you, post the code for VarLenDMI...
>
>
>The Omega Man
>
>
>
>----- Original Message -----
>From: Robert Cummings <robert.cummings@xxxxxxxxxxxxxxxx>
>To: <Omega-list@xxxxxxxxxx>
>Sent: Thursday, June 10, 1999 1:40 PM
>Subject: Will not Plot
>
>
>>
>> This indicator will not plot correctly on my chart just straight lines.
>> Anybody see any reason or have a suggestion to what I may do to correct
>> this problem.
>>
>> Robert
>>
>> Input: RSILen(14),BuyZone(30),SellZone(70),UpLimt(30),LoLimt(5);
>> Plot1(RSI(VarLenDMI(UpLimt, LoLimt), RSILen),"Plot1");
>> Plot2(BuyZone,"Plot2");
>> Plot3(SellZone,"Plot3");
>> IF CheckAlert Then Begin
>> IF Plot1 Crosses Above Plot2 or Plot1 Crosses Below Plot2
>> or Plot1 Crosses Above Plot3 or Plot1 Crosses Below Plot3
>> or Plot2 Crosses Above Plot3 or Plot2 Crosses Below Plot3
>> Then Alert = TRUE;
>> End;
>>
>
>
|