最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 将将军暴买点改写通达信选股公式

将将军暴买点改写通达信选股公式

来源:网络 点击: 时间:2023-01-04 03:05:04

编写要求:

公式源码如下: MA5:MA(C,5); MA10:MA(C,10); MA20:MA(C,20); MA40:MA(C,40); MA60:MA(C,60); STICKLINE(MA5>=MA60 AND MA60>=MA10,MA10,MA60,4,0),COLORBLUE; STICKLINE(MA5>=MA10 AND MA5<=MA60,MA10,MA5,4,0),COLORBLUE; STICKLINE(MA20>=MA60 AND MA60>=MA40,MA40,MA60,4,0),COLORFF00FF; STICKLINE(MA20>=MA40 AND MA20=MA20 AND MA20>=MA10,MA10,MA20,4,0),COLORWHITE; STICKLINE(MA5>=MA10 AND MA5=O,H,L,0,0),COLORRED; STICKLINE(C=O,C,O,4,1),COLORRED; STICKLINE(C=1.09; STICKLINE(涨停,OPEN,CLOSE,8,0),COLOR00FFFF; STICKLINE(涨停,LOW,HIGH,0.5 ,0 ),COLOR00FFFF; TY:=C; A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10); A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10); 前期高位:REF(H,BARSLAST(HD)),COLOR00FF00,POINTDOT; 连红:last(c>前期高位),PRECIS0,linethick0,colorgreen; 前期低位:REF(L,BARSLAST(LD)),COLORFF00FF,POINTDOT; STICKLINE(C,前期高位,前期高位,5,0),Color00FF00; STICKLINE(C,前期低位,前期低位,5,0),ColorFF00FF; 月价托:=ma5>ma20 and ma5>ma10 and cross(ma10,ma20); 季价托:=ma20>ma60 and ma20>ma40 and cross(ma40,ma60); 短长价托:=ma5>ma60 and ma5>ma10 and cross(ma10,ma60); drawtext(月价托,l-0.12,'月价托'),coloryellow; stickline(月价托,h,l,0.5,1),coloryellow; stickline(月价托,o,c,6,1),linethick2,coloryellow; drawtext(季价托,l-0.12,'季价托'),color0099ff; stickline(季价托,h,l,0.5,1),color0099ff; stickline(季价托,o,c,6,1),linethick2,color0099ff; drawtext(短长价托,l-0.12,'短长价托'),color36c0c1; stickline(短长价托,h,l,0.5,1),color36c0c1; stickline(短长价托,o,c,6,1),linethick2,color36c0c1; vol5:=MA(VOL,5); vol10:=MA(VOL,10); vol20:=MA(VOL,20); 量托:=vol5>=vol20 and cross(vol10,vol20) and ref(vol10,1)ma40 and (ma40=ma20 or ma40>ma20)); bb:=ref(count(cma(vol,5) and (c-ref(c,1))/ref(c,1)*100>3; MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); yxf:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0); 红柱:=filter(yxf=1,5); drawtext(红柱=1,l,'☆'),colorred; A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV (L,55))*100,5,1); fy:=EMA(A51,5); A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100; qs:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2)); 黄柱:=if(CROSS(qs,0)AND fy<40,80,0); drawtext(红柱=1,l,'★将军暴买点'),coloryellow; 芙蓉出水:=bb and cc; drawtext(芙蓉出水,l-0.12,'芙蓉出水'),colorff00ff; stickline(芙蓉出水,h,l,0.5,1),colorff00ff; stickline(芙蓉出水,o,c,6,1),linethick2,colorff00ff;stickline(芙蓉出水,o,c,6,1),linethick2,colorff00ff;

解答:

?MTM:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);

    上一篇:多空平衡选股 下一篇:修改买卖信号

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

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

    Top