粗红线上强势:0,COLORRED,NODRAW; 粗蓝线下弱势:0,COLORFF6C00,NODRAW; 参照其它指标:0,COLORWHITE,NODRAW; 综合判断操作:0,COLORYELLOW,NODRAW; A:=AMOUNT/V/100;
VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5); QQ:=EMA(((VARA/10)+EMA(A,13)),0); 行情线:=MA(A,1); 重
心:=(C+0.618*REF(C,1)+0.382*REF(C,1)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
【操盘线】:EMA(((SLOPE(C,22)*20)+C),60),COLORRED,LINETHICK2; {【黄金线】:}IF(重心>=【操盘线】,【操盘线】,DRAWNULL),COLORRED,LINETHICK4; {【空仓线】:}IF(重心<【操盘线】,【操盘
线】,DRAWNULL),COLORFF6C00,LINETHICK3;
{DRAWTEXT(ISLASTBAR,【操盘线】,'【操盘线】'),COLORRED;} {引:EMA(CLOSE,2),LINETHICK1,COLORMAGENTA; 探:MA(CLOSE,5),LINETHICK1;}
{变:EMA(CLOSE,5),LINETHICK1,COLORYELLOW;
金:IF(变>REF(变,1),变,DRAWNULL),COLORRED,LINETHICK1; 空:IF(变DA:=(EMA(H,1)+EMA(L,1)+EMA(H,1)+EMA(H,1))/4; DB:=EMA(REF(HHV(H,25),1),2),COLORGREEN,LINETHICK1; {DRAWTEXT(CROSS(DB,DA),DB,'←险'),COLORGREEN,LINETHICK1;} {DRAWTEXT(CROSS(DA,【操盘线】),【操盘线】*0.98,'B'),COLORWHITE,LINETHICK1;} 上线:=SMA(C,6.5,1); 下线:=SMA(C,13.5,1); 上线1:=SMA(C,3,1); 下线1:=SMA(C,8,1); {DRAWTEXT( CROSS(上线,下线) AND C>O,LOW *0.96,'↑全仓' ),COLORYELLOW;} DRAWTEXT(CROSS(下线1,上线1),H*1.02,''),COLORYELLOW; BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; UPR:=BBI+3*STD(BBI,13),LINETHICK2; DWN:=BBI-3*STD(BBI,13); 安全:=MA(CLOSE,60),LINETHICK2; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT( CROSS(82,RSI) , HIGH*1.04,'减仓') ,COLORFF9966,LINETHICK2; A7:=(2*C+H+L)/4; 操作:=MA(A7,5),COLOR00FF00,LINETHICK2; 操作1:=MA(A7,5)*1.03,LINETHICK2; 操作2:=MA(A7,5)*0.97,LINETHICK2; 压力1:HHV(A7,21),COLOR00F666{,CIRCLEDOT}; 压力2:HHV(A7,36),COLORFF6CC0; 支撑:LLV(A7,21),COLORCYAN; SK:=EMA((A7-压力1)/(支撑-压力1)*100,7); SD:=EMA(0.667*REF(SK,1)+0.333*SK,5); {DRAWTEXT(IF(COUNT(CLOSE6/10 AND VOL>=1.5*MA(VOL,5) AND COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'买进') ,COLOR0099FF; DRAWTEXT(IF(COUNT(CLOSE6/10 AND COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0) ,LOW*0.98,'买进') ,COLORYELLOW;} D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(IF(CLOSE AND CLOSE 买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)); DRAWTEXT(FILTER(买=1,5) AND (H-C)<(C-O) AND C>操作,LOW,'★买'),COLORRED; 加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18); DRAWTEXT(加1,LOW*0.98,'★加仓'),COLORCC66FF; 卖一:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX); DRAWTEXT(FILTER(卖一=1,1),HIGH*1.025,'★卖'),COLORGREEN; {预测明天} XXS:=MA(LOW,5)*(1-5/100); XXS1:=MA(HIGH,5)*(1+5/100); 均线:=C,COLORGREEN; AAAA:=CLOSE/REF(CLOSE,3)<=0.85 AND CROSS(C,XXS) AND C>REF(C,1),LINETHICK0 ; DRAWTEXT(AAAA,L*0.95,'下影买'),COLORRED; BBAA:=CROSS(XXS1,C); {DRAWTEXT(CROSS(XXS1,C),H*1.012,'开盘逃'),COLORWHITE;} DDDD:=CROSS(C,XXS1); DRAWTEXT(COUNT(DDDD,3)>=1 AND C>【操盘线】*1.1 AND C {STICKLINE(AF,LLV(L,4),LLV(L,4),50,1),COLORRED,LINETHICK3; BBZ:=CLOSEREF(CLOSE,3) AND IF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF(CLOSE,5),REF(CLOSE,1)>REF(CLOSE,4) OR (REF(CLOSE,2)>REF(CLOSE,4) AND REF(CLOSE,3)<=REF(CLOSE,5)),IF(REF(CLOSE,5)>REF(CLOSE,6),1,REF(CLOSE,6)>REF(CLOSE,7)))); TYX3Z:=MA(REF(HHV((C+L+O+H)/4,30),1),3); TYX4Z:=MA((C+L+O+H)/4,13); TYX5Z:=EMA((C+L+O+H)/4,21); DRAWICON(AAZ AND CLOSE>REF(OPEN,2),0.98*LOW,1);