副图公式源码支持: 手机/电脑
顶线:90.00,COLOR3C3CFF;
底线:10.00,COLORBLUE;
上上线:70.00;
上中:60.00;
下中:40.00;
下下线:30.00;
中线:50.00,COLORBLUE;
GUP1:=LLV(LOW,13);
GUP2:=HHV(HIGH,13);
GUP3:=SMA((CLOSE-GUP1)/(GUP2-GUP1)*100,5,1);
GUP4:=SMA((GUP2-CLOSE)/(GUP2-GUP1)*100,5,1);
DRAWBAND(GUP3,RGB(155,50,50),50,RGB(0,100,50));
主力:GUP3;散户:GUP4;
GUP5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;
操盘:EMA(GUP5,3),COLORFFA005;
快速:EMA(GUP5,1);
STICKLINE(C,90,90,1,0),COLOR3C3CFF;
STICKLINE(C,50,50,1,0),COLORYELLOW;
STICKLINE(C,10,10,1,0),COLORCYAN;
DIF:=EMA(CLOSE,5)-EMA(CLOSE,10);
DEA:=EMA(DIF,5);
MACD:=(DIF-DEA)*2;
JC:=CROSS(DIF,DEA);
SC:=CROSS(DEA,DIF);
DRAWICON(JC,60,1);
DRAWICON(JC,90,7);
DRAWICON(SC,60,2);
DRAWICON(SC,90,8);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,3),,COLORWHITE,DOTLINE,LINETHICK1;
D:=SMA(K,9,3),COLORYELLOW;
J:=3*K-2*D,COLORMAGENTA;
IF(J<D,J,DRAWNULL),COLORFFEE44;
DRAWTEXT(操盘<14,60,'抄底'),COLORRED;
DRAWTEXT(操盘<主力 AND 主力<50,0,'O'),COLORGREEN;
DRAWTEXT(操盘<散户 AND 主力>50,0,'O'),COLORFF00FF;
选股公式源码
{选股公式:抄底}
GUP1:=LLV(LOW,13);
GUP2:=HHV(HIGH,13);
GUP3:=SMA((CLOSE-GUP1)/(GUP2-GUP1)*100,5,1);
主力:=GUP3;
GUP5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;
操盘:=EMA(GUP5,3),COLORFFA005;
抄底:操盘<14; |