副图公式 手机/电脑
换手:VOL/CAPITAL*100,COLORRED;
个股: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;
反弹:IF(CROSS(个股,9),50,0),STICK,LINETHICK3,COLOR00FF00;
DRAWTEXT(CROSS(个股,9),40,'反弹!'),COLOR00FF00;
CHP1:=EMA(CLOSE,3);
CHP2:=EMA(CLOSE,21);
CHP3:=BARSLAST(CROSS(CHP2,CHP1))>15;
CHP4:=VOL>MA(VOL,5)*2 AND VOL
CHP5:=CROSS(CHP1,CHP2) AND CHP4 AND CHP3;
黑马:IF(CHP5,80,0),STICK,LINETHICK4,COLORF00FF0;
DRAWTEXT(CHP5,70,'黑马!'),COLORF00FF0;
65,LINETHICK1,COLORGREEN;
45,LINETHICK1,COLORRED;
选股公式源码
{选股公式一:黑马}
个股:=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;
反弹:=IF(CROSS(个股,9),50,0),LINETHICK3,COLOR00FF00;
CHP1:=EMA(CLOSE,3);
CHP2:=EMA(CLOSE,21);
CHP3:=BARSLAST(CROSS(CHP2,CHP1))>15;
CHP4:=VOL>MA(VOL,5)*2 AND VOL
CHP5:=CROSS(CHP1,CHP2) AND CHP4 AND CHP3;
黑马:CHP5;
{选股公式二:反弹}
个股:=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;
反弹:=IF(CROSS(个股,9),50,0),LINETHICK3,COLOR00FF00;
CHP1:=EMA(CLOSE,3);
CHP2:=EMA(CLOSE,21);
CHP3:=BARSLAST(CROSS(CHP2,CHP1))>15;
CHP4:=VOL>MA(VOL,5)*2 AND VOL
CHP5:=CROSS(CHP1,CHP2) AND CHP4 AND CHP3;
反弹XG:CROSS(个股,9); |