To: Zeev Hed who wrote (78112 ) 6/7/2001 9:11:21 AM From: Haim R. Branisteanu Respond to of 99985 Zeev, write a not to my computer <GGG> or on a more productive note why not improve the software. That is the program: #index 'SPX' #MAX_QUOTES 150 #OUTPUT_FILE 'RSISTO.LST N' if quote_count < 65 then return; if first_ticker then begin writeln ('Analysis of end of Day Closing prices and recommendations in'); writeln ('the US Stock Market, or the Den of Thieves & Swindlers'); writeln (' '); ...................................................... writeln ('Today is ' ,date,' Remember this is a computer scan only'); writeln (' '); writeln ('S&P Closed ',index,); writeln('S&P Change ',(index-index[-1])); writeln('P/C Ratio VXN'); writeln('Recomandation Price Stoch. RSI RSI RS'); writeln(' Change ROC%'); writeln(' '); end; RS : ARRAY; { Relative Strength Array} OFS : ARRAY; { Initial Offset array} rsroc: array; rsi_array : array; rsi13: array; rsich: array; stoch_array : array; stoch_array = stoch(14,3); RS=mulby(div(C,index),100); set(OFS,RS[1]); RS=SUB(RS,OFS); rsroc=ROC(RS,5,'%'); rsi_array=RSI(14); rsi13=MOV(rsi_array,13,'E'); rsidif: array; rsidif=SUB(rsi_array,rsi13); d3_array : array; d3_array = mov(stoch_array,3,'E'); ma_array = mov(c,21,'E'); rsich = rsi_array[0]-rsi_array[-1] if d3_array[-1] <= 25 AND stoch_array[-1] < d3_array[-1] AND stoch_array > d3_array AND C < ma_array AND rsroc>(-1) AND rsidif> (-10) THEN WRITELN(' BUY SIGNAL ON ',TICKER , C,' ',stoch_array,' ',int(rsi_array),' ',int(rsich),' ',int(rsroc)); if d3_array[-1] >= 77 AND stoch_array[-1] > d3_array[-1] AND stoch_array < d3_array AND C > ma_array AND rsroc< 1 AND rsidif< 10 THEN WRITELN('SELL SIGNAL ON ',TICKER , C,' ',stoch_array,' ',int(rsi_array),' ',int(rsich),' ',int(rsroc)); end;