追风逐电 通达信主图指标 源码 贴图
2020-09-26 10:04:00来源:本站整理浏览:360
追风逐电 通达信主图指标 源码 贴图
{追风逐电}
MA5:MA(CLOSE,5),COLORGREEN,LINETHICK1;
买卖线13:MA(CLOSE,13),COLORMAGENTA,LINETHICK3;{买卖线增平仓线}
MA20:=MA(CLOSE,20),COLORLIMAGENTA;
生命线:=MA(CLOSE,30),COLORWHITE,LINETHICK3;
多空趋势60:MA(CLOSE,60),COLORLIBLUE,LINETHICK3;
半年线:MA(CLOSE,120),COLORYELLOW,LINETHICK2;
年线:MA(CLOSE,250),COLORRED,LINETHICK2;
STICKLINE(C/REF(C,1)>1.0925 AND C=H,CLOSE,OPEN,3,0),COLORMAGENTA;
正向分形:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
正向定位:=CROSS(C,正向分形) AND 正向分形>REF(正向分形,1);
STICKLINE(正向定位,H,L,0,1),COLORLIGREEN,LINETHICK2;
STICKLINE(正向定位,O,C,0.5,0),COLORLIGREEN,LINETHICK2;
AAA:=(3*C+H+L+O)/6;{WWW.GPXIAZAI.COM}
VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1;
立桩量:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
突破:=TJ2=1;
{STICKLINE(CLOSE,REF(HIGH,BARSLAST(立桩量)),REF(HIGH,BARSLAST(立桩量)),0.2,0),COLORCYAN;}
{STICKLINE(CLOSE,REF(LOW,BARSLAST(立桩量)),REF(LOW,BARSLAST(立桩量)),0.2,0),COLORYELLOW;}
VA1:=EMA(CLOSE,8);
VA2:=EMA(VA1,20);
VA3:=CROSS(VA1,VA2);
VA4:=VOL/SUM(VOL,13);
VA5:=DMA(CLOSE,VA4);
VA6:=VA1<MA(CLOSE,120);
A3A:=VA3 AND VA6 AND (CLOSE-VA5)/VA5*100/2.5>1.6;
A4A:=CROSS( (CLOSE-VA5)/VA5*100/2.5,0 ) AND (CLOSE-VA5)/VA5*100/2.5>1.5 ;
DRAWTEXT(A4A>0 OR A3A>0,L-0.3,'追'),COLORYELLOW,LINETHICK5;