{牛股翻倍副图源码如下}
X_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9 AND HIGH>LOW;
X_2:=REF(EMA((HIGH+LOW+CLOSE)/3,10),1);
X_3:=EMA(HHV(HIGH,10),3);
X_4:=EMA(LLV(LOW,10),3);
X_5:=EMA(X_2*2-X_4,3);
X_6:=DATE<1290920;
X_7:=DMA(CLOSE,VOL/CAPITAL);
X_8:=(CLOSE/REF(CLOSE,1)-1)*100>9;
X_9:=(CLOSE/REF(CLOSE,1)-1)*100<40;
X_10:=100*VOL/(FINANCE(7)/100);
X_11:=SUM(X_10,10);
X_12:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_13:=REF(X_12,1);
MK:=X_11<500 AND OPEN<X_5 AND CLOSE>X_5 AND VOL<REF(VOL,1)*1.9 AND X_8 AND X_9 AND X_6 AND COUNT(X_1,30)>=2;
XG:FILTER(MK,10) COLORMAGENTA LINETHICK3;
{牛股翻倍强势源码如下}
X_1:=REF(EMA((HIGH+LOW+CLOSE)/3,10),1);
X_2:=EMA(HHV(HIGH,10),3);
X_3:=EMA(LLV(LOW,10),3);
WEKR:EMA(X_1*2-X_3,10),COLORBLUE,LINETHICK9;
IF(CLOSE>=REF(WEKR,1),WEKR,DRAWNULL),COLORMAGENTA,LINETHICK9;
IF(CLOSE<=REF(WEKR,1),WEKR,DRAWNULL),COLORBLUE,LINETHICK9;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_4:=(CLOSE/REF(CLOSE,1)-1)*100>7;
X_5:=OPEN<WEKR AND CLOSE>WEKR AND X_4;
STICKLINE(X_5,OPEN,CLOSE,4,0),COLORYELLOW;
DRAWTEXT(X_5,LOW*0.955,'买入'),COLORRED;
STICKLINE(CLOSE>OPEN,HIGH,LOW,0.01,0),COLOR00009A;
STICKLINE(CLOSE>OPEN,HIGH,LOW,0,0),COLOR0000FA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.5,0),COLOR00006A;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.4,0),COLOR00007A;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.3,0),COLOR00008A;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.2,0),COLOR00009A;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.1,0),COLOR0000AA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.8,0),COLOR0000BA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0),COLOR0000CA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.1,0),COLOR0000DA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.7,0),COLOR0000E5;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.2,0),COLOR0000EF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.7,0),COLOR0000F5;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.2,0),COLOR0000FA;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.05,0),COLOR0000FC;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,LOW,HIGH,0,0),COLOR00AACC;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,LOW,HIGH,0,0),COLOR11FFFF;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.5,0),COLOR0044AA;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.4,0),COLOR0055AA;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.3,0),COLOR0066BB;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.2,0),COLOR0077BB;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,3.1,0),COLOR0088CC;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,2.8,0),COLOR0099CC;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,2.5,0),COLOR00AADD;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,2.1,0),COLOR00BBDD;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,1.7,0),COLOR00CCEE;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,1.2,0),COLOR00DDEE;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,0.7,0),COLOR00EEEE;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,0.2,0),COLOR00F0F3;
STICKLINE(CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10,CLOSE,OPEN,0.05,0),COLOR00F6F3;
STICKLINE(CLOSE<OPEN,HIGH,LOW,0.01,0),COLORAA4433;
STICKLINE(CLOSE<OPEN,LOW,HIGH,0,0),COLORAABB33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.5,0),COLORAA4433;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.4,0),COLORAA5533;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.3,0),COLORAA6633;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.2,0),COLORAA7733;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.1,0),COLORAA8833;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.8,0),COLORAA9933;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.5,0),COLORAAAA33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.1,0),COLORAABB33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.7,0),COLORAACC33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.2,0),COLORAADD33;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.7,0),COLORAAE933;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.2,0),COLORAAF333;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.05,0),COLORAAF633;
X_6:=STRCAT(2,FGBLOCK);
DRAWTEXT_FIX(1,0.05,0,0,GNBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(1,0.65,0,0,3),COLORFF6000;
DRAWTEXT_FIX(1,0.75,0,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(1,0.85,0,0,DYBLOCK),COLORBLUE;