时空过客 发表于 2010-12-5 11:00

[通信达公式]买入超准

在网上看到这个指标,觉得不错,发上来和大家共享!!

指标源码回复可见!!

N:=5;
VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2:8,COLORGREEN,LINETHICK0;
上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;
专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;
0,LINETHICK2 ,COLORFFCC00;

卡拉奇 发表于 2017-2-9 01:01

VDING:=MAX(O,C);{实顶}
DI:=MIN(O,C);{实底}
YANG:=(DI>=REF(DING,1)) OR (C>O AND NOT(DING<=REF(DI,1))) OR (C>REF(C,1) AND C=O) OR (C=REF(C,1) AND C=O AND REF(DING,1)=C);{阳线}
YIN:=NOT(YANG);
YANGSHENG:=YANG AND C>=REF(DING,BARSLAST(YIN)) AND (V>REF(V,BARSLAST(YIN)) OR (BETWEEN(V,REF(V,BARSLAST(YIN))*0.95,REF(V,BARSLAST(YIN))*1.05)));
YINSHENG:=(YIN AND C<=REF(DI,BARSLAST(YANG)) AND V>REF(V,BARSLAST(YANG)));
LIANGJIABI:=V/C;
MALIANGJIABI:=MA(LIANGJIABI,3);
LIANGJIABIXISHU:=1.5;
BLZ:=V>REF(V,1)*1.5;
PLZ:=BETWEEN(V,REF(V,1)*0.95,REF(V,1)*1.05) OR BETWEEN(V,REFX(V,1)*0.95,REFX(V,1)*1.05) OR
      (BETWEEN(V,REF(V,2)*0.95,REF(V,2)*1.05) AND V>REF(V,1)*1.2) OR
      (BETWEEN(V,REF(V,3)*0.95,REF(V,3)*1.05) AND V>REF(MA(V,2),1)*1.2 AND V>REF(HHV(V,2),1)) OR
      (BETWEEN(V,REF(V,4)*0.95,REF(V,4)*1.05) AND V>REF(MA(V,3),1)*1.2 AND V>REF(HHV(V,3),1)) OR
      (BETWEEN(V,REF(V,5)*0.95,REF(V,5)*1.05) AND V>REF(MA(V,4),1)*1.2 AND V>REF(HHV(V,4),1)) OR
      (BETWEEN(V,REF(V,6)*0.95,REF(V,6)*1.05) AND V>REF(MA(V,5),1)*1.2 AND V>REF(HHV(V,5),1)) OR
      (BETWEEN(V,REF(V,7)*0.95,REF(V,7)*1.05) AND V>REF(MA(V,6),1)*1.2 AND V>REF(HHV(V,6),1)) OR
      (BETWEEN(V,REF(V,8)*0.95,REF(V,8)*1.05) AND V>REF(MA(V,7),1)*1.2 AND V>REF(HHV(V,7),1)) OR
      (BETWEEN(V,REF(V,9)*0.95,REF(V,9)*1.05) AND V>REF(MA(V,8),1)*1.2 AND V>REF(HHV(V,8),1)) OR
      (BETWEEN(V,REF(V,10)*0.95,REF(V,10)*1.05) AND V>REF(MA(V,9),1)*1.2 AND V>REF(HHV(V,9),1)) OR
      (BETWEEN(V,REF(V,11)*0.95,REF(V,11)*1.05) AND V>REF(MA(V,10),1)*1.2 AND V>REF(HHV(V,10),1)) OR
      (BETWEEN(V,REF(V,12)*0.95,REF(V,12)*1.05) AND V>REF(MA(V,11),1)*1.2 AND V>REF(HHV(V,11),1));
