副图公式源码支持 手机/电脑
GUP1:=C=HHV(C,20);
GUP2:=BARSLAST(GUP1);
GUP3:=IF(GUP2>0,REF(C,GUP2),REF(C,GUP2));
GUP4:=CROSS(C,REF(GUP3,1));
GUP5:=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);
GUP6:=LLV(GUP5,3);
中线:MA(GUP5,12);
STICKLINE(GUP6=GUP5 AND GUP5>中线,中线,GUP6,2,0),COLORFF00FF;
STICKLINE(GUP4 AND COUNT(GUP4,5)=1,95,100,2,0),colorblack;
个股线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
大盘线:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORE67010,LINETHICK2;
STICKLINE(个股线>=大盘线,个股线,大盘线,1,0),colorred;
STICKLINE(个股线<大盘线,个股线,大盘线,1,0),colorblue;
STICKLINE(个股线>=大盘线,0,大盘线,6,0),coloryellow;
STICKLINE(个股线<大盘线,0,个股线,6,0),coloryellow;
牛股现身:IF(CROSS(个股线,9),50,0),STICK,LINETHICK3,COLORMAGENTA;
DRAWTEXT(CROSS(个股线,9),40,'牛股现身!'),COLORMAGENTA;
选股公式源码
{选股公式:牛股现身}
GUP1:=C=HHV(C,20);
GUP2:=BARSLAST(GUP1);
GUP5:=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);
个股线:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
牛股现身:CROSS(个股线,9),LINETHICK3,COLOR00FF00;
|