发一个不可多得的主图源码!!!压力支撑,买卖点全齐 当出现空心三角时关注,实心三角买入,出现绿三角小心,绿方块坚决离场!!!! TY:=C; A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10); A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10); A:=REF(C,BARSLAST(HD)); Z:=REF(L,BARSLAST(LD)); T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ; T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD); 波顶:IF(T1,A,A),COLORYELLOW,LINETHICK2,POINTDOT; 波底:IF(T2,Z,Z),COLORWHITE,LINETHICK2,POINTDOT; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); MA3:=EMA(CLOSE,3); MA21:=EMA(CLOSE,21); stickline(CROSS(85,RSI) AND RSI<30,o,c,4,0),coloryellow; 买线:EMA(C,2); 卖线:EMA(SLOPE(C,21)*20+C,42); BU:=cross(买线,卖线); SEL:=cross(卖线,买线); drawtext(sel,HIGH*1.028,'▎'),colorff00ff,linethick3; stickline(买线>=卖线,low,high,1,0),colorred; stickline(买线>=卖线,close,open,4.5,0),color0000aa; stickline(买线>=卖线,close,open,4,0),color0000cc; stickline(买线>=卖线,close,open,3,0),color0000cc; stickline(买线>=卖线,close,open,2,0),color0000ee; stickline(买线<卖线,close,open,4.5,0),coloraaaa00; stickline(买线<卖线,close,open,4,0),colorbbbb00; stickline(买线<卖线,close,open,3,0),colorcccc00; stickline(买线<卖线,close,open,2,0),coloreeee00; stickline(买线<卖线,low,high,1,0),colorffff00; stickline( SEL,open,close,5,0),COLORff00ff; stickline( SEL,h,l,0,0),COLORff00ff; { } VAR52:=(2*CLOSE+HIGH+LOW)/4; VAR54:=LLV(LOW,5); VAR55:=HHV(HIGH,4); SS:=EMA((VAR52-VAR54)/(VAR55-VAR54)*100,4); ZZ:=EMA(0.667*REF(SS,1)+0.333*SS,2); DRAWTEXT(CROSS(SS,ZZ) AND SS<30,LOW*0.98,'△'),coloryellow; DRAWTEXT(CROSS(ZZ,SS) AND SS>70,HIGH*1.03,'▽'),COLOR00FF00; DRAWICON(CROSS(SS,ZZ) AND SS<30,LOW*0.98,4); DRAWICON(CROSS(ZZ,SS) AND SS>70,HIGH*1.02,5); stickline(CROSS(ZZ,SS) AND SS>70,o,c,4,0),COLOR00FF00; stickline(CROSS(ZZ,SS) AND SS>70,h,l,0,0),COLOR00FF00; stickline(CROSS(SS,ZZ) AND SS<30,o,c,4,0),coloryellow; stickline(CROSS(SS,ZZ) AND SS<30,h,l,0,0),coloryellow;
VAR110:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0); VAR111:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) <=REF(ZIG(3,6),3); VAR112:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) >=REF(ZIG(3,6),3); VAR113:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG (3,22),2)<=REF(ZIG(3,22),3); VAR114:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG (3,22),2)>=REF(ZIG(3,22),3); VAR115:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG (3,51),2)<=REF(ZIG(3,51),3); VAR116:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG (3,51),2)>=REF(ZIG(3,51),3); VAR117:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG (3,72),2)<=REF(ZIG(3,72),3); VAR118:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG (3,72),2)>=REF(ZIG(3,72),3); VAR119:=EMA(CLOSE,2)-EMA(CLOSE,150); 买1:=VAR110; 买2:=(VAR111+VAR113+VAR115+VAR117); 卖1:=(VAR112+VAR114+VAR116+VAR118); B:=IF(买1>0 OR 买2>0,LOW*0.99,1),CROSSDOT,LINETHICK3,COLORYELLOW; S:=IF(卖1>0,HIGH*1.01,1),CROSSDOT,LINETHICK3,COLOR00ff00; DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'▲'),color00ffff; DRAWTEXT(卖1>0,HIGH*1.01,'□'),color00ff00; stickline(买1>0 OR 买2>0,o,c,4,0),color00ffff; stickline(买1>0 OR 买2>0,h,l,0,0),color00ffff; stickline(卖1>0,o,c,4,0),color00ff00; stickline(卖1>0,h,l,0,0),color00ff00; {点击看本软件截图: 58股票 公式网 http://www. 58gu. com 整理} |