GLZ:=V=HHV(V,3) AND V=REFX(HHV(V,3),2);
TLZ:=(V*1.1<REFX(V,1) AND REFX(V,1)*1.1<REFX(V,2)) OR (V>REF(V,1)*1.1 AND V*1.1<REFX(V,1)) OR (V>REF(V,1)*1.1 AND REF(V,1)>REF(V,2)*1.1);
JSLS:=C<=REFX(C,1) AND REFX(C,1)<=REFX(C,2) AND LIANGJIABI>REFX(LIANGJIABI,1) AND REFX(LIANGJIABI,1)>REFX(LIANGJIABI,2);
JZ:=BLZ OR GLZ OR PLZ OR TLZ;
JJZ:=CURRBARSCOUNT>=4 AND YANG AND (YANGSHENG) AND JZ AND REFX(LLV(DI,3),3)>=DI AND (REFX(MA(LIANGJIABI,3),3)<=LIANGJIABIXISHU*LIANGJIABI OR REFX(JSLS,1)) AND REFX(C,3)>=DING;
HJZ1:=JJZ AND REFX(MA(C,3),3)>=DING AND REFX(MA(LIANGJIABI,3),3)<=LIANGJIABI AND REFX(YANG,3);
HJZ2:=YANG AND YANGSHENG AND JZ AND REFX(DI,1)>=DI AND REFX(JJZ,2) AND REFX(C,2)>DING AND REFX(LIANGJIABI,1)<LIANGJIABI;
HJZ3:=YANG AND YANGSHENG AND JZ AND REFX(LLV(DI,2),2)>=DI AND REFX(JJZ,3) AND REFX(C,3)>DING AND REFX(MA(LIANGJIABI,2),2)<LIANGJIABI;
HJZ4:=JJZ AND REFX(LLV(DI,3),3)>=DING AND REFX(MA(LIANGJIABI,3),3)<=LIANGJIABI AND REFX(YANG,3) AND (REFX(YANG,1) OR REFX(YANG,2));
WP:=JJZ OR HJZ1 OR HJZ4 OR HJZ2 OR HJZ3;
CONDJJZ:=JJZ AND REF(NOT(WP),1);
CONDHJZ1:=(HJZ1 OR HJZ2 OR HJZ3) AND REF(NOT(WP),1);
A:=CONDJJZ OR CONDHJZ1;
LZT:=BARSLAST(A);
LZTJ:=LZT<=10 AND LZT>=5;
JTJ:=C>REF(L,LZT);
JXL:=V<=LLV(V,LZT);
LTJ:=V<LLV(V,LZT)*1.1;
ZF:=(C-REF(C,1))*100/REF(C,1);
ZFTJ:=ABS(ZF)<1;
V2T:=V/REF(V,1);
JDLS:=ZF<=0 AND V2T<1;
LSTJ:=COUNT(JDLS,LZT)>=2;
{LTJ:=V2T<0.8;}
AZMD:JTJ AND LTJ AND LZTJ AND LSTJ AND ZFTJ;
STICKLINE(AZMD,0,100,3,0),COLORRED;

沧海云帆 发表于 2015-10-17 21:01

