指标源码
指标源码-附图
{综合分时指标}
DRAWTEXT_FIX(C>0,0.004,0.11,0,DYBLOCK),COLORRED,LINETHICK2;
DRAWTEXT_FIX(C>0,0.06,0.11,0,HYBLOCK),COLORYELLOW,LINETHICK2;
DRAWTEXT_FIX(C>0,0.13,0.11,0,GNBLOCK),COLORCYAN,LINETHICK2;
DRAWTEXT_FIX(C>0,0.11,0.11,0,CON2STR(GNBLOCKNUM,0)),COLORMAGENTA,LINETHICK2;
DRAWTEXT_FIX(C>0,0.13,0.18,0,FGBLOCK),COLORCYAN,LINETHICK2;
DRAWTEXT_FIX(C>0,0.11,0.18,0,CON2STR(FGBLOCKNUM,0)),COLORMAGENTA,LINETHICK2;
DRAWTEXT_FIX(C>0,0.13,0.25,0,ZHBLOCK),COLORCYAN,LINETHICK2;
现价:=IF(DYNAINFO(4)=0,C,DYNAINFO(7));
XG:=HHV(H,480);
STICKLINE(FILTER(CROSS(C,REF(XG,1)),10) AND
C>REF(XG,1),C*0.995,C,1,0),COLORMAGENTA;{紫竖线}
DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10) AND
C>REF(XG,1),C*0.995,'突')AND
C<ZTPRICE(REF(CLOSE,1),0.1),COLORYELLOW;{突}
RQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT))+1;
JY:=BARSLAST((RQ-REF(RQ,1))!=WEEKDAY-REF(WEEKDAY,1)
OR TOTALBARSCOUNT-CURRBARSCOUNT=0)+1;
MA01:=REF(C,JY);
MA02:=REF(MA01,JY);
MA03:=REF(MA02,JY);
MA04:=REF(MA03,JY);
MA05:=REF(MA04,JY);
MA6:=REF(MA05,JY);
MA7:=REF(MA6,JY);
MA8:=REF(MA7,JY);
MA9:=REF(MA8,JY);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*8/9,COLORLIRED,DOTLINE;
支撑:L1+P1*0.5/9,COLORGREEN,DOTLINE;
XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);
底:=1;1.022,NODRAW;高:=1.033;