Quote from Spydertrader:
I don't use Omega, but I'll have a look at it and see if I can translate it into something else.
- Spydertrader
Edit: I see I have to HAVE Omega to open the file. Maybe you could post the logic behind the indicator, so I could write it using another program?
here is the code:
{***************************************
Written by: Alex Frost
Company: UnderstandMarket.com
Description: Smooth Zero-Based.
****************************************}
Input:Length(NumericSimple),Price(NumericSeries);
Var:j(0),hh(0),b(0),f(0);
Array:R2[100](0),PR[100](0);
if Length<100 AND BarNumber>Length then begin
for j=0 to Length begin
PR[Length-j]=Price[j];
R2[j]=j;
end;
for hh=0 to Length begin
for j=0 to Length-2 begin
if Price[Length-R2[j]]>Price[Length-R2[j+1]] then begin
b=R2[j];
R2[j]=R2[j+1];
R2[j+1]=b;
end;
end;
end;
Value33 = 0;
for j=0 to Length begin
Value33=Value33+Power((R2[j]-j),2);
end;
UMindicator = 1-(6*Value33)/(Power(Length,3)-Length);
end;