小杨起爆线: 趋势爆发线交易 小杨起爆线,本公式,电脑版,手机版同样适用。 A个股收盘:=EMA(CLOSE,30); A大盘收盘:=EMA(INDEXC,49); A个股上限:=EMA(A个股收盘,7); A大盘上限:=EMA(A大盘收盘,7); A个股趋势:=((CLOSE / A个股上限)*100); A大盘趋势:=((INDEXC / A大盘上限)*100); sj:IF(DATE<=20881231,1,1); 趋势交易指标:sj*(((A个股趋势 - A大盘趋势) / A大盘趋势) * 100); 监控资金:sj*IF((趋势交易指标 > 0),1,0),NODRAW,colorblack; STICKLINE((监控资金= 1),0,1,8,0),colorred; DRAWTEXT(趋势交易指标>sj AND 趋势交易指标=HHV(趋势交易指标,1+BARSLAST(CROSS(趋势交易指标,sj))),趋势交易指标,'↑'); 荡剑式: DIFF:EMA(CLOSE,12) - EMA(CLOSE,26); DEA : EMA(DIFF,3); DRAWICON(CROSS(DIFF,DEA),DEA,1); DRAWICON(CROSS(DEA,DIFF),DEA,2); 金斗优势: V1:=BARSCOUNT(CLOSE)*3.142/180; A2:= SIN(V1*8)*40,COLOR00FFFF; IF(A2>REF(A2,1),A2,DRAWNULL),COLORFF00FF; A3:=COS(V1*8)*40,colorgray; IF(A3>REF(A3,1),A3,DRAWNULL),colorred; PV:=(C*2+H+L)/4; SK:=EMA(PV,13) - EMA(PV,34); SD:=EMA(SK,9); 中:0,POINTDOT; 空:=(-2*(SK-SD))*61.8,colorblue,LINETHICK2 ; 多:=(2*(SK-SD))*61.8,coloryellow,LINETHICK2 ; STICKLINE(多>REF(多,1),多,REF(多,1),2.6,0),COLOR000088; STICKLINE(多>REF(多,1),多,REF(多,1),1.8,0),COLOR0000AA; STICKLINE(多>REF(多,1),多,REF(多,1),1,0),COLOR0000CC; STICKLINE(多>REF(多,1),多,REF(多,1),0.1,0),COLOR0000DD; STICKLINE(空>REF(空,1),空,REF(空,1),2.6,0),COLOR008800; STICKLINE(空>REF(空,1),空,REF(空,1),1.8,0),COLOR00AA00; STICKLINE(空>REF(空,1),空,REF(空,1),1,0),COLOR00CC00; STICKLINE(空>REF(空,1),空,REF(空,1),0.1,0),COLOR00DD00; STICKLINE(REF(空,2)>REF(空,1) AND 空>REF(空,1) AND 空<=0,空,REF(空,1),2.6,0),COLOR888888; STICKLINE(REF(空,2)>REF(空,1) AND 空>REF(空,1) AND 空<=0,空,REF(空,1),1.8,0),COLORAAAAAA; STICKLINE(REF(空,2)>REF(空,1) AND 空>REF(空,1) AND 空<=0,空,REF(空,1),1,0),COLORCCCCCC; STICKLINE(REF(空,2)>REF(空,1) AND 空>REF(空,1) AND 空<=0,空,REF(空,1),0.1,0),COLORDDDDDD; STICKLINE(REF(多,2)>REF(多,1) AND 多>REF(多,1),多,REF(多,1),2.6,0),COLOR006666; STICKLINE(REF(多,2)>REF(多,1) AND 多>REF(多,1),多,REF(多,1),1.8,0),COLOR008888; STICKLINE(REF(多,2)>REF(多,1) AND 多>REF(多,1),多,REF(多,1),1,0),COLOR00AAAA; STICKLINE(REF(多,2)>REF(多,1) AND 多>REF(多,1),多,REF(多,1),0.1,0),COLOR00CCCC; DRAWTEXT(REF(空,2)>REF(空,1) AND 空>REF(空,1) AND 空<=0,空-0.5,'逃跑'),COLOR009900,LINETHICK3; DRAWTEXT(REF(多,2)>REF(多,1) AND 多>REF(多,1),多-0.5,'抄底'),colorred,LINETHICK3; 变1:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100; 变2:=SMA(MAX(C-REF(C,1),0),10,1)/SMA(ABS(C-REF(C,1)),10,1)*100; 通道1:=EMA(变1,2); 通道2:=EMA(变2,2); 通道3:=(通道1-通道2),colorred,LINETHICK3 ; IF1:IF(通道3>REF(通道3,1),通道3,DRAWNULL),colormagenta; 通道4:=-通道3,colorgreen,LINETHICK2 ; 道IF2:=IF(通道3>0,通道4,DRAWNULL),coloryellow; 道IF3:=IF(通道3>0,通道3,DRAWNULL),colorwhite ; XRTY:=(通道3>REF(通道3,1))>(通道1-通道2); DRAWTEXT(FILTER(REF(通道4>10 AND 通道4>REF(通道4,1),1) AND 通道4<REF(通道4,1) AND XRTY,5),通道3,'变'),colorwhite; DFG:=道IF2=道IF3; DRAWTEXT(通道4<-3.5 AND REF(DFG>0,1) AND DFG=0,通道3-0.6,'通'),coloryellow; A7:=C-REF(C,1); A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6); 买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)); DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),colormagenta; STICKLINE(买,OPEN,CLOSE,7,0),colorblue; N3:IF(BARSLAST(CROSS(多,空))<9 AND CROSS(多,空) AND 多<40,40,0),LINE, colorgreen; N33:IF(BARSLAST(CROSS(通道3,通道4))<9 AND CROSS(通道3,通道4) AND 通道3<40,30,0),LINE, colorred; N32:IF(BARSLAST(CROSS(空,通道4))<9 AND CROSS(空,通道4) AND 空<40,-40,0),LINE, colorgreen; N233:IF(BARSLAST(CROSS(通道3,多))<9 AND CROSS(通道3,多) AND 通道3<40,-30,0),LINE, colorred; N322:IF(BARSLAST(CROSS(多,通道4))<9 AND CROSS(多,通道4) AND 多<40,-10,0),LINE, colorgreen; N2323:IF(BARSLAST(CROSS(通道3,空))<9 AND CROSS(通道3,空) AND 通道3<40,-20,0),LINE, colorred; GG:=(通道3+多),colorwhite,LINETHICK2 ; FF:=(通道4+空),colorcyan,LINETHICK2 ; N23323:IF(BARSLAST(CROSS(GG,多))<9 AND CROSS(GG,多) AND GG<40,50,0),LINE, colorblue; N23243:IF(BARSLAST(CROSS(多,GG))<9 AND CROSS(多,GG) AND 多<40,-50,0),LINE, colorblue; 转强F:=IF(FF<0,FF,DRAWNULL),colorred,LINETHICK2; STICKLINE(C,90,90,1,0),coloryellow; STICKLINE(C,10,10,1,0),colorcyan; 转强:=IF(GG>0,GG,DRAWNULL),colorred,LINETHICK2; STICKLINE(C,90,90,1,0),coloryellow; STICKLINE(C,10,10,1,0),colorcyan; //顶尖财经 股票学院: http://www.58188.com MACD1:=2*(GG-FF),STICK; MACD2:=EMA(MACD1,6); STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),colorred; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),colorgreen; STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORCBCBC0; |