Here is the EDS Routine.Also posted in the EDS section..
! Test the value/range of RSI from yesterday and today
RS32 if val([RSI Wilder],1)<25 and [RSI Wilder]>25 and [rsi wilder]<48.
!RS48 if val([RSI Wilder],1)<48 and [RSI Wilder]>48 and [rsi wilder]<90.
! test for liquidity ( enough volume) today
vol if [volume]>=0 .
! test value of MACD OSC ( not too clever this one)
MAC if val([macd osc],1)>0 and [macd osc]>0.5.
!Test is macd osc today is greater than yesterday
!MAC if val([macd osc],1)< [macd osc].
!test value of ER up for today
erup if [er up]>88.
!Test if close is > than short term moving average
stma if [close]>[st ma].
!Test if OBV Pct and VA pct ( or just VA pct) is positive
!obv if [obv pct]>0 and [va pct]>0.
obv if [va pct]>0.
! selection logic:
select if (rs32) and stma and mac and erup and obv and vol.
!exit rules- test for dropping off of CCI or TCI or SVMA or stochastic
! these exits are very fast and may not provide maximum profits if STRICTLY adhered to....
!But they WILL protect your losses faster!
CCI if val([CCI],1)>[CCI].
TCI if val([TCI],1)>[TCI].
SVMA if val([SVMA],1)>[SVMA].
STCH if val([stochastic],1)>[stochastic].
sell if CCI or TCI or SVMA or stch.
Be warned!! This EDS seems to select illiquid, low value stocks that will have inherently high spreads and risks, thus increasing exposure to the downside.