Attached is the ELD for TradeStation 8.1.
input:
per(84);
{entry/reverse}
{enter on dip strategy}
if adx(14) < 1.01*(adx(14)[1]) then begin
if rsi(close,per) >= 50.5 and rsi(close,per)[1] < 50.5 then buy("NEP_LE") next bar on open;
if rsi(close,per) <= 49.5 and...