lc:=ref(c,1); rsi6:=sma(max(c-lc,0),6,1)/sma(abs(c-lc),6,1)*100; rs20:(c-llv(l,20))/(hhv(h,20)-llv(l,20))*100,colorgreen; bi20:=(c-ma(c,20))/ma(c,20)*200+25; bi40:=(c-ma(c,40))/ma(c,40)*100+14; xg:=if(bi20<0 and bi40<0 and (rs20<5 or l=llv(l,36)),1,0); 低:if(hhv(xg,8)=1 and rsi6<16 and count(clc*0.9014,100,0),stick,colorffffff,linethick4; dd:=if(bi20<0 and bi40<0,1,0); 低2:if(hhv(dd,8)=1 and rsi6<16 and count(clc*0.9014,90,0),stick,color0000ff,linethick4; xx:=if((bi20<0 or bi40<0) and rs20<5,1,0); 低3:if(hhv(xx,8)=1 and rsi6<16 and count(clc*0.9014,80,0),stick,colorff00ff,linethick4; 0; 没安装通达信软件,只能从函数理解downnday(c,2)转成大智慧可能是count(cLC:=REF(C,1);RSI6:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;RS20:(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100,COLORGREEN;BI20:=(C-MA(C,20))/MA(C,20)*200+25;BI40:=(C-MA(C,40))/MA(C,40)*100+14;XG:=IF(BI20<0 AND BI40<0 AND (RS20<5 OR L=LLV(L,36)),1,0);低:IF(HHV(XG,8)=1 AND RSI6<16 AND count(C<ref(c,1),2) AND all(C<O,2) AND C=LLV(C,30) AND L=LLV(L,30) AND C<O AND C>LC*0.9014,100,0),STICK,COLORFFFFFF,LINETHICK4;DD:=IF(BI20<0 AND BI40<0,1,0);低2:IF(HHV(DD,8)=1 AND RSI6<16 AND count(C<ref(c,1),2) AND all(C<O,2) AND C=LLV(C,30) AND L=LLV(L,30) AND C<O AND C>LC*0.9014,90,0),STICK,COLOR0000FF,LINETHICK4;XX:=IF((BI20<0 OR BI40<0) AND RS20<5,1,0);低3:IF(HHV(XX,8)=1 AND RSI6<16 AND count(C<ref(c,1),2) AND all(C<O,2) AND C=LLV(C,30) AND L=LLV(L,30) AND C<O AND C>LC*0.9014,80,0),STICK,COLORFF00FF,LINETHICK4; 0;没安装通达信软件,只能从函数理解DOWNNDAY(C,2)转成大智慧可能是count(C<ref(c,1),2),EVERY(C<O,2)可以用all(C<O,2)替代,另外大智慧公式计算中(:=)的段落只允许有计算,不允许有输出LC:=REF(C,1);RSI6:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;RS20:(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100,COLORGREEN;BI20:=(C-MA(C,20))/MA(C,20)*200+25;BI40:=(C-MA(C,40))/MA(C,40)*100+14;XG:=IF(BI20<0 AND BI40<0 AND (RS20<5 OR L=LLV(L,36)),1,0);低:IF(HHV(XG,8)=1 AND RSI6<16 AND C<ref(c,1) and ref(c,1)<ref(c,2) AND C<O and ref(c,1)<ref(o,1) AND C=LLV(C,30) AND L=LLV(L,30) AND C<O AND C>LC*0.9014,100,0),STICK,COLORFFFFFF,LINETHICK4;DD:=IF(BI20<0 AND BI40<0,1,0);低2:IF(HHV(DD,8)=1 AND RSI6<16 AND C<ref(c,1) and ref(c,1)<ref(c,2) AND C<O and ref(c,1)<ref(o,1) AND C=LLV(C,30) AND L=LLV(L,30) AND C<O AND C>LC*0.9014,90,0),STICK,COLOR0000FF,LINETHICK4;XX:=IF((BI20<0 OR BI40<0) AND RS20<5,1,0);低3:IF(HHV(XX,8)=1 AND RSI6<16 AND C<ref(c,1) and ref(c,1)<ref(c,2) AND C<O and ref(c,1)<ref(o,1) AND C=LLV(C,30) AND L=LLV(L,30) AND C<O AND C>LC*0.9014,80,0),STICK,COLORFF00FF,LINETHICK4; 0;