PureBytes Links
Trading Reference Links
|
-----Original Message-----
From: William R Wood <wr_wood@xxxxxxxxxxxxx>
To: Omega Email List <omega-list@xxxxxxxxxx>
Date: Tuesday, May 04, 1999 10:24 AM
Subject: How to see internal calculations in EL
>But I can't figure out how to see the internal math of functions/indicators
>etc. For example how do you see the changing states of conditions that
>switch from true to false or the results of calculations by functions that
>contribute to the final result but do not get plotted. All I see so far are
>the final results that get plotted and are thus visible in the Data Window
For a truly "Easy Language" I would have thought kind of step-by-step debugger
program you are expecting would have been part of the minimum requirement for TS
2000. However obviously Omega Research, and Omega advisors like Pierre
Orphelin, didn't see it that way.
As a result to debug Easy Language we are left with very primitive techniques.
I two techniques for debugging: Print statements, typically to the print to
Print Log, and Plot statements. For example I will use a Print statement
like:
if Date = 990503 [or other condition] then Print(Date:6:0," ",Time:4:0, " ",
[variables]);
That means if the Trade Date is 05/03/99 then print the to the Print Log:
Trade Date and Time, in the format yymmdd hhss, [followed by variable values].
Easy Language can be a difficult language to work with for those not used to
such obsolete debugging techniques. Somehow this clear inadequacy in
TradeStation has never been noticed by reviewers for trade magazines, who seem
clearly more interested in selling magazines than pointing out obvious faults in
products of their advertisers.
|