PureBytes Links
Trading Reference Links
|
Neo:
Metastock would be a very powerful program if they had either a programming
language or a subset of a programming language that could interface with
Metastock.
Such a programming language exists, its part of the TAS program. Because of
past disagreements Equis wont deal with Flexsoft(the owner of TAS) and wont
consider anything else. TAS I not a Windows program so that it would have to
be rewritten for the windows environment. this would be much simpler than
using power basic and MSK with the attendant learning curves and licensing
costs.
Lionel Issen
lissen@xxxxxxxxxxxxxx
----- Original Message -----
From: "neo" <neo1@xxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Tuesday, December 26, 2000 5:32 PM
Subject: RE: Need Help on If Function....
> This is from MetaStock support:
>
>
> Your email was responded to by:
> William
> Equis Customer Support
> http://www.equis.com
>
>
> William's response is below the following line.
> -----------------------------------------------------------------------
>
>
> I can relay your suggestion, but till it is implemented your best option
> is using the MetaStock Developer's Tool kit and writing a custom DLL.
>
> The MetaStock Formula language is a mathematical expression to be
> calculated and plotted for each bar of data loaded. The calculation of
> gravity does not have an condition under which it does not exist. It
> may be very small, but it does exist. By the same token, if you were
> given a formula and some data and instructed to calculate the formula
> for every data point, you might be distressed to find the formula
> incomplete. That is the effect of an If-Then without the else.
>
> Call it a failing if you wish, but our formula language is not designed
> to have a plot start and stop. It must have a continuous string of
> values which it plots in an unbroken line. That is why the If-Then
> capability is not currently implemented. Perhaps a future version of
> the program will allow this flexibility. Until then, a custom DLL may
> be closest to the result you are seeking.
>
> This is from MetaStock support:
>
> -----Original Message-----
>
> There seems to be a simple formula missing. MetaStock has an If
> function that is really an If Then Else function. The problem is that
there
> is no
> If Then function. The problem arises if one does not wish anything to be
> plotted under the else condition. If one places a 0 for the third
> parameter then a point is plotted at 0.
>
> Is there a null parameter that can be used as the 3rd parameter? Would
> you suggest to the programmers that a plain If Then function be added?
>
> Thank you
>
|