最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 将“成交额附图“做个预警

将“成交额附图“做个预警

来源:网络 点击: 时间:2023-01-01 23:53:12

编写要求:

指标”成交额附图” 源码: SAT:=(AM/C)/(HHV(AM,20)/HHV(C,20)); 量能饱和度:IF(SAT>1,1,SAT)*100,COLOR00AAFF,NODRAW; 中点:=REFDATE(HHV(AM,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.8,'饱和度'),COLORYELLOW; {=====================================================} H_L:=0.1*CONST(HHV(AM,240)); {MAV10:MA(V,10),COLORYELLOW;} 异动135:MA(AM,135),COLORMAGENTA; 洗盘40:MA(AM,40),COLORBLUE; 启动5:MA(AM,5),COLORWHITE; VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,AM*240/FROMOPEN,DRAWNULL);{模拟量} STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,1,-1),COLOR00C0C0; 量:V,COLORGREEN,NODRAW; 成交额亿:AM,VOLSTICK,COLORLIGRAY; 换手: VOL*10000/FINANCE(7),NODRAW,COLORGREEN; {DYNAINFO(37)*100} 全换手周期: SUMBARS(V,CAPITAL),NODRAW,COLORLIGREEN;{求完全换手到现在的周期数} 量比: V/REF(MA(V,5),1),COLORBROWN,NODRAW; 几倍: AM/REF(AM,1),COLORYELLOW,NODRAW; 倍数:=1.9;{178448-WEN98编制} 倍量: AM>=REF(AM,1)*倍数 AND (IF(CREF(C,1),1)),COLORYELLOW,NODRAW; 倍缩: REF(AM,1)>=AM*倍数,COLORMAGENTA,NODRAW; 平量: RANGE(AM/REF(AM,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW; 低量10: AM=LLV(AM,绿低量) AND BARSCOUNT(AM)>=绿低量,COLORGREEN,NODRAW; 低量50: AM=LLV(AM,蓝低量) AND BARSCOUNT(AM)>=蓝低量,COLORBLUE,NODRAW; 地量: AM=LLV(AM,灰低量) AND BARSCOUNT(AM)>=灰低量,COLORGRAY,NODRAW; V1:=AM*0.9;{图标位置} V2:=AM*0.8; STICKLINE(倍量, 0,V1,1,0),COLORYELLOW; STICKLINE(平量,0,V1,1,0),COLORWHITE; STICKLINE(低量10,0,V2,1,0),COLORLIGREEN; STICKLINE(低量50,0,V2,1,0),COLORBLUE; STICKLINE(地量,0,V2,1,0),COLORGRAY; STICKLINE(倍缩,0,AM*0.45,1,0),COLORMAGENTA; STICKLINE(CREF(C,1),0,AM,0,0),COLORRED;{假阴柱} 真阳或假阴:=C>O OR C>REF(C,1); 收阳:= REF(真阳或假阴,3); 倍量1:=REF(倍量,3); 高量:=REF(AM,3)>=HHV(AM,7); 三日不破:= LLV(C,3)>=REF(L,3); 价升:=COUNT(C>=REF(C,1),3)=3;{收盘价逐升} 量缩:=COUNT(AM<=REF(AM,1),3)=3; 连阳:= COUNT(真阳或假阴,3)=3; 倍量将军柱:= 倍量1 AND 三日不破 AND 收阳; 高量将军柱:= 高量 AND 三日不破 AND 收阳; 将军柱:= 倍量将军柱 OR 高量将军柱; 黄金柱:= 将军柱 AND 价升 AND 量缩 AND 连阳 ; STICKLINE(黄金柱,0.3*AM,0.7*AM,1,0),COLORRED; {红柱} DRAWICON(黄金柱,AM*1.5,1); V100:= AM<=LLV(AM,100)*1.2 AND V>0 AND BARSCOUNT(AM)>=100; 百日地量群:=COUNT(V100,5)>=3; DRAWTEXT(FILTER(百日地量群,4),AM+3*H_L,'地量群'),COLORGRAY; 长阴短柱:=C/REF(C,1)<=0.96 AND AM

解答:

?

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top