PureBytes Links
Trading Reference Links
|
For the benefit of anyone else who might be struggling with this problem now
or in the future. Stuart Orokofsky was nice enough to provide me a gratis 5
min consultation, and he pointed out that LastBarOnChart solves my problem
quite elegantly.
Using a simple:
If LastBarOnChart Then Begin;
...
End
Allows one to restrict operation of the ShowMe until the last bar on the
chart. Thanks to Stuart I have my code running in EL.
Thanks to all who offered their suggestions.
John Hamon
-----Original Message-----
From: john hamon [mailto:jhamon@xxxxxxxxxxx]
Sent: Friday, July 28, 2000 9:34 AM
To: Omega_List
Subject: Omega EL dept says it can't be done, but...
I'm sure that there's somebody on this list who has a better idea.
I already have a substantial base of work that I have developed in VB. I am
trying to port these ideas to EL.
Here's what I am trying to do: I want to load 500 days of a price series
into an array and then manipulate it -- the result is to be a "show me"
style indicator that marks either the H or L of certain bars if they meet my
criteria. I am a reasonably experienced EL user, but here's my problem:
"show me" indicators calculate for every bar one at a time. What I want is
to be able to:
1. load an entire price series into an array
2. manipulate it
3. mark the bars that meet the criteria
Ideally, I would like this same information to be available to another
indicator that I can plot at the bottom of the chart.
Here's the EL Dept.'s response:
EasyLanguage currently does not provide a means to first load the
entire
data stream into an array. All techniques calculate for every bar
one at a
time, including indicators.
I know that there must be a way to do this, either through a .DLL or some
other clever mechanisms.
I greatly appreciate any help that I can get.
Thanks in advance,
John Hamon
|