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

Re: formula/exploration help



PureBytes Links

Trading Reference Links

Correct Steve, there is a character("=") missing for it to be a proper Function.
Should be as follows:

Formula Name: REI Indicator
VAR1:=
If(Ref(H,-2),< ,Ref(C,-7),If(
etc. etc.

You will have to add the " = " character to every Function in the REI Indicator-formula.

Actualy, this is on the side, but have a look too on p. 209-212(MS65-manual).
You will be amaced on this type of Function(Variable) and its usage posibilities.
(Remember never to use any EXCISTING names, eg all that are "internaly known" in
the MS-program+its subprograms, see Tip3-Naming of Variables at bottom p.209)

Regards,
Ton Maas
Ms-IRB@xxxxxxxxx


-----Oorspronkelijk bericht-----
Van: Steve Karnish <kernish@xxxxxxxxxxxx>
Aan: metastock@xxxxxxxxxxxxx <metastock@xxxxxxxxxxxxx>
Datum: zondag 23 augustus 1998 22:24
Onderwerp: Re: formula/exploration help


>Ton,
>When I put in DeMark's REI formula...MS rejects the "VAR1" with:
>{This character is invalid when used in this manner at this
>location}.  What gives?  I know I'm an idiot when it comes to
>simple programming, but I copied the formula and I'm really good
>at typing things in exactly.
>
>Thanks in advance,
>Steve Karnish
>CCT
>
>----------
>> From: A.J. Maas <anthmaas@xxxxxx>
>> To: metastock@xxxxxxxxxxxxx
>> Subject: Re: formula/exploration help
>> Date: Saturday, August 22, 1998 5:34 AM
>> 
>> If({condition}fml( "secret oscillatorA")=1{is met},
>> {then} fml( "super-secret oscB"){must be greater then}>0{shows
>1 when met},
>> {else is} 0)
>> 
>> Regards,
>> Ton Maas
>> Ms-IRB@xxxxxxxxx