主图
参数
M1 2 100 3
M2 2 100 6
M3 2 100 12
M4 2 100 24
DRAWGBK(C>0,RGB(0,0,0),RGB(0,0,0),0,'操盘手',0);
BBI:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,COLORWHITE,LINETHICK1;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2.5,0),COLORRED;
ZT:BBI>REF(BBI,1) AND C>BBI;
持有:IF(ZT,BBI,DRAWNULL),COLORYELLOW,LINETHICK3;
ZT11:=(ATAN((BBI/REF(BBI,1)-1)*100)*180/3.14115926)>45;
DRAWTEXT(ZT11,BBI*0.995,'▲'),COLORYELLOW;
副图
X_1:=50;
X_2:=8;
X_3:=80;
X_4:=20;
X_5:=43;
X_6:=REF(CLOSE,1);
X_7:=SMA(MAX(CLOSE-X_6,0),X_2,1)/SMA(ABS(CLOSE-X_6),X_2,1)*100;
安全:IF(X_7<20,40,20),COLOR808040;
风险:IF(X_7>80,60,80),COLOR000080;
☆↑:STICKLINE(FILTER(REF(X_7,1)<20 AND X_7>REF(X_7,1),5),20,40,3,0),COLORFF0080;
☆↓:STICKLINE(FILTER(REF(X_7,1)>80 AND X_7<REF(X_7,1),5),60,80,3,0),COLORBLUE;
DRAWTEXT(FILTER(REF(X_7,1)<20 AND X_7>REF(X_7,1),5),40,18),COLORYELLOW;
DRAWTEXT(FILTER(REF(X_7,1)>80 AND X_7<REF(X_7,1),5),60,19),COLOR408000;
X_8:=REF(CLOSE,1);
X_9:=SMA(MAX(CLOSE-X_8,0),8,1)/SMA(ABS(CLOSE-X_8),8,1)*100;
曲线:X_9,COLOR800040;
排序:IF(CROSS(曲线,15),20,0),STICK,LINETHICK6;
DRAWICON(排序>0,20,1);
DRAWTEXT(CROSS(排序,11),LOW,20),COLORYELLOW;
三个后买:IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>30 AND IF(1/WINNER(CLOSE)<REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)>REF(1/WINNER(CLOSE),2),120,0),30,0),STICK,COLOR0080FF,LINETHICK6;
X_10:=MA(CLOSE,5);
X_11:=MA(CLOSE,10);
X_12:=MA(CLOSE,20);
X_13:=MA(CLOSE,30);
X_14:=MA(CLOSE,60);
X_15:=MA(CLOSE,90);
X_16:=MA(CLOSE,120);
X_17:=MA(CLOSE,240);
X_18:=MAX(MAX(X_10,X_11),MAX(X_12,X_13));
X_19:=MAX(MAX(X_14,X_15),MAX(X_16,X_17));
X_20:=MAX(X_18,X_19);
别贪:CROSS(CLOSE,X_20)+3,COLORC08080,LINETHICK2;
X_21:=X_10>X_11 AND X_11>X_12 AND X_12>X_13 AND X_13>X_14 AND X_14>X_15 AND X_15>X_16;
阴抄:(别贪 AND X_21)*2+6,COLOR408000,LINETHICK2;
X_22:=MIN(MIN(X_10,X_11),MIN(X_12,X_13));
X_23:=MIN(MIN(X_14,X_15),MIN(X_16,X_17));
X_24:=MIN(X_18,X_19);
X_25:=(X_20/X_24-1)*100<=1;
需穿110:(别贪 AND X_25)*2+9,COLOR004080,LINETHICK2;
X_26:=7;
X_27:=5;
X_28:=(2*CLOSE+HIGH+LOW)/4;
X_29:=LLV(LOW,18);
X_30:=HHV(HIGH,18);
X_31:=EMA((X_28-X_29)/(X_30-X_29)*27,5);
X_32:=EMA(X_31,3);
狂跌后买:IF((MA(CLOSE,5)-CLOSE)/CLOSE>0.04 AND (MA(CLOSE,10)-MA(CLOSE,5))/MA(CLOSE,5)>0.04,23,0),COLORRED,LINETHICK2;
X_33:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_34:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_35:=SMA(X_34,13,8);
X_36:=SMA(X_33,21,8);
X_37:=SMA(X_35,13,8);
X_38:=FILTER(COUNT(X_37-X_36<(-65),3)=3,34);
九转不买:IF(X_38,15,0),STICK,COLORGREEN,LINETHICK4;
DRAWTEXT(九转不买,17,21),COLORWHITE;
X_39:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
X_40:=CLOSE*6666/"999999$CLOSE";
越:EMA(X_40+8,121),COLORLIGRAY;
穿:EMA(X_40+8,43),COLOR000080;
等:EMA(X_40+8,9),COLORBROWN;
赚了就减半:-((-九转不买)-安全-狂跌后买-狂跌后买-等+越-穿/曲线),COLORYELLOW;