Here is EasyLanguage code for Ergodic that I found on a website:
-------------------------------------------------------------
Create this function in easy language: blaucsi
inputs: r(numericsimple), s(numericsimple), u(numericsimple);
value1= 100* TripleAverage(close-open, r, s, u);
value2= tripleaverage(high-low,r,s,u);
if value2 <> 0 then
blaucsi = value1/value2
else
blaucsi = 0
-------------------------------------------------------------
Create this indicator: Ergodic
inputs: r(13), smooth1(5), smooth2(5);
value1 =blaucsi(r,smooth1,1);
value2 = blaucsi(r,smooth1,smooth2);
plot1(value1, "Blaucsi");
plot2(value2, "sigline");
plot3(20,"Overbought");
Plot4(-20, "Oversold");
-------------------------------------------------------------
The author of this indicator says that Blau used
r=26 and smooth=5 as the default. [/B][/QUOTE]
Where does this formula come from??
TradeStation does not provide TRIPLE AVERAGE - so what can I do?
Thx
Charly