编写要求:
量能饱和>90%写一选股公式.谢谢 {上市日期:FINANCE(42),NODRAW;} 〖量〗:=VOL,NODRAW,VOLSTICK; STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE;请 STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW; 流通〖亿〗:=CAPITAL/1000000,LINETHICK0; VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK; 短线:MA(VOLUME,5),COLORWHITE; MAVOL2:=MA(VOLUME,10); 中线:MA(VOLUME,35),COLORYELLOW; MAVOL3:=MA(VOLUME,20),COLORRED; MAVOL4:=MA(VOLUME,30); 长线:MA(VOLUME,135); MAVOL5:=MA(VOLUME,60); MAVOL6:=MA(VOLUME,100); 倍量:=VOL/REF(VOL,1)>2; STICKLINE(倍量 AND C>REF(C,1),0,〖量〗,1,0),COLORRED; STICKLINE(倍量 AND C1,1,SAT)*100, COLORMAGENTA,NODRAW; 中点:=REFDATE(HHV(V,200)/2,DATE); DRAWTEXT(CURRBARSCOUNT=100,中点*1.88,'量能饱和'),COLORYELLOW; STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD; STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能,0),COLOR0033FF; STICKLINE(CURRBARSCOUNT=N1,中点*1.82,中点*1.58,量能,0),COLOR0077FF; STICKLINE(CURRBARSCOUNT=N1,中点*1.76,中点*1.64,量能,0),COLOR0099FF; STICKLINE(CURRBARSCOUNT=N1,中点*1.7,中点*1.7,量能,0),COLOR00DDFF; {持币:IF(SAR(10,2,20)>=H,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORGREEN; 持股:IF(SAR(10,2,20)<=L,SAR(10,2,20),DRAWNULL),CIRCLEDOT,COLORRED; WJ:=(H+L+C)/3;} {现量} {STICKLINE(REFDATE(V,DATE),REFDATE(V,DATE),REFDATE(V,DATE),6,1),COLORWHITE;}{现量};
解答:
?SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
量能:=IF(SAT>1,1,SAT)*100;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!