小八非特 发表于 2018-1-24 15:32

神闲智敏 发表于 2018-1-25 05:14

PERIOD5:=COUNT(DATE<>REF(DATE,1),2)=2;
FROMOPEN1:=IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE);
VVOL:IF(BARSCOUNT(CLOSE)=1 AND PERIOD5,VOL*240/FROMOPEN,0),LINETHICK0;
STICKLINE(BARSCOUNT(CLOSE)=1 AND PERIOD5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
AA:=VOL>REF(V,1)*1.9;
AA1:=VOL<REF(LLV(VOL,13),1);
AA2:=VOL<REF(LLV(VOL,55),1);
STICKLINE(AA,0,V,2,0),COLORYELLOW;
STICKLINE(AA1,0,V,4,0),COLORGREEN;
STICKLINE(AA2,0,V,2,0),COLORMAGENTA;
TJ1:=COUNT(V>REF(V,1)*1.9,4)=1;
TJ2:=COUNT(V<REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ;
TJ3:=TJ1 AND TJ2;
STICKLINE(TJ3,0,V,4,0),COLORRED;
MV2:MA(V,2),COLORWHITE;
MV6:MA(V,6),COLORYELLOW;
MV20:MA(V,20),COLORMAGENTA;
量柱:V/CAPITAL*100,VOLSTICK;
倍量柱:=IF(V/REF(V,1)>1.9 AND C>REF(C,1),1,0);
高量柱:=IF(V=HHV(V,10),3,2);
低量柱:=IF(V=LLV(V,10),9,8);
并肩平量柱:=IF((V/REF(V,1)>0.95 AND V/REF(V,1)<1.05),7,6);
缩量柱:=IF(V<REF(V,1) AND REF(V,1)<REF(V,2) AND REF(V,2)<REF(V,3),25,35);
梯量柱:=IF(V>REF(V,1) AND REF(V,1)>REF(V,2) AND REF(V,2)>REF(V,3),11,10);
DRAWTEXT(倍量柱>0,VOLUME*1.4,'倍'),COLORWHITE;
DRAWTEXT(高量柱>2,VOLUME*0.8,'高'),COLORWHITE;
DRAWTEXT(并肩平量柱>6,VOLUME*0.7,'平'),COLORWHITE;
DRAWTEXT(梯量柱>10,VOLUME*0.55,'梯'),COLORWHITE;
DRAWTEXT(低量柱>8,VOLUME*1.3,'低'),COLORYELLOW;
DRAWTEXT_FIX(1,0.88,5,0,'更多交流:qq1332630653'),COLORRED;
DRAWTEXT(缩量柱<35,VOLUME*1.8,'缩'),COLORYELLOW;

mdj1979 发表于 2018-1-24 19:56

PERIOD5:=COUNT(DATE<>REF(DATE,1),2)=2;
FROMOPEN1:=IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE);
VVOL:IF(BARSCOUNT(CLOSE)=1 AND PERIOD5,VOL*240/FROMOPEN,0),LINETHICK0;
STICKLINE(BARSCOUNT(CLOSE)=1 AND PERIOD5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
AA:=VOL>REF(V,1)*1.9;
AA1:=VOL<REF(LLV(VOL,13),1);
AA2:=VOL<REF(LLV(VOL,55),1);
STICKLINE(AA,0,V,2,0),COLORYELLOW;
STICKLINE(AA1,0,V,4,0),COLORGREEN;
STICKLINE(AA2,0,V,2,0),COLORMAGENTA;
TJ1:=COUNT(V>REF(V,1)*1.9,4)=1;
TJ2:=COUNT(V<REF(V,1) AND L>MIN(L,4) AND L>REF(L,1),3)=3 ;
TJ3:=TJ1 AND TJ2;
STICKLINE(TJ3,0,V,4,0),COLORRED;
MV2:MA(V,2),COLORWHITE;
MV6:MA(V,6),COLORYELLOW;
MV20:MA(V,20),COLORMAGENTA;
量柱:V/CAPITAL*100,VOLSTICK;
倍量柱:=IF(V/REF(V,1)>1.9 AND C>REF(C,1),1,0);
高量柱:=IF(V=HHV(V,10),3,2);
低量柱:=IF(V=LLV(V,10),9,8);
并肩平量柱:=IF((V/REF(V,1)>0.95 AND V/REF(V,1)<1.05),7,6);
缩量柱:=IF(V<REF(V,1) AND REF(V,1)<REF(V,2) AND REF(V,2)<REF(V,3),25,35);
梯量柱:=IF(V>REF(V,1) AND REF(V,1)>REF(V,2) AND REF(V,2)>REF(V,3),11,10);
DRAWTEXT(倍量柱>0,VOLUME*1.4,'倍'),COLORWHITE;
DRAWTEXT(高量柱>2,VOLUME*0.8,'高'),COLORWHITE;
DRAWTEXT(并肩平量柱>6,VOLUME*0.7,'平'),COLORWHITE;
DRAWTEXT(梯量柱>10,VOLUME*0.55,'梯'),COLORWHITE;
DRAWTEXT(低量柱>8,VOLUME*1.3,'低'),COLORYELLOW;
DRAWTEXT_FIX(1,0.88,5,0,'更多交流:qq1332630653'),COLORRED;
DRAWTEXT(缩量柱<35,VOLUME*1.8,'缩'),COLORYELLOW;

gwy20092010 发表于 2018-5-1 16:07

学习学习学习学习学习学习学习

csz 发表于 2018-1-24 15:51

谢谢楼主分享

rdkdy 发表于 2018-1-24 16:13

学习!!!!

tzn 发表于 2018-1-24 16:18

谢谢楼主分享

gys123 发表于 2018-1-24 17:58


谢谢楼主分享

雇工 发表于 2018-1-24 18:02


感谢楼主的分享!辛苦了!

rdkdy 发表于 2018-1-24 18:51

学习!!!!

action007 发表于 2018-1-24 19:02



感谢楼主分享

cyq_3 发表于 2018-1-24 19:27

学习了,谢谢!

river_ford 发表于 2018-1-24 20:07

谢谢无私分享

ax0908 发表于 2018-1-24 20:22

感谢楼主分享

睡星星 发表于 2018-1-24 20:23

非常感谢你无私分享!!!

SCYBbluoj 发表于 2018-1-24 20:31

学习了,谢谢!

养牛郎 发表于 2018-1-24 20:34


感谢楼主分享
页: [1] 2 3 4 5
查看完整版本: 量学量柱语言【副图】