將大智慧出現(xiàn)紅柱為選股公式
2020/1/16 18:32:17
公式編寫說明:
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;RSV2:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;WEN:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV (LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);強(qiáng)弱界線:49,POINTDOT,LINETHICK3,COLOR9966CC;見頂信號(hào):100,COLORCCFF00;出點(diǎn)準(zhǔn)備: IF(CROSS(J2,J1) AND J2>85,70,100),LINETHICK2,COLOR00FF00;趨勢(shì)線: WEN,LINETHICK2,COLORFF84FF;買點(diǎn)準(zhǔn)備:IF(趨勢(shì)線<=10,30,0),LINETHICK2,COLORYELLOW;G1:W1,LINETHICK2,COLORWHITE;G2:W2,LINETHICK2,COLORCYAN;STICKLINE(趨勢(shì)線>88,100,趨勢(shì)線,5,1),COLORGREEN;STICKLINE(趨勢(shì)線<=10,0,趨勢(shì)線,5,1),COLORYELLOW;STICKLINE(COUNT(趨勢(shì)線<REF(趨勢(shì)線,1) AND 趨勢(shì)線<10,2)=2 ,0,20,8,0),COLORRED;STICKLINE(CROSS(J2,J1) AND J2>85,100,80,8,0),COLORGREEN;DRAWICON(CROSS(趨勢(shì)線,49),趨勢(shì)線,7),COLORRED;DRAWICON(FILTER(CROSS(G2,G1) AND G2>81,10),G2*1.05,2);DRAWTEXT(CROSS(趨勢(shì)線,49),47,'轉(zhuǎn)強(qiáng)'),ALIGN0,COLORRED;DRAWTEXT(CROSS(49,趨勢(shì)線),52,'轉(zhuǎn)弱'),ALIGN0,COLORGREEN;
公式源碼示例:
趨勢(shì)線:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV (LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
選股:(COUNT(趨勢(shì)線<REF(趨勢(shì)線,1) AND 趨勢(shì)線<10,2)=2 );
看 股吧公式 www. kanguba.com
其它股票公式列表