Hi David...I've never heard of WinWave or anything else that uses EL. SC3 & SC4 easy language are crippled from the TS version. I'm going to run into some trouble trying to translate a couple of TS codings I've found. With TS it is more like a basic programing. IMO of course. In the section I'll post at the end of this, somebody says it is pascal. I've never been involved with pascal so I can't comment. I personally like the ability to do "if-then" statements. TS also allows variables to be set at the beginning of the code. You have probably noticed that from some of the TS code I've posted. With basic you code variables with the "DIM" statement. TS with "vars:". With SC, EL variables can't be used, so the work around is harder but can be done. Also TS allows "flags" or "switches". Set switch to zero, do something, set switch to 1, continue on... I don't think I would kick off the $$ for TS myself. (At this point in time <G>.) I think I would want a 1 month trial period. I believe you can return it if you don't like it but I've heard they charge a few hundred $$ for restocking fee. Personally, I will try MS next. MS has a lot more indicators and such than SC for basically the same price. And from what I understand (correct me if I'm wrong Richard) MS will allow you to drag an indicator on to another indicator which then plots the indicator of the indicator. Maybe??(kinda got that feeling from the "New High Line" post). In SC it is impossible to do. I would have to build an indicator to do it.
Here is something else to consider. You would have to check into this but I've heard stories about people having to call Omega to get the security code updated for TS. I don't know if it times out after so long or what. But sounds like more Omega hassles to me.
As for "C". I've never used that one either <G>. Teaching myself Visual Basic at the moment ( when I find the time)... I'd like to put together a specialty charting program....one of these days. Probably like you're thinking. We've got the commercial programs to do most everything but there is always that something extra....
Jøhn
******************************************************************** The formulas section is very instructive: Metastock has still it's macro parenthesis language. Lets do a comparison:
Slope of a Linear Regression Line (from Metastock web site). << The following custom formula will return the slope of a 14 day linear regression line. ((Sum(Cum(1) * ((14*Sum(Cum(1) * C,14) -Sum(Cum(1),14) * Sum(C,14)) / (14 * Sum(Pwr(Cum(1),2),14) - Pwr(Sum(Cum(1),14),2)) * Cum(1) + (Mov(C,14,S) -Mov(Cum(1),14,S) * (14 * Sum(Cum(1) * C,14) -Sum(Cum(1),14) * Sum(C,14)) / (14 * Sum(Pwr(Cum(1),2),14) - Pwr(Sum(Cum(1),14),2)))),14)) -(Sum(Cum(1),14) * Sum(((14 * Sum(Cum(1) * C,14) -Sum(Cum(1),14) * Sum(C,14)) / (14 * Sum(Pwr(Cum(1),2),14) - Pwr(Sum(Cum(1),14),2)) * Cum(1) + (Mov(C,14,S) -Mov(Cum(1),14,S) * (14 * Sum(Cum(1) * C,14) -Sum(Cum(1),14) * Sum(C,14)) / (14 * Sum(Pwr(Cum(1),2),14) -Pwr(Sum(Cum(1),14),2)))),14) / 14)) / ((Sum(Power(Cum(1),2),14)) - (Power(Sum(Cum(1),14),2) / 14))
** You can change the time periods by replacing every occurrence of 14 with you desired time period.
Wharf! >>
Same calculation in Easy Language:
Provided By : Omega Research, Inc. (c) Copyright 1995
inputs: Price(NumericSeries),Len(NumericSimple); vars : X(0),Num1(0),Num2(0),SumBars(0), SumSqrBars(0),SumY(0),Sum1(0),Sum2(0);
if Len = 0 then LinearRegSlope=0;
SumBars = Len*(Len-1)/2; SumSqrBars = (Len-1)*Len*(2*Len-1)/6; Sum1 = 0; for X = 0 to Len-1 begin Sum1= Sum1 + X*Price[X]; end; SumY = Summation(Price,Len); Sum2 = SumBars * SumY; Num1 = Len*Sum1 - Sum2; Num2 = SumBars*SumBars - Len*SumSqrBars; if (Num2 <> 0) then LinearRegSlope = Num1 / Num2 else LinearRegSlope = 0;
What's above is in fact a Pascal code (also called Easy Language). This is a programming language.
Metastock is not really a true programming one. (try to write a slope of a 50 day linear regression line in Metastock, and try to find out your errors after. Good luck !) ******************************************************************** |