{标准启动副图源码如下}
X_1:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
X_2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>9.8;
X_3:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100<5.5;
X_4:=NOT(OPEN=HIGH);
X_5:=NOT(REF(CLOSE,1)/REF(CLOSE,2)>1.098);
X_6:=X_1 AND X_2 AND X_3 AND X_4 AND X_5;
STICKLINE(X_6>0,0,X_6,4,0),COLORRED;
STICKLINE(X_6>0,0,X_6,4,0),COLOR000088;
STICKLINE(X_6>0,0,X_6,3.8,0),COLOR000099;
STICKLINE(X_6>0,0,X_6,3.6,0),COLOR0000AA;
STICKLINE(X_6>0,0,X_6,3.4,0),COLOR0000BB;
STICKLINE(X_6>0,0,X_6,3,2),COLOR0000CC;
STICKLINE(X_6>0,0,X_6,3,0),COLOR0000DD;
STICKLINE(X_6>0,0,X_6,2.7,0),COLOR0000EE;
STICKLINE(X_6>0,0,X_6,2.2,0),COLORRED;
STICKLINE(X_6>0,0,X_6,0,0),COLORRED;
X_7:=NOT(REF(CLOSE,1)/REF(CLOSE,2)>1.098);
X_8:=NOT(REF(CLOSE,2)/REF(CLOSE,3)>1.098);
X_9:=MA(CLOSE,20);
X_10:=X_9+2*STD(CLOSE,20);
X_11:=X_9-2*STD(CLOSE,20);
X_12:=MA(CLOSE,20*5);
X_13:=X_12+2*STD(CLOSE,20*5);
X_14:=X_12-2*STD(CLOSE,20*5);
X_15:=MAX(X_10,X_13);
X_16:=MIN(X_10,X_13);
X_17:=CROSS(X_10,X_13) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.098 AND X_5 AND X_7 AND X_8;
STICKLINE(X_17>0,0,X_17,4,0),COLORRED;
STICKLINE(X_17>0,0,X_17,4,0),COLOR000088;
STICKLINE(X_17>0,0,X_17,3.8,0),COLOR000099;
STICKLINE(X_17>0,0,X_17,3.6,0),COLOR0000AA;
STICKLINE(X_17>0,0,X_17,3.4,0),COLOR0000BB;
STICKLINE(X_17>0,0,X_17,3,2),COLOR0000CC;
STICKLINE(X_17>0,0,X_17,3,0),COLOR0000DD;
STICKLINE(X_17>0,0,X_17,2.7,0),COLOR0000EE;
STICKLINE(X_17>0,0,X_17,2.2,0),COLORRED;
STICKLINE(X_6>0,0,X_6,0,0),COLORRED;
DRAWTEXT_FIX(1,0.8,0.05,1,1),COLORRED;
{云端短线王副图源码如下}
DRAWGBK(C>=0,RGB(67,80,37),RGB(0,0,0),1,'8',1);
成交量:=VOL,VOLSTICK;
MA5:=MA(VOL,5);
MA10:=MA(VOL,10);
MA20:=MA(VOL,20),LINETHICK0;
MA35:=MA(VOL,35),LINETHICK0;
AAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))*0.8,LINETHICK0;
主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AAA*(HIGH-LOW),0-VOL/2))*0.9,LINETHICK0;
主力净量:=(主买-主卖),LINETHICK0;
总量:100,LINETHICK0;
主买%:主买/成交量*100,COLORRED,LINETHICK0;
主卖%:主卖/成交量*100,COLOR00FF00,LINETHICK0;
比差:=主买%-主卖%;
STICKLINE(CURRBARSCOUNT=1 AND 100>0,100,0,3.3,1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1 AND 主买%>0,主买%,0,2,0),COLORRED;
STICKLINE(CURRBARSCOUNT=1 AND 主卖%>0,主卖%,0,2.8,0),COLORBLUE;
DRAWICON(CURRBARSCOUNT=1 AND 5>0,2.6,97);
DRAWTEXT(CURRBARSCOUNT=1,主买%+5,'____*主买'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,主卖%+5,'____*主卖'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,105,'*总量'),COLORLIMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,22,'----20'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,32,'----30'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,42,'----40'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,52,'----50'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,62,'----60'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,72,'----70'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,82,'----80'),COLORFFFFFF;
V1:=MA(C,3)=HHV(MA(C,3),7);
V2:=MA(C,3)>MA(C,5);
V3:=MA(V,5)>MA(V,10)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
LC20:=REF(CLOSE,1);
RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)*100;
STICKLINE(CROSS(RSI20,11)*1,0,16,3,0),COLORFF0080;
VAR3A:=3;
VAR2A:=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);
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
加仓:IF(FILTER(YXF=1,5),26,0),STICK,COLORRED,LINETHICK5;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
(L,55))*100,5,1);
FY:=EMA(A51,5);
A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
地量:DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),L*1,' *D'),COLORYELLOW;
STICKLINE(地量>0,0,20,2,0),COLOR330033;
STICKLINE(地量>0,0,20,1.5,0),COLOR770077;
STICKLINE(地量>0,0,20,0.8,0),COLORBB00BB;
STICKLINE(地量>0,0,20,0.3,0),COLORFF00FF;
A1:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
A2:=SMA(A1,3.1,1);
A3:=SMA(A2,3.1,1);
高位:110,COLOR007700,LINETHICK2;{以下参数可调整}
底部:0,COLORRED;
强弱:50,DOTLINE,COLORLIGRAY;
出击:3*A2-2*A3,COLORYELLOW,LINETHICK2;
阻力:3*A3-2*A2,COLORFF8800,LINETHICK1;
DRAWICON(CROSS(出击,阻力),阻力,1);
DRAWICON(CROSS(阻力,出击),出击,2);
DRAWICON(CROSS(出击,5),5,25);
DRAWICON(CROSS(110,出击),110,27);
{策马扬鞭副图源码如下}
WZ01:=(2*CLOSE+HIGH+LOW)/4;
WZ02:=EMA(WZ01,5);
WZ03:=EMA(WZ02,3);
WZ04:=EMA(WZ03,2);
WZ05:(WZ04-REF(WZ04,1))/REF(WZ04,1)*100;
STICKLINE(WZ05>=0,WZ05,0,1,0),COLORRED;
STICKLINE(WZ05<0,WZ05,0,1,0),COLORGREEN;
WY01:=AMOUNT/VOL/100;
WY02:=MA(WY01,13);
WVOL:=EMA(VOL,13);
WVOL1:=EMA(AMOUNT,13);
WVOL2:=WVOL1/WVOL/100;
WVOL3:=(CLOSE-WVOL2)/WVOL2*100;
XYSHSL:=EMA(VOL/CAPITAL*100,13);
ZZX:0,COLORWHITE;
XYS1:MA(WZ05,2);
XYS2:MA(WZ05,1);
DRAWICON(CROSS(XYS1,XYS2) AND XYS1<REF(XYS1,1),XYS1,2);
黑马:=EXPMEMA(OPEN,5);
线上:=EMA(黑马,5),COLORWHITE,LINETHICK2;
乾坤:=EMA(线上,7),COLOR00FF00;
DRAWICON(FILTER((CROSS(XYS1,0) AND CROSS(C,乾坤)),5),XYS1,25);
DRAWICON(CROSS(XYS2,XYS1) AND C>乾坤,XYS2+0.5,1);
STICKLINE(CROSS(XYS2,XYS1) AND C>乾坤,WZ05,0,1,0),COLOR00FFFF;
{黄金战法主副图源码如下}
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,13),COLORRED;
MA3:MA(CLOSE,58);
MA123:MA(CLOSE,240);
流通市值:=ROUND(FINANCE(40)/100000000);
A股流通:=FINANCE(7)/100000000;
DRAWTEXT_FIX(1,0.001,0.31,0,'概念板块:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.052,0.31,0,GNBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0.001,0.26,0,'流通市值:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.052,0.26,0,流通市值),COLORWHITE;
涨停:=IF(REF(C,1)*1.1-C<0.01,1,0);
STICKLINE(涨停,OPEN,CLOSE,3.5,0),COLOR871F78;
STICKLINE(涨停,OPEN,CLOSE,2.3,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
今天涨停价:=REF(C,1)*1.1,LINETHICK0;
DRAWRECTREL(20,20,180,125,RGB(30,15,005));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.03,0.0, '今天涨停价:'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.15,0.03,0,'元'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.1,0.03,0,今天涨停价),COLORWHITE;
明天涨停价:=C*1.1,LINETHICK0;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.08,0.0, '明天涨停价:'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.15,0.08,0,'元'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.1,0.08,0,明天涨停价),COLORWHITE;
AQH5:=REF(HHV(H,12),15);
AQH6:=REF(LLV(C,12),15);
AQAA:=(AQH5-AQH6)/AQH6*100<35;
AQH7:=REF(LLV(C,2),1);
AQH8:=REF(LLV(L,25),3);
AQEE:=AQH7>=AQH8 AND AQAA;
ASA1:=IF(NAMELIKE('S'),0,1);
ASA2:=IF(NAMELIKE('*'),0,1);
ASA3:=C*FINANCE(7)<=6500000000;
AQTP:=ASA1 AND ASA2 AND ASA3;
AQV2:=REF(HHV(V,8),2);
AQVV:=V/AQV2<0.6 OR REF(V,1)/AQV2<0.6 OR REF(V,2)/AQV2<0.6;AQD1:=L<=MA(C,10);
AQPB:=(C-REF(C,1))/REF(C,1)*100<2 AND (O-REF(C,1))/REF(C,1)*100<2 AND (REF(O,1)-REF(C,2))/REF(C,2)*100<6;
AQCC:=(C-REF(C,1))/REF(C,1)*100<2 AND (REF(H,1)-REF(L,1))/REF(L,1)*100>2.5 AND
(REF(C,1)-REF(C,2))/REF(C,2)*100<8.5;
AYZT:=(C-REF(C,1))/REF(C,1)*100<=9.86 AND O=H AND O=C;
AQZT:=(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1));
AQCN:=COUNT(EVERY(AQZT,1),18)>=1 AND COUNT(EVERY(AQZT,4),160)<1 AND COUNT(EVERY(AQZT,3),120)<1 AND COUNT(EVERY(AQZT,1),3)<2;
AQSD:=COUNT(EVERY(C>=O,2),45)>=2;
AQBD:=(REF(HHV(H,15),5)-REF(LLV(C,15),5))/REF(LLV(C,15),5)<0.38;
AQUYY:=COUNT(EVERY(AYZT,1),5)>=3;
AQPPD:=COUNT(EVERY(AQUYY,1),15)<1;
AQS5:=REF(HHV(H,6),3);
AQS6:=REF(HHV(C,165),9);
AQSAA2:=AQS5*1.045>=AQS6;
AQDT1:=(C-REF(C,1))/REF(C,1)*100<=-10 AND C=L;
AQDT:=COUNT(EVERY(AQDT1,1),15)<1;
AQMT15:=(REF(C,1)-REF(C,2))/REF(C,2)*100>=9.91 AND REF(C,1)=REF(H,1) AND (REF(C,2)-REF(C,3))/REF(C,3)*100>=9.91 AND REF(C,2)=REF(H,2);
AQMT56:=COUNT(EVERY(AQMT15,1),15)<1;
AQMT25:=(O-REF(C,1))/REF(C,1)*100>=5.5 AND
(H-REF(C,1))/REF(C,1)*100>=5 AND (C-REF(C,1))/REF(C,1)*100<-1.2 AND C<O;
AQMT35:=V>REF(HHV(V,25),1) AND V/REF(V,1)>=2.2 AND (H-L)/L*100>=12;
AQMT34:=AQMT15 AND AQMT25 AND AQMT35;
AQTTM:=COUNT(EVERY(AQMT34,1),165)<1;
AQMT57:=COUNT(EVERY((C-REF(C,1))/REF(C,1)*100>=9.86 AND O=H,1),15)<1;
AQANR1:=(REF(C,2)-REF(C,3))/REF(C,3)*100<9 AND (REF(C,1)-REF(C,2))/REF(C,2)*100<9;
AQMZ1:=(H-REF(C,18))/REF(C,18)*100>=58;
AQMZ2:=(H-REF(C,24))/REF(C,24)*100>=65;
AQMZ:=COUNT(EVERY(AQMZ1,1),55)<1;
AQMZ3:=COUNT(EVERY(AQMZ2,1),15)<1;
AM13:=MA(C,13)<REF(MA(C,13),1);
AM133:=COUNT(EVERY(AM13,1),4)<1 AND MA(C,240)>=REF(MA(C,240),1);
PTHMYX:=AQEE AND AQTP AND AQCC AND AQCN AND AQSD AND AQBD AND AQPB AND AQVV AND AQD1 AND AQSAA2 AND AQDT AND AQMT56 AND AQMT57 AND
AQANR1 AND AQTTM AND AQPPD AND AQMZ AND AQMZ3 AND AM133;
SRYX:=COUNT(EVERY(PTHMYX,1),3)>=1;
QH1:=MAX(MAX(MA(C,1),MA(C,2)),MA(C,3));
QL1:=MIN(MIN(MA(C,1),MA(C,2)),MA(C,3));
QCS:=QH1<=C AND O<QL1;
QB1:=H>=MA(C,2) AND H>=MA(C,3);
QCB:=QCS OR QB1;
QH5:=REF(HHV(H,12),15);
QH6:=REF(LLV(C,12),15);
QAA:=(QH5-QH6)/QH6*100<35;
QH7:=REF(LLV(C,3),1);
QH8:=REF(LLV(L,25),4);
QEE:=QH7>=QH8 AND QAA;
SA1:=IF(NAMELIKE('S'),0,1);
SA2:=IF(NAMELIKE('*'),0,1);
SA3:=C*FINANCE(7)<=6500000000;
QTP:=SA1 AND SA2 AND SA3;
QV2:=REF(HHV(V,8),2);
QVV:=REF(V,1)/QV2<0.6 OR REF(V,2)/QV2<0.6 OR REF(V,3)/QV2<0.6;
QD1:=REF(L,1)<=MA(C,13) OR L<=MA(C,13);
QPB:=(REF(C,1)-REF(C,2))/REF(C,2)*100<2 OR (REF(C,2)-REF(C,3))/REF(C,3)*100<-0.5
OR (REF(C,3)-REF(C,4))/REF(C,4)*100<-0.5;
QCC:=(H-REF(C,1))/REF(C,1)*100>=2.5 AND (REF(H,1)-REF(L,1))/REF(L,1)*100>2.5 AND C>MA(C,13) AND
(REF(C,1)-REF(C,2))/REF(C,2)*100<2 AND C>=O;
YZT:=(C-REF(C,1))/REF(C,1)*100<=9.86 AND O=H AND O=C;
QZT:=(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1));
QCN:=COUNT(EVERY(QZT,1),18)>1 AND COUNT(EVERY(QZT,4),60)<1 AND COUNT(EVERY(QZT,3),60)<1 AND COUNT(EVERY(QZT,1),4)<2;
QSD:=COUNT(EVERY(C>=O,2),45)>=2;
QBD:=(REF(HHV(H,15),5)-REF(LLV(C,15),5))/REF(LLV(C,15),5)<0.38 AND
(REF(HHV(C,45),8)-REF(LLV(C,45),8))/REF(LLV(C,45),8)<0.65;
QUYY:=COUNT(EVERY(YZT,1),5)>=3;
QPPD:=COUNT(EVERY(QUYY,1),15)<1;
QS5:=REF(HHV(H,8),1);
QS6:=REF(HHV(C,165),9);
QSAA2:=QS5*1.045>=QS6;
QDT1:=(C-REF(C,1))/REF(C,1)*100<=-10 AND C=L;
QDT:=COUNT(EVERY(QDT1,1),15)<1;
QMT15:=(REF(C,1)-REF(C,2))/REF(C,2)*100>=9.91 AND REF(C,1)=REF(H,1) AND (REF(C,2)-REF(C,3))/REF(C,3)*100>=9.91 AND REF(C,2)=REF(H,2);
QMT56:=COUNT(EVERY(QMT15,1),15)<1;
QMT25:=(O-REF(C,1))/REF(C,1)*100>=5.5 AND
(H-REF(C,1))/REF(C,1)*100>=5 AND (C-REF(C,1))/REF(C,1)*100<-1.2 AND C<O;
QMT35:=V>REF(HHV(V,25),1) AND V/REF(V,1)>=3 AND (H-L)/L*100>=12;
QMT34:=QMT15 AND QMT25 AND QMT35;
QTTM:=COUNT(EVERY(QMT34,1),165)<1;
QMT57:=COUNT(EVERY((C-REF(C,1))/REF(C,1)*100>=9.86 AND O=H,1),15)<1;
QANR1:=(REF(C,2)-REF(C,3))/REF(C,3)*100<9 AND (REF(C,3)-REF(C,4))/REF(C,4)*100<9;
QMZ1:=(H-REF(C,18))/REF(C,18)*100>=58;
QMZ:=COUNT(EVERY(QMZ1,1),55)<1;
M13:=MA(C,13)<REF(MA(C,13),1);
M133:=COUNT(EVERY(M13,1),5)<1;
TUQD:=QCB AND QEE AND QTP AND QCC AND QCN AND QSD AND QBD AND QPB AND QVV AND QD1 AND QSAA2 AND QDT AND QMT56 AND QMT57 AND
QANR1 AND QTTM AND QPPD AND QMZ AND M133;
PTTUQD:=TUQD AND SRYX;
STICKLINE(PTHMYX,C,L,1,3),COLORRED;
STICKLINE(PTHMYX,O,C,1,0),COLORBLUE;
DRAWTEXT(PTTUQD,L*0.98,'↖买'),COLORYELLOW;