//主力清仓抄底 V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5; V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2; V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); V12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100; 准备现金: STICKLINE(EMA(V11,3)<=13,0,15,5,0),colorlired; AA:=(EMA(V11,3)<=13) AND FILTER((EMA(V11,3)<=13),15); DRAWTEXT (AA,-10,'准备现金'),colorlired; 买入股票: STICKLINE(EMA(V11,3)<=13 AND V12>13,0,50,5,0),LINETHICK3,colorred; BB:= (EMA(V11,3)<=13 AND V12>13) AND FILTER((EMA(V11,3)<=13 AND V12>13),10); DRAWTEXT (BB,60,'主力进'),colorwhite; 卖临界: STICKLINE(EMA(V11,3)>60 AND EMA(V11,3)>REF(EMA(V11,3),1),100,95,15,1),colorgreen; CC:=(EMA(V11,3)>=90 AND V12) AND FILTER((EMA(V11,3)>=90 AND V12),10); DD:=(EMA(V11,3)>=120 AND V12) AND FILTER((EMA(V11,3)>=120 AND V12),10); STICKLINE(IF(VB>=0,VB,0) AND EMA(V11,3)<13,0,15,5,0),colorlired; STICKLINE(IF(VB<=0,VB,0) AND EMA(V11,3)>90,0,10,10,0),colorgreen; STICKLINE( IF(V4>=0,V4,1) AND EMA(V11,3)<13,0,15,5,0),colorlired; STICKLINE(IF(V4<=0,V4,1) AND EMA(V11,3)>90,0,10,10,0),colorliblue,LINETHICK1; DRAWTEXT (CC,20,'减仓'),colorliblue; //股民学院 www.58188.com V10:=PEAKBARS(3,15,1)<10; V12X:=IF(V10=1,50,0); 头部:= IF(V12X=50,100,0); 卖:IF(IF(V12X=50,100,0)>REF(IF(V12X=50,100,0),1),40,0),colorgreen,LINETHICK3; DRAWTEXT(卖,50,'清仓 '),colorgreen; V9X:=TROUGHBARS(3,15,1)<10; V11X:=IF(V9X=1,50,0); 底部:= IF(V11X=50,50,0); 买:IF( 底部>REF(底部,1),40,0),colorred,LINETHICK4; DRAWTEXT(买,50,'抄底 '),colorred; V7X:=TROUGHBARS(3,15,1)<10; V9S:=IF(V7X=1,50,0); AAX:=(O+H+L+C)/4; BBX:=MA(AAX,3); CCX:=SUM(IF(AAX>REF(AAX,1),AAX*VOL,0),4)/SUM(IF(AAX<REF(AAX,1),AA*VOL,0),4); DDX:=REF(100-(100/(1+CC)),1); A1:=HHV(AAX,10); A2:=LLV(AAX,30); A3:=A1-A2; A4:=EMA((AAX-A2)/A3,1)*100; B1:=HHV(AAX,16); B2:=LLV(AAX,90); B3:=B1-B2; B4:=EMA((AAX-B2)/B3,1)*100; C1:=HHV(AAX,30); C2:=LLV(AAX,240); C3:=C1-C2; C4:=EMA((AAX-C2)/C3,1)*100; 中线趋势:B4,colormagenta,LINETHICK2; STICKLINE(A4>90 AND B4>70,86,94,6,0),coloryellow; STICKLINE(A4<5 AND B4<30,0,15,6,0),colorwhite; DRAWTEXT((A4>90 AND B4>70)=1, 85,'拉'),coloryellow; D:=CROSS(ZIG(3,50/5)*1,MA(ZIG(3,50/5)*1,2))*1,colorred; W:=CROSS(MA(ZIG(3,50/5)*1,2),ZIG(3,50/5)*1)*1,colorblue; VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR2X:=LLV(LOW,34); VAR3X:=HHV(HIGH,34); 多: EMA((VAR1-VAR2X)/(VAR3X-VAR2X)*100,13),colorred,LINETHICK2; 空: EMA(多,3),colorgreen,LINETHICK1; DRAWTEXT(W=1,多*-0.1,'下跌确立' ),colorgreen; DRAWTEXT(D=1,多*-0.31,'上涨确立'),colorred; 爆发线: 80,colorred; |
上一篇:金叉共振,MACD和KDJ金叉共振指标(同花顺公式)
下一篇:长短通吃(同花顺公式)