最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > k线图里的k线显示

k线图里的k线显示

来源:网络 点击: 时间:2022-12-23 01:14:44

编写要求:

参数: m1 2 1000 5 m2 2 1000 10 m3 2 1000 20 m4 2 1000 60 m5 2 1000 120 STICKLINE( MA(CLOSE,60)>MA(CLOSE,120),MA(CLOSE,60),MA(CLOSE,120),8,0),COLOR000044; STICKLINE( MA(CLOSE,60)=(10-0.01*100/C2),1,0); STICKLINE(涨停,OPEN,CLOSE,-1,0),COLORYELLOW; STICKLINE(涨停,H,L,0,0),COLORYELLOW; 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(跌停,OPEN,CLOSE,-1,0),COLORBLUE; STICKLINE(跌停,H,L,0,1),COLORBLUE; 大阳线:=IF((C-C2)*100/C2>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0) OR IF((C-O)*100/O>=5,1,0)&&IF((C-C2)*100/C2<(10-0.01*100/C2),1,0); STICKLINE(大阳线,OPEN,CLOSE,-1,0),COLORRED; STICKLINE(大阳线,H,L,0,1),COLORRED; 大阴线:=IF((C2-C)*100/C2>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0) OR IF((O-C)*100/O>=5,1,0)&&IF((C2-C)*100/C2<(10-0.01*100/C2),1,0); STICKLINE(大阴线,OPEN,CLOSE,-1,0),COLORGREEN; STICKLINE(大阴线,H,L,0,1),COLORGREEN; TY:=C; AA1:=REF(TY,10)=HHV(TY,2*10+1); BB1:=FILTER(AA1,10); C1:=BACKSET(BB1,10+1); HD:=FILTER(C1,10); AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); CC2:=BACKSET(B2,10+1); LD:=FILTER(CC2,10); 前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT,LINETHICK3; 前期低位:REF(C,BARSLAST(LD)),COLORFF00FF,POINTDOT,LINETHICK3; BB:=REF(INDEXC,1)=REF(C,1) AND REF(O,1)/REF(C,1)>=1.05 AND REF(C,1)O AND C/O>=1.05 AND C>REF(O,1) AND REF(VOL,1)=MA(C,21) AND L/MA(C,21)>=1.015 AND MA(C,144)>MA(C,250) AND VV; TJ3:=REF(MA(C,250),90)MA(C,250) AND O>MA(C,250); TJ4:=MAX(REF(H,10)AND REF(H,9)AND REF(H,8)AND REF(H,7), REF(H,6)); TOUJI:=TYP1 AND TJ1 AND TJ2 AND REF(C,2)/REF(O,2)<1.06 AND C/O<=1.05 AND HHV(H,5)/LLV(L,30)>=1.65 AND REF(H,5)/REF(L,1)>=1.15 AND REF(C,1)/REF(O,1)<=0.995 AND (L=2) AND O/REF(L,1)<=1.04 OR TYP1 AND TJ1 AND O/REF(L,1)<1.05 AND REF(L,1)/REF(O,4)<=0.85 AND REF(C,1)/REF(O,1)<=1.03 AND O1.35 AND V=1.35 AND REF(O,4)/REF(C,2)>=1.08 AND REF(C,2)/REF(O,2)<=0.995 AND (REF(L,2)=2) AND L=1.3 AND REF(C,5)=1.17 AND HHV(H,10)/LLV(L,30)>1.4 AND (MA(V,10)/HHV(V,10)>0.5 AND V/HHV(V,10)>0.2 AND V/HHV(V,10)<0.4 OR REF(V,3)>REF(V,2) AND REF(V,2)>REF(V,1)) AND REF(C,1)/REF(C,2)<=1.02; DATOUJI1:=TYP1 AND TJ3 AND OMA(VOL,10) AND L=MA(C,20),L*0.98,'量托'),COLORWHITE; 卖出:=CROSS(90,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE- REF(CLOSE,1)),6,1)*100); {DRAWTEXT(卖出,H*1.05,'短卖'),COLORGREEN;} C3:=REF(C,1); {涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED; 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;} W1:=C=HHV(C,20); W2:=BARSLAST(W1); W3:=IF(W2>0,REF(C,W2),REF(C,W2)); W4:=CROSS(C,REF(W3,1)); 突破盘整:=W4 AND COUNT(W4,5)=1; {DRAWICON(突破盘整,L-0.10,5);} VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,VARC),HIGH,4); DRAWTEXT(CROSS(84,VARC),H*1.01,'逃顶'),COLORYELLOW ;

解答:

?m1 ?2 1000 5

m2 ?2 1000 10

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

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

    Top