副图公式 源码支持手机/电脑
GUA1:VOL/10000*CLOSE/100,NODRAW,LINETHICK0;
GUA2:100*VOL/CAPITAL,NODRAW,COLORGREEN,LINETHICK0;
GUB1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
GUB2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUB3:=(SMA(GUB2,3,1)-18)*1.55;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);
MAVOL3:MA(VOLUME,100);
DRAWBAND(MAVOL1,RGB(255,255,0),0,RGB(0,255,255));
DRAWBAND(MAVOL2,RGB(218,112,214),0,RGB(0,255,255));
上位:REF(VOL/2,BARSLAST(VOL=HHV(VOL,60))),COLORRED,LINETHICK2;
下位:REF(VOL/2,BARSLAST(VOL=LLV(VOL,120))),COLORBROWN,LINETHICK2;
STICKLINE(VOL>=上位,上位,VOL,2,0),COLORMAGENTA;
GUP1:=REF(上位,1)!=上位;
放量选股:STICKLINE(GUP1,0,VOL,2,0),COLORYELLOW;
STICKLINE(GUP1,0,VOL,2,0),COLORGREEN;
两日前放量选:IF(REF(GUP1,2)=1,1,0),COLORYELLOW;
STICKLINE(GUA2<1,VOL,0,2,0),COLORFF9900;
STICKLINE(GUA2>1,VOL,0,2,0),COLORGREEN;
STICKLINE(GUA2>3,VOL,0,2,0),COLORYELLOW;
STICKLINE(GUA2>5,VOL,0,2,0),COLOR0099FF;
STICKLINE(GUA2>10,VOL,0,2,0),COLORRED;
STICKLINE(GUA2>30,VOL,0,2,0),COLORMAGENTA;
选股公式源码
{选股公式一:放量选股}
GUB1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
GUB2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
GUB3:=(SMA(GUB2,3,1)-18)*1.55;
上位:=REF(VOL/2,BARSLAST(VOL=HHV(VOL,60))),COLORRED,LINETHICK2;
下位:=REF(VOL/2,BARSLAST(VOL=LLV(VOL,120))),COLORBROWN,LINETHICK2;
GUP1:=REF(上位,1)!=上位;
放量选股:GUP1;
{选股公式二:两日前放量选股}
GUB1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
GUB2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
上位:=REF(VOL/2,BARSLAST(VOL=HHV(VOL,60))),COLORRED,LINETHICK2;
下位:=REF(VOL/2,BARSLAST(VOL=LLV(VOL,120))),COLORBROWN,LINETHICK2;
GUP1:=REF(上位,1)!=上位;
两日前放量选:REF(GUP1,2)=1;
|