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

Re: Computer language ( wrong understanding)



PureBytes Links

Trading Reference Links


-----Message d'origine-----
De : Lawrence Chan <stnahc@xxxxxxxx>
À : Patrick White <simgenie@xxxxxxxxx>; Phil <rhodes@xxxxxxxxxxxxxx>; omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
Date : lundi 11 décembre 2000 21:19
Objet : Re: Computer language
 
>
>take an example, you want to apply moving average
>on another moving average on another moving average,
>etc.
>
>in Easylang, you can just pile them up
>average (average (average ( ... )))
>
>Easylang will calc each average only once and remember
>each as a separate series. a type of optimization
>since it is specifically made to work that way.
>
>in any other script lang,
>
>average (average (average (expression, ...)))
>
>the expression will have to be treated something
>that will be recalculated on the fly and each time
>the above line is called, all the calculations will
>be repeated again and again, all the time.
>
>This problem is not noticable because nowadays our
>computers are way faster than before ...
>unless you have some very complex calculation 
>on hand ....
>

Wrong method.
You need to use :
value1= average( expression)
value2=vaerage( value1..)
value3=average(value2..)

According to the context , a different  average user function is used ( see the average function listing in the power editor).
Thethe calcuations are faster than what you expect.


>> 
>> Lawrence Wrote:
>> The pitfall is this ability also crippled its
>> power to compute something more complex.
>
>the optimization of easylang on handling series
>made it easier to mix series and numbers, but
>then how should one handle say a multidimensional
>matrix of series ?! it cannot.
>

What is a multidimentionaml array of series!!??!
A mutidimentional array is de facto containing series if you update the matrix cell when necessary!

>In a normal programming lang, you can then 
>have a matrix of pointers or objects, where each
>of these objects are series themselves. Maybe 
>harder to do in VB, but definitely a breeze in 
>object pascal, c++, java, etc.
>

EL is not C++
You have he right to compile a DLL tat use pointers and call it from EL if you like it.
I cannot see a difference in compiling a pointer code in C and compiling a DLL  using pointers in it , then calling it from TS EL.
Suffice to say that the need of this kind of calcuation is above the average trader and  even seldom used by a proficient EL user.


>> 
>> I take it that the "its" in the above sentence
>> refers to EasyLanguage?
>
>My point in the original mesg is about how the
>users of easylang outgrew its power. Unluckily
>it is hard for most users of easylang to switch
>to other programming language because easylang
>is just different.
>
>In short Omega did something great in the beginning
>with TS and its programming lang. But that era is
>gone and the programmers who did the marvels for
>Omega had all left the company years ago. 

Old time was  so good and sweet to my memory when grand'ma have explained to me the subtle paperwork of grand'pa using point and figures for trading on brown paper bags.
Then she gave  me a piece of cake with  a lot of maple syrup...

>TS4 is a total rewrite of TS3, and then TS2000 is a 
>total rewrite of TS4. Thus we cannot expect the
>stability of TS3.
>

No.
We cannot expect the intelligence of TS3 users

 >> =====
>> Lawrence Chan                  
>> http://www.tickquest.com
>> Innovative Analytical Software for Trading
>> Professionals
 

HA HA !!  hahahahah!
Gnarf gnarf!

 A new MB clone trying to sell  his new TW mixture on Omega List...

You should have started your message with the above lines!

PO