主图
X_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(X_1>=9.84,CLOSE,OPEN,3.4,0),COLOR00AAFF;
STICKLINE(X_1>=9.84,CLOSE,OPEN,2,0),COLOR00CCFF;
STICKLINE(X_1>=9.84,CLOSE,OPEN,0.5,0),COLORYELLOW;
STICKLINE(X_1>=9.84,CLOSE,OPEN,0.5,0),COLORRED;
X_2:=(EMA(CLOSE,13)-REF(EMA(CLOSE,13),1))/REF(EMA(CLOSE,13),1)*10000;
TOP:IF(X_2>0,REF(LOW,BARSLAST(CROSS(X_2,0))),DRAWNULL),COLORRED,LINETHICK3;
TIPS:OPEN/TOP,NODRAW;
DRAWICON(REF(X_1>9.5,1) AND TIPS>=1.3,LOW,39);
X_3:=IF(CLOSE>OPEN,CLOSE,OPEN);
X_4:=IF(CLOSE>OPEN,OPEN,CLOSE);
X_5:=LLV(X_3,4);
X_6:=HHV(X_4,4);
X_7:=X_3>=X_5 AND X_4<=X_5 AND X_3>=X_6 AND X_4<=X_6;
X_8:=REF(X_3,1)>=X_5 AND REF(X_4,1)<=X_5 AND REF(X_3,1)>=X_6 AND REF(X_4,1)<=X_6;
X_9:=REF(X_3,2)>=X_5 AND REF(X_4,2)<=X_5 AND REF(X_3,2)>=X_6 AND REF(X_4,2)<=X_6;
X_10:=REF(X_3,3)>=X_5 AND REF(X_4,3)<=X_5 AND REF(X_3,3)>=X_6 AND REF(X_4,3)<=X_6;
X_11:=X_7 AND X_8 AND X_9 AND X_10;
DOP:REF(X_6,BARSLAST(X_11)),NODRAW;
STICKLINE(X_6,DOP,DOP,3,0),COLORMAGENTA;
X_12:=(REF(OPEN,5)+REF(CLOSE,5))/2;
X_13:=(HIGH+LOW+CLOSE+OPEN)/4;
X_14:=MAX(X_12,MAX(X_13,HHV(HIGH,5)));
X_15:=MIN(X_12,MIN(X_13,LLV(LOW,5)));
X_16:=X_14=X_12;
X_17:=X_16;
ZOP:REF(X_14,BARSLAST(X_17)),NODRAW;
STICKLINE(CLOSE,ZOP,ZOP,1,0),COLORGREEN;
STICKLINE(X_14=X_12,X_14,HIGH,0,(-1));
X_18:=DOP=REF(DOP,1);
CX10:BARSLAST(NOT(X_18)),NODRAW;
DRAWNUMBER(X_18>=0,TOP*1.03,CX10+1),COLORYELLOW;
X_19:=TOP=REF(TOP,1);
CXAT:BARSLAST(NOT(X_19)),NODRAW;
DRAWNUMBER(X_19>=0,TOP,CXAT+1),COLORRED;
副图1
A:=EMA(VOL,13);
B:=EMA(AMOUNT,13);
E:=((B / A) / 100);
HH:=(((CLOSE - E) / E) * 100);
绝对底:=HH<(0-18);
大底:=HH<(0-14);
中底:=HH<(0-10);
短底:=HH<(0-6);
STICKLINE((绝对底),60,80,2.2,0),COLORRED;
STICKLINE((大底),40,60,2.6,0),COLORBLUE;
STICKLINE((中底),20,40,2.8,1),COLORYELLOW;
STICKLINE((短底),0,20,3,1),COLORWHITE;
DRAWTEXT(绝对底>REF(绝对底,1),70,'★★绝对底'),COLORFFFFFF;
DRAWTEXT(大底>REF(大底,1),50,'★大底★'),COLORFFFFFF;
DRAWTEXT(中底>REF(中底,1),30,'★中底'),COLORFFFFFF;
DRAWTEXT(短底>REF(短底,1),10,'★短底'),COLORRED;
副图2
LCZ:=(C-MA(C,60))/MA(C,60)*100;
A1C:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;
A2C:=COUNT(LCZ< 20,100)>95;
A3C:=COUNT(C>MA(C,60),100)>80;
A4C:=C/REF(C,1)>1.04;
A5C:=V/CAPITAL*100>2.8;
ZTJ:=A1C AND A2C AND A3C AND A4C AND A5C;
越跌越买:IF(ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0),95,0),STICK,COLOR00FFFF;
DRAWTEXT(ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0),95,'越跌越买'),COLOR00FFFF;
VAR1AA:=HHV(HIGH,70);
DDA:=VAR1AA*0.83;
DDC:=EXIST(DDA/L>1.08,10);
A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
DM:=A3/A4*100< 15;
DMCX:=LAST(DM,15,1);
B1:=MA(C,13)< REF(MA(C,13),1);
SSRP:=MA(SSRP,1);
ZLBT:= DMCX AND SSRP/L>1.18 ;
TJ:=EXIST(ZLBT,2);
SJT:=C/REF(C,10);
DS:=SJT<=0.85;
找深套买:=TJ AND DDC AND B1 AND DS,COLORWHITE;
主力被套:IF(找深套买,100,0),STICK,COLORFF8000;
DRAWTEXT(找深套买,65,'主力被套'),COLORFF8000;
VAR22:=REF(CLOSE,1);
VAR23:=SMA(MAX(CLOSE-VAR22,0),7,1)/SMA(ABS(CLOSE-VAR22),7,1)*100;
VAR24:=SMA(MAX(CLOSE-VAR22,0),13,1)/SMA(ABS(CLOSE-VAR22),13,1)*100;
VAR25:=BARSLAST(VAR24< 23)<=3 AND CROSS(VAR23,VAR24);
VAR26:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100< -12.5;
VAR27:=LLV(LOW,5);
VAR28:=HHV(HIGH,10);
VAR29:=EMA((CLOSE-VAR27)/(VAR28-VAR27)*100,4);
VAR2A:=EMA(0.667*REF(VAR29,1)+0.333*VAR29,2);
VAR2B:=1011131;
VAR2C:=IF(DATE<=VAR2B,VAR26,0) OR IF(DATE<=VAR2B,84,0);
满仓买入:IF(0-(-1)*VAR25 AND VAR26 AND CROSS(VAR29,VAR2A) AND VAR29<=25,100,0),STICK,COLOR00FF00;
DRAWTEXT(0-(-1)*VAR25 AND VAR26 AND CROSS(VAR29,VAR2A) AND VAR29<=25,25,'满仓买入'),COLOR00FF00;
VAR1G:=(((CLOSE/MA(CLOSE,40))*100)< 78);
VAR2G:=(((CLOSE/MA(CLOSE,60))*100)< 74);
VAR3G:=(HIGH>(LOW*1.051));
VAR4G:=(VAR3G AND (COUNT(VAR3G,5) > 1));
VARAA:=IF((VAR4G AND (VAR1G OR VAR2G)),2,0);
VARBB:=C/REF(C,25)<=1.1;
VARCC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)< 15;
操盘线:=SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1);
VARV5:=SMA(操盘线,2,1);
操盘线抄底:=操盘线>REF(操盘线,1) AND REF(操盘线,1)< REF(操盘线,2) AND 操盘线< 23;
赢利极品底:VARAA AND VARBB AND VARCC AND 操盘线抄底;
STICKLINE(赢利极品底,0,100,0,0)COLORFF00FF;
DRAWTEXT(赢利极品底,90,'←极品底'),COLOR00FFFF;
C1 := "999999$CLOSE"/REF("999999$CLOSE",23), NODRAW;
C2 :=IF (((CLOSE / REF(CLOSE, 120)) < 0.558), 3, 2);
C3 := IF (REF(C,1)/L< 1.5, 5, 4);
C4 := IF (REF(C,1)!=REF(O,1), 7, 6);
C5 := IF (REF(C,2)!=REF(O,2), 9, 8);
C6 := IF (REF(C,3)!=REF(O,3), 11, 10);
牛大底: ("999999$CLOSE"/REF("999999$CLOSE",23)< 0.78) AND ((CLOSE / REF(CLOSE, 120)) < 0.558) AND (REF(C,1)/L< 1.5) AND (REF(C,1)!=REF(O,1)) AND (REF(C,2)!=REF(O,2)) AND (REF(C,3)!=REF(O,3)),NOFRAME;
STICKLINE(牛大底,0,100,0,0),COLOR0080FF;
DRAWTEXT(牛大底,90,'牛大底'),COLOR008080;
副图3
V1:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
V2:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
V3:=SUM(V1,5);
V4:=SUM(V2,5);
V5:=IF(V3>V4,(V3-V4)/V3,IF(V3=V4,0,(V3-V4)/V4));
V6:=MA(V5,5);
V8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
V9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
VA:=SUM(V8,3);
VB:=SUM(V9,3);
VC:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));
VD:=MA(VC,3);
量: BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)), COLORRED;
VE:=HHV(CLOSE,2);
VF:=BARSLAST(VE<REF(VE,2));
V10:=IF(VF>=1,LLV(VE,VF),LOW);
V11:=V10+V10*VF*0.5/100;
V12:=IF(V11<REF(V11,1),MA(LOW,3),V11);
V13:=V10+V10*(VF-1)*1.618/100;
价: COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5),COLORLICYAN;
V14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
V15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
V16:=SUM(V8,3);
V17:=SUM(V9,3);
V18:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));
V19:=MA(VC,3);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
买点加持有: STICKLINE(价>0,量,0,2,0), COLORRED;
V1A:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
V1B:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
V1C:=SUM(V8,3);
V1D:=SUM(V9,3);
V1E:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));
V1F:=MA(VC,3);
下跌→抛出: STICKLINE(价>0,量,价,2,1),COLOR808000;
V20:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
V21:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
V22:=SUM(V8,3);
V23:=SUM(V9,3);
V24:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));
V25:=MA(VC,3);
观望: STICKLINE(价=0 AND 量=0,0,1,4,1), COLORBROWN;
V26:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
V27:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
V28:=SUM(V8,3);
V29:=SUM(V9,3);
V2A:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));
V2B:=MA(VC,3);
植被: STICKLINE(价<量,量,价,1,0), COLORGREEN;
V2C:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
V2D:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
V2E:=SUM(V8,3);
V2F:=SUM(V9,3);
V30:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));
V31:=MA(VC,3);
V32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;
V33:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
V34:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
V35:=SUM(V8,3);
V36:=SUM(V9,3);
V37:=IF(VA>VB,(VA-VB)/VA,IF(VA=VB,0,(VA-VB)/VB));
V38:=MA(VC,3);
STICKLINE(REF(价,1)=0 AND 价>0,0,-1,2,0), COLORRED;
副图4
X_1:=(HIGH+LOW+CLOSE)/3;
X_2:=(X_1-MA(X_1,84))/(0.015*AVEDEV(X_1,84));
X_3:=MA(X_2,3)/100;
X_4:=X_3+REF(X_3,1);
S1:STICKLINE(X_4>1,1,X_4,2,0),COLORRED;
S3:STICKLINE(X_4<1,1,X_4,2,0),COLORCYAN;
S4:STICKLINE(X_4>1 AND X_4<REF(X_4,1),1,X_4,2,1),COLORRED;
S2:STICKLINE(X_4<1 AND X_4>REF(X_4,1),1,X_4,2,1),COLORCYAN;
副图5
X_1:=IF(OPEN=CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>9.8,VOL,VOL/((HIGH-LOW)*2-ABS(OPEN-CLOSE))*(CLOSE-LOW));
主力买入力度:X_1/VOL*100,NODRAW;
三日买入力度:MA(主力买入力度,3),NODRAW;
STICKLINE(1,X_1,VOL,0,0),COLORGREEN;
STICKLINE(1,X_1,VOL,2.5,0),COLOR009900;
STICKLINE(1,X_1,VOL,2,0),COLOR00BB00;
STICKLINE(1,X_1,VOL,1,0),COLOR00DD00;
STICKLINE(1,X_1,VOL,0.3,0),COLORGREEN;
STICKLINE(X_1,0,X_1,0,0),COLORRED;
STICKLINE(X_1,0,X_1,2.5,0),COLOR000099;
STICKLINE(X_1,0,X_1,2,0),COLOR0000BB;
STICKLINE(X_1,0,X_1,1,0),COLOR0000DD;
STICKLINE(X_1,0,X_1,0.3,0),COLORRED;