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

Re: help w/ omega code



PureBytes Links

Trading Reference Links

These are formulas which I implemented in VB rather than EL, however given the
formulas, it should not be difficult to implement the first two in EL, Excel, or
other tool of choice. The third requires iterating each point on the LR line to
obtain the previous and current point values used in the calc.

Earl

-----Original Message-----
From: BrentinUtahsDixie <brente@xxxxxxxxxxxx>
To: Earl Adamy <eadamy@xxxxxxxxxx>; REALTRADERS@xxxxxxxxxxxxxx
<REALTRADERS@xxxxxxxxxxxxxx>
Date: Friday, May 15, 1998 10:11 PM
Subject: Re: help w/ omega code


>As this code is obviously not Omega code, how about writing out these
>formulae in full so we can check them out.


>> Your approach will run afoul of the scaling of the chart. I use Rate Of
>Return
>> on Linear Regression lines to deal with this problem. Here are 3
>different
>> formulas which were given to me. I use Calculated ROR.
>>
>> '           SimpleROR   = ((LREnd-LRBegin)/Abs(LRBegin)) *
>(amcTRADEDAYS_YEAR /
>> LRLength in trade days)
>> '
>> '           CompoundROR = ((LREnd / LRBegin) ^ (amcTRADEDAYS_YEAR /
>LRLength in
>> trade days)) - 1
>> '                   NOTE: Negative number can not be raised to fractional
>power
>> '
>> '           Calculated ROR = (Sum((LRCurr - LRPrev) / LRPrev) / LRLength)
>> *
>> amcTRADEDAYS_YEAR
>>
>> Earl
>>
>> -----Original Message-----
>> From: Tullman, Mitch <MitchT@xxxxxxx>
>> To: 'REALTRADERS@xxxxxxxxxxxxxx' <REALTRADERS@xxxxxxxxxxxxxx>
>> Date: Thursday, May 14, 1998 9:19 AM
>> Subject: help w/ omega code
>>
>>
>> >Hi,
>> >
>> >
>> >   Does anyone know how to code this idea??
>> >
>> >If the angle of the moving avg is greater than 35% then buy the first
>> >.382% retracement
>> >of the underlying
>> >
>> >
>> >don't even know if it's possible....thanks, Mitch
>> >
>>
>>