#在这里快速回复#生命线:MA(CLOSE,26),COLORRED,LINETHICK2;    STICKLINE(C>=生命线 AND C>=O,H,L,0,1),COLORRED;    STICKLINE(C>=生命线 AND C>=O,C,O,2.5,0),COLORRED;    DP:=IF(C=INDEXC,0,1);GJ:=AMOUNT/V/100 ; 多头线:EMA(C,1.5),COLOR0000CC; 空头线:EMA(C,5),COLORMAGENTA; 均衡线:EMA(空头线,5),COLORGREEN;   VARF1:=COUNT(CROSS(多头线,均衡线),2)=1;   VARF2:=COUNT(CROSS(空头线,均衡线),2)=1;   ZAI:=FILTER(VARF1 AND VARF2,2); DRAWTEXT(ZAI,均衡线*0.98,'↖主力拉升'),COLOR00FF00; MTM:=CLOSE-REF(CLOSE,1);   DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);   DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);       LC:=REF(CLOSE,1);         RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;            ZDF:=(C-REF(C,1))/REF(C,1)*100;      STICKLINE(ZDF>9.8,O,C,2.5,0),COLORRED;      STICKLINE(ZDF<-9.8,O,C,2.5,0),COLORBLUE; 白买进:DRAWNULL,NODRAW,COLORWHITE; 黄加仓:DRAWNULL,NODRAW,COLORYELLOW; 蓝跌:DRAWNULL,NODRAW,COLORBLUE; 绿见顶:DRAWNULL,NODRAW,COLORGREEN; 红强势:DRAWNULL,NODRAW,COLORRED; 红蓝调整:DRAWNULL,NODRAW,COLORGRAY; VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1); DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),9); DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.984),'↖买 '),COLOR4440FF; DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.02),'卖 '),COLORFFFF34; VARE1:=EMA(C,3);VARE2:=EMA(C,5);VARE3:=EMA(C,10);VAR4:=EMA(C,20);VAR5:=EMA(C,30);VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100; VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;VAR9:=EMA(VAR7,8);   STICKLINE(VAR7<1*REF(VAR7,1),H,L,0,1),COLORBLUE;   STICKLINE(VAR7<1*REF(VAR7,1),O,C,2.5,1),COLORBLUE;   STICKLINE(VAR7<1*REF(VAR7,1) AND C<O,O,C,2.5,0),COLORBLACK;   STICKLINE(VAR7<1*REF(VAR7,1) AND C<O,O,C,2.3,0),COLORBLUE;   STICKLINE(VAR7>1*REF(VAR7,1),H,L,0,1),COLORRED;   STICKLINE(VAR7>1*REF(VAR7,1),O,C,2.5,1),COLORRED;   STICKLINE(VAR7>1*REF(VAR7,1) AND C<O,O,C,2.5,0),COLOR0000DD;   STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),H,L,0,1),COLORGREEN;   STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),O,C,2.5,1),COLORGREEN;   STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1) AND C<O,O,C,2.5,0),COLORGREEN; 买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004; 买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1); STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK1; STICKLINE(买进条件,O,C,2.5,0),COLORWHITE,LINETHICK2; 加码价:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004; 加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1); STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2; STICKLINE(加码条件,O,C,2.5,0),COLORYELLOW,LINETHICK2;

hw18z 发表于 2015-11-30 22:58

