请老师帮忙看看,如何改.主力控盘参考
主力控盘参考 错误句 : 详细信息 : 单词最大字符数不得超过 16 个
VAR1:=EMA(EMA(CLOSE,9),9)=MA(CLOSE,5);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盘<0,控盘,0,2,0),COLORWHITE;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;
开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,2,0),COLORRED;
有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95)=MA(CLOSE,10);
STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,2,0),COLORFF00FF;
高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,2,0),COLOR00FF00;
主力出货:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;
VAR3:=AMOUNT/VOL/7=MA(CLOSE,20)=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(3*HIGH+LOW+OPEN+2*CLOSE)/7=MA(CLOSE,30)=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(VAR1+VAR2+VAR3+VAR4)/4=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500=(VAR3+VAR4+VAR5)/3;
VAR7:=REF((LOW+OPEN+CLOSE+HIGH)/4,1)=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500=EMA(VAR6,5);
VAR8:=SMA(ABS(LOW-VAR7),13,1)/SMA(MAX(LOW-VAR7,0),10,1)=EMA(VAR6,8)=IF(VAR6<=-20,10,0);
VAR9:=EMA(VAR8,10)=TROUGHBARS(3,15,1)<10=HHV(VAR8,10);
VAR10:=Llv(LOW,33)=PEAKBARS(3,15,1)<10=100-3*SMA((OPEN-Llv(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=EMA(IF(LOW<=VAR10,VAR9,0),3)=IF(VAR9=1,50,0)=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
进场:IF(VAR11>REF(VAR11,1),VAR11,0),COLORRED,NODRAW;
STICKLINE(VAR11>REF(VAR11,1),0,VAR11,2,0 ),COLORRED;
洗盘:IF(VAR11<REF(VAR11,1),VAR11,0),COLORFFFF00,NODRAW;
STICKLINE(VAR11<REF(VAR11,1),0,VAR11,2,0),COLORFFFF00;
X1:0;
VAR12:=IF(VAR10=1,50,0)=(HIGH+LOW+CLOSE)/3;
底部:=IF(VAR11=50,50,0);
头部:=IF(VAR12=50,100,0);
A:IF(底部>REF(底部,1),50,0);
AA:IF(头部>REF(头部,1),50,0)=(H+L+O+2*C)/5;
DRAWTEXT(A=50,100,'买' ),COLORRED,LINETHICK2;
DRAWTEXT(AA=50,100,'卖'),COLORFFFFFF,LINETHICK2;
指标:EMA(EMA(VAR3,5),5)*3, COLORSTICK;
STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:EMA(VAR7,5)*2,COLORFF00FF;
D:EMA(K,5),COLORWHITE;
J:K*3-D*2,COLORYELLOW;
VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;
换手: VOL/CAPITAL*100,COLORGREEN;
DRAWTEXT(VARA=20,15,'底部'),LINETHICK1,COLORWHITE;
STICKLINE((VARA=20),0,10,5,0),COLORWHITE;
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VARC=1),(-14),0,4,0),COLOR0000FF;
DRAWTEXT((VARC=1),(-14),'买'),COLOR0000FF;
STICKLINE((VARD=1),14,0,4,0),COLOR00FF00;
DRAWTEXT((VARD=1),18,'卖'),COLOR00FF00;
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'大资金活动'),LINETHICK1,COLORFF00FF;
STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF;
VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));
VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));
VAr15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);
VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAr15);
VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR18:=100-ABS(VAR17);
VAR19:=IF(VAR18<90,VAR18,100);
VAR1A:=IF(VARE>0,VARE,0);
VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;
DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,15,'大笔出货'),LINETHICK1,COLORFFCC66;
STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,10,5,0),COLORFFCC66;
DIFF:=(EMA(CLOSE,8) - EMA(CLOSE,21));
DEA:= EMA(DIFF,5);
F1:=ZIG(3,16);
macD :=2*(DIFF-DEA);
中:0,COLORWHITE;
GJ:=MAX(C,O);
STICKLINE(macD>0 AND MACD>=REF(MACD,1),0,MACD,8,0),COLORFF00FF;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,3,0),COLORFF8800;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,5,0),COLOR0099FF;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),COLORFF8800;
L4:=LLV(GJ,4);
GT:=DEA>REF(DEA,1) AND REF(DEA,1)<REF(DEA,2);
A1:=BARSLAST(REF(GT,1));
底背离:=REF(L4,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND GT;
DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),COLOR00FFFF,LINETHICK2;
DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),COLOR00FFFF,LINETHICK2;
DRAWTEXT(底背离,REF(DEA,A1)*1.18,' 底背离'),COLOR00FFFF;
H4:=HHV(GJ,4);
GT2:=DEA<REF(DEA,1) AND REF(DEA,1)>REF(DEA,2);
A2:=BARSLAST(REF(GT2,1));
顶背离:= REF(H4,A2+1)<H4 AND DIFF<REF(DIFF,A2+1) AND GT2;
DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),COLORGRAY,LINETHICK2;
DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),COLORGRAY,LINETHICK2;
DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'顶背离'),COLORAAAAAA;
DRAWICON(CROSS(DIFF,DEA) AND F1> REF(F1,1),DEA,'BUY');
DRAWICON(CROSS(DEA,DIFF),DEA,'SELL');
E:=VOL;
DRAWICON(E<LLV(REF(E,1),138),DEA*0.9,'●');
N1:=6;
N2:=12;
BB1:=MA(AA,N1);
BB2:=MA(AA,N2);
V1:=BB1/REF(BB1,1);
V2:=BB2/REF(BB2,1);
HSL:=VOL/CAPITAL*100;
M1:=MA(VOL,N1)*BB1/MA(HSL,N1);
M2:=MA(VOL,N2)*BB2/MA(HSL,N2);
始动能:=1/2*M2*V2*V2;
末动能:=1/2*M1*V1*V1;
动能:(末动能-始动能)/10000,COLORYELLOW,LINETHICK2;
FILLRGN(动能,0,动能>0,RGB(255,0,0),动能<0,RGB(0,255,0));
ZERO:0
哈哈哈哈哈哈哈哈哈哈或或或或或或或或或或或或或或或或或或或或或或或或或或