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

[amibroker] re:ECO



PureBytes Links

Trading Reference Links

Hello,
 Here is the code used for the ECO but written for Investor R/T 
software. Could someone please code it for AB. I think it would make 
a good edition to the library. William Blau's work is very 
interesting. Here is the info.

Ergodic = TSI
Ergodic Signal Line = EMA(TSI)
Ergodic Oscillator = TSI - EMA(TSI) 
By default, TSI is setup with a Short Term of 5 and a Long Term of 20 
and EMA is setup with a period of 5.
 
  
The Presentation . . .  . . . more on Charts 
 

 
The chart above is a daily candlestick chart of INTC.  The Ergodic 
Oscillator is chart in the second pane as a histogram.  The Ergodic 
(Red) and the Ergodic Signal (Blue) lines are charted in the lower 
pane. 
Chart Definition . . .   
 
 
 
The Ergodic chart seen above can be downloaded and imported into 
Investor/RT using the process below: 
Right-click here and choose "Save Target As". 
Select a location on your computer to save the Ergodic.txt file 
(chart definition). 
>From within Investor/RT, choose "File: Import: Chart Definition". 
Locate and select the Ergodic.txt file you just saved to your 
computer and then click "Open". 
The Ergodic chart should appear.  The three custom indicators 
(Ergodic, ErgodicSig, and ErgodicOsc) will also be imported and 
appear in the chart. 
You may have to download data and/or switch symbols or periodicity in 
order to properly view the indicators. 
 
  
The Description . . . 
Trading Ergodics with the Trend - Rules 
Enter or hold position only when slope of Ergodic Signal line has the 
same direction as the trend 
Stand aside when slope of Ergodic Signal Line is in the opposite 
direction of trend 
Enter or exit position when Ergodic and its Signal Line cross 
 

I like the idea of the histogram as well as watching the slope. If 
you don't have the formula for the TSI here it is.

TSI = NUM / DEN
where
NUM = MA(MA(Mom, Exp, Long, m), Exp, n)
DEN = MA(MA(AbsMom, Exp, Long, m), Exp, n)
Mom = PRICE - PRICE.1
AbsMom = ABS(PRICE - PRICE.1)
m = Long Term
n = Short Term 
  
The Presentation . . .  . . . more on Charts 
 


Above is a 5 Minute Bar Chart of America Online (AOL).  The bold blue 
line in the lower window pane represents the true strength index, as 
specified in the preferences below.
 
  
The Preferences . . .  . . . more on Preferences 
 

 
Short Term - Second Period used in the double exponential smoothing 
of momentum. 

Long Term - First Period used in the double exponential smoothing of 
the momentum. 

Price - Price used as input for the calculations seen above. 

Line Color - Color of the TSI line in the chart. 
 
  
The Description . . . 
True Strength is a variation of the Relative Strength indicator. It 
uses a double smoothed exponential moving average of price momentum 
to eliminate choppy price changes and spot trend changes. This 
indicator has little or no time lag. An increasing True Strength 
value indicates increasing momentum in the direction of price 
movement. 

Thank you for any and all help.



Tim






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a difference. Find and fund world-changing projects at GlobalGiving.
http://us.click.yahoo.com/PcNrnD/PbOLAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/