{VOL_量柱} {看图说明:黄色为倍量柱,白色为并肩平量柱,紫色为缩倍柱, 绿色为10天低量柱,蓝色为50天低量柱,灰色为百日低量柱, 高量柱容易看无标记,!为长阴短柱, 内有红实线为假阴柱。 红色箭头(的前三天)为黄金柱。次黄金柱难判,不标记} {=====================================================} 绿低量:=10;{WWW.178448.COM WEN98编制} 蓝低量:=50; 灰低量:=100; H_L:=0.1*CONST(HHV(VOL,240)); {MAV10:MA(V,10),COLORYELLOW;} 异动135:MA(V,135),COLORMAGENTA; 洗盘40:MA(V,40),COLORBLUE; 启动5:MA(V,5),COLORWHITE; VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);{模拟量} STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,1,-1),COLOR00C0C0; 量:VOL,VOLSTICK,COLORLIGRAY; 换手: VOL*10000/FINANCE(7),NODRAW,COLORGREEN; {DYNAINFO(37)*100} 全换手周期: SUMBARS(V,CAPITAL),NODRAW,COLORLIGREEN;{求完全换手到现在的周期数} 量比: V/REF(MA(V,5),1),COLORBROWN,NODRAW; 几倍: V/REF(V,1),COLORYELLOW,NODRAW; 倍数:=1.9; 倍量: VOL>=REF(V,1)*倍数 AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW; 倍缩: REF(V,1)>=VOL*倍数,COLORMAGENTA,NODRAW; 平量: RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW; 低量10: VOL=LLV(VOL,绿低量) AND BARSCOUNT(V)>=绿低量,COLORGREEN,NODRAW; 低量50: VOL=LLV(VOL,蓝低量) AND BARSCOUNT(V)>=蓝低量,COLORBLUE,NODRAW; 地量:   VOL=LLV(VOL,灰低量) AND BARSCOUNT(V)>=灰低量,COLORGRAY,NODRAW; V1:=VOL*0.95;{图标位置} V2:=VOL*0.85; STICKLINE(倍量, 0,V1,2,0),COLORYELLOW; DRAWICON(倍量,V1*1.3,1); STICKLINE(平量,0,V1,2,0),COLORWHITE; STICKLINE(低量10,0,V2,2,0),COLORLIGREEN; STICKLINE(低量50,0,V2,2,0),COLORBLUE; STICKLINE(地量,0,V2,2,0),COLORGRAY; DRAWICON(地量,V2*6,1); STICKLINE(倍缩,0,V*0.45,2,0),COLORMAGENTA; STICKLINE(C<O AND C>REF(C,1),0,V1,2,0),COLORRED;{假阴柱}真阳或假阴:=C>O OR C>REF(C,1); 收阳:= REF(真阳或假阴,3); 倍量1:=REF(倍量,3); 高量:=REF(V,3)>=HHV(V,7); 三日不破:= LLV(C,3)>=REF(L,3); 价升:=COUNT(C>=REF(C,1),3)=3;{收盘价逐升} 量缩:=COUNT(V<=REF(V,1),3)=3; 连阳:= COUNT(真阳或假阴,3)=3; 倍量将军柱:= 倍量1 AND 三日不破 AND 收阳; 高量将军柱:= 高量AND 三日不破 AND 收阳; 将军柱:= 倍量将军柱 OR 高量将军柱; 黄金柱:= 将军柱 AND 价升 AND 量缩 AND 连阳 ;{标准黄金柱} STICKLINE(黄金柱,0,V,2.5,0),COLORRED; {红柱} DRAWICON(黄金柱,V*1.5,4); V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100; 百日地量群:=COUNT(V100,5)>=3; DRAWTEXT(FILTER(百日地量群,4),V+3*H_L,'地量群'),COLORGRAY; 长阴短柱:=C/REF(C,1)<=0.96 AND V<HHV(V,30)/1.9; DRAWTEXT(长阴短柱 ,V+1.6*H_L,'!'),COLORLICYAN;{----VOL.量能饱和----不喜欢可删去下面语句----} N1:=21; SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)); 量能饱和:IF(SAT>1,1,SAT)*100,COLOR00AAFF,NODRAW; 中点:=REFDATE(HHV(V,180)*0.5,DATE); STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00AAFF; STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0077FF; DRAWTEXT(CURRBARSCOUNT=N1+3,中点*1.7,'饱和度'),COLORYELLOW;

补充内容 (2016-10-24 13:40):
侯宁老师博客http://blog.sina.com.cn/houning8侯宁老师 QQ:234524123

小板明灯 发表于 2010-12-5 11:10

:lol~~~~~~~~~~

沉默的老虎 发表于 2010-12-5 11:10

看上去还不错

明金 发表于 2010-12-5 11:14

谢谢。。。。。。。。。。。。。。。。。。。。。

江鸟 发表于 2010-12-5 11:16

:handshake

李骏 发表于 2010-12-5 11:18

谢谢。。。。。。。。。。。。。。。。。。。。。

心平 发表于 2010-12-5 11:30

楼主辛苦了    谢谢分享

罗青 发表于 2010-12-5 11:31

ytyt谢谢分享

绅士 发表于 2010-12-5 11:45

感谢楼主的无私奉献 !

楚云飞 发表于 2010-12-5 11:58

楼主辛苦了    谢谢分享

why168_3 发表于 2010-12-5 11:59

好好学习,谢谢

王百万 发表于 2010-12-5 12:05

感谢楼主的无私奉献

毛振烨 发表于 2010-12-5 12:09

机构集体错过的大牛股

美丽天使 发表于 2010-12-5 12:12

感谢楼主的无私奉献

股股生金 发表于 2010-12-5 12:17

感谢楼主的无私奉献
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: [通信达公式]买入超准