PureBytes Links
Trading Reference Links
|
I will post some code this weekend, been too busy to do that.
Basically you just write some EL to detect the beginning of a week for
example and also to keep track of the hi/low/last during the week, and then
when the first bar of a new week is detected you record the OHLC in an
array. I heard of too many strange problems when others were using Data2 so
I avoided it altogether and used the arrays. I never found any problems at
all with the arrays, other than the amount of code I had to write.
Interestingly enough, running an indicator with several hundred lines of
code is not much slower than running one with only a few lines. [K6-2, 64
Meg, Win98].
Max
-----Original Message-----
From: dhiraj s kothari [mailto:kotharidhiraj@xxxxxxxxxxxxxx]
Sent: Thursday, December 19, 2002 4:08 AM
To: omega-list@xxxxxxxxxx
Subject: Re: DIFFERENT TIME FRAMES
thanks max, could you pls be a little more elaborate about using
arrays.
i never have really tried much stuff with arrays.
thanks,]
dhiraj.
*****************************
This communication may contain information that is proprietary, privileged,
confidential or legally exempt from disclosure. If you are not a named
addressee, you are notified that you are not authorized to read, print,
retain, copy or disseminate this communication without the consent of the
sender and that doing so may be unlawful. If you have received this
communication in error, please notify the sender via return e-mail and
delete it from your computer. Thank you. St. Jude Medical, Inc.
*****************************
|