配色: 字号:
独家分时主图 原码
2017-07-15 | 阅:  转:  |  分享 
  
独家分时主图原码A1:=(DVOL/C)/2,NODRAW;A2:=SUM(IF(A1>100ANDCLOSE>REF(CLOSE,1
),A1,0),0);A3:=SUM(IF(A1>100ANDCLOSESUM(IF(A1<100ANDCLOSE>REF(CLOSE,1),A1,0),0);A5:=SUM(IF(A1<100A
NDCLOSE2),((100A2)/A6),0);A8:=((IF((BARSTATUS=2),((100A3)/A6),0)));A9:
=((IF((BARSTATUS=2),((100A4)/A6),0)));A10:=((IF((BARSTATUS=2),((
100A5)/A6),0)));机构买盘:=(A2),LINETHICK2;机构卖盘:=(A3),LINETHICK2;散户买盘
:=(A4);散户卖盘:=(A5);突破:=REF(EMA(C,14),1);A1X:=(EMA(C,10)-突破)/突破100
;多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);最新
:CLOSE,LINETHICK1,COLORWHITE;AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL
100,BARSCOUNT(C));BB:=BETWEEN(C/AA,C+H,C-H);均价:=SUM(CV,240)/SUM
(V,240),COLORYELLOW,LINETHICK1;H1:=MAX(DYNAINFO(3),DYNAINFO(5));L
1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:=L1+P17/8,COLORGREE
N;支撑:=L1+P10.5/8,COLORMAGENTA;DRAWTEXT(LONGCROSS(支撑,C,2),C,''--反弹
''),COLORYELLOW;DRAWTEXT(LONGCROSS(C,阻力,2),C,''--出货''),COLORYELLOW;机
构买:=(A2),LINETHICK6,COLORRED;机构卖:=(A3),LINETHICK6,COLORGREEN;DD1:
=1;AAA1:=STRCAT(STRCAT(''机构买'',CON2STR((100A2)/A6,0)),''%'');AAA2:=S
TRCAT(STRCAT(''机构卖'',CON2STR((100A3)/A6,0)),''%'');AAA3:=STRCAT(STRC
AT(''净买入'',CON2STR((100(A2-A3))/A6,0)),''%'');DRAWTEXT_FIX(DD1=1,0,0
.04,0,AAA1),COLORRED;DRAWTEXT_FIX(DD1=1,0,0.12,0,AAA2),COLORGREEN
;DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA3),COLOR00FFFF;今日开盘线:=DYNAINFO(4)
,COLORMAGENTA;今日最高价:=DYNAINFO(5),COLORBLUE;今日最低价:=DYNAINFO(6),COL
ORGREEN;今日均价线:=DYNAINFO(11),COLORYELLOW;CC:=C;TT:=BARSCOUNT(CC);均
:=MA(CC,TT);上均线:=均+2STD(CC,3),COLORMAGENTA;下均线:=均-2STD(CC,3),CO
LORYELLOW;时长:=TIME>93000;涨幅:=CC/REF(C,1)>1.02;跌幅:=CC/REF(C,1)<0.9
8;横盘:=((HHV(CC,TT)-LLV(CC,TT))/CC)<0.05;YY:=SMA(VOL,30,1);放量:=(YY
-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95;涨跌
幅:=涨幅OR跌幅;横涨1:=涨跌幅=0AND横盘AND放量ANDCROSS(均价,均);DRAWTEXT(FILTER(横涨1,10),均价,''--突破''),COLORCYAN;DRAWICON(FILTER(横涨1,10),均价,1);
献花(0)
+1
(本文系网络藏书库首藏)