n:=24;
m:=60;
p:=120;
k:=240;
个股24:(CLOSE-REF(CLOSE,N))/REF(CLOSE,N)*100;
大盘24:(INDEXC-REF(INDEXC,N))/REF(INDEXC,N)*100;
强弱值24:(个股24-大盘24);
大盘值24:=INDEXC/REF(INDEXC,N)*100;
股价强度24:强弱值24/大盘值24*100;
个股60:=(CLOSE-REF(CLOSE,M))/REF(CLOSE,M)*100;
大盘60:=(INDEXC-REF(INDEXC,M))/REF(INDEXC,M)*100;
强弱值60:=(个股60-大盘60);
大盘值60:=INDEXC/REF(INDEXC,M)*100;
股价强度60:强弱值60/大盘值60*100;
个股120:=(CLOSE-REF(CLOSE,P))/REF(CLOSE,P)*100;
大盘120:=(INDEXC-REF(INDEXC,P))/REF(INDEXC,P)*100;
强弱值120:=(个股120-大盘120);
大盘值120:=INDEXC/REF(INDEXC,P)*100;
股价强度120:强弱值120/大盘值120*100;
个股240:=(CLOSE-REF(CLOSE,K))/REF(CLOSE,K)*100;
大盘240:=(INDEXC-REF(INDEXC,K))/REF(INDEXC,K)*100;
强弱值240:=(个股240-大盘240);
大盘值240:=INDEXC/REF(INDEXC,K)*100;
股价强度240:强弱值240/大盘值240*100;