• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信金刚波段王未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-05-04|栏目:通达信公式

    N1:6;

    A1:DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0);

    B1:DRAWLINE(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0);

    A2:DRAWLINE(HIGH>=HHV(HIGH,13),HIGH,LOW<=LLV(LOW,13),LOW,0);

    B2:DRAWLINE(LOW<=LLV(LOW,13),LOW,HIGH>=HHV(HIGH,13),HIGH,0);

    A3:DRAWLINE(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0);

    B3:DRAWLINE(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0);

    A4:DRAWLINE(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0);

    B4:DRAWLINE(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0);

    mtm:=C-REF(C,1);

    ZLGJ:=100*Ema(ema(MTM,N1),N1)/EMA(EMA(Abs(MTM),N1),N1);

    买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND crOSS(ZLGJ,MA(ZLGJ,2)),1,0);

    卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);

    DRAWICON(FILTER(买1=1,5),LOW*0.99,7),COLORWHITE;

    STICKLINE(FILTER(买1=1,5),C,O,1,0),COLORWHITE;

    DRAWICON(FILTER(卖1=1,1),H*1.01,8),COLOR00FF00;

    STICKLINE(FILTER(卖1=1,1),C,O,1,0),COLOR00FF00;

    RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

    K:=SMA(RSV,3,1);

    D:=SMA(K,3,1);

    J:=3*K-2*D;

    BDGD:=HHV(J,2)=HHV(J,8) AND J>80;

    注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);

    DRAWTEXT(注意 AND 卖1<1,HIGH*1.01,'J'),COLOR00FF00,LINETHICK3;

    STICKLINE(注意 AND 卖1<1,O,CLOSE,1,0),COLORBLUE,LINETHICK2;

    时间窗口01:=FILTER(IF(HHVBARS(HIGH,5),0,H),5),COLORFFFF00;

    DRAWTEXT(时间窗口01,HIGH*0.99,'5');

    时间窗口02:=FILTER(IF(LLVBARS(LOW,5),0,L),5),COLOR00FFFF;

    DRAWTEXT(时间窗口02,LOW*0.99,'5');

    时间窗口1:=FILTER(IF(HHVBARS(HIGH,13),0,1),13),COLOR00FF00;

    DRAWTEXT(时间窗口1,HIGH*0.99,'13');

    时间窗口2:=FILTER(IF(LLVBARS(LOW,13),0,1),13),COLOR0000FF;

    DRAWTEXT(时间窗口2,LOW*0.99,'13');

    时间窗口3:=FILTER(IF(HHVBARS(HIGH,34),0,2),34),COLOR55FF55;

    DRAWTEXT(时间窗口3,HIGH*0.99,'34');

    时间窗口4:=FILTER(IF(LLVBARS(LOW,34),0,2),34),COLOR5555FF;

    DRAWTEXT(时间窗口4,LOW*0.99,'34');

    时间窗口5:=FILTER(IF(HHVBARS(HIGH,55),0,30),55),COLOR99FF99;

    DRAWTEXT(时间窗口5,HIGH*0.99,'55');

    时间窗口6:=FILTER(IF(LLVBARS(LOW,55),0,30),55),COLORDD00FF;

    DRAWTEXT(时间窗口6,LOW*0.99,'55');

    时间窗口7:=FILTER(IF(HHVBARS(HIGH,89),0,40),89),COLORddfFDD;

    DRAWTEXT(时间窗口7,HIGH*0.99,'89');

    时间窗口8:=FILTER(IF(LLVBARS(LOW,89),0,40),89),COLOR0055FF;

    DRAWTEXT(时间窗口8,LOW*0.99,'89');

    时间窗口9:=FILTER(IF(HHVBARS(HIGH,144),0,50),144),COLORDDFF00;

    DRAWTEXT(时间窗口9,HIGH*0.99,'144');

    时间窗口10:=FILTER(IF(LLVBARS(LOW,144),0,50),144),COLOR9955FF;

    DRAWTEXT(时间窗口10,LOW*0.99,'144');

    时间窗口11:=FILTER(IF(HHVBARS(HIGH,233),0,60),233),COLORDDFFFF;

    DRAWTEXT(时间窗口11,HIGH*0.99,'233');

    image.png



    未来函数检测公式代码域:

    N1:6;A1:DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0);B1:DRAWLINE(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0);A2:DRAWLINE(HIGH>=HHV(HIGH,13),HIGH,LOW<=LLV(LOW,13),LOW,0);B2:DRAWLINE(LOW<=LLV(LOW,13),LOW,HIGH>=HHV(HIGH,13),HIGH,0);A3:DRAWLINE(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0);B3:DRAWLINE(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0);A4:DRAWLINE(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0);B4:DRAWLINE(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0);mtm:=C-REF(C,1);ZLGJ:=100*Ema(ema(MTM,N1),N1)/EMA(EMA(Abs(MTM),N1),N1);买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND crOSS(ZLGJ,MA(ZLGJ,2)),1,0);卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);DRAWICON(FILTER(买1=1,5),LOW*0.99,7),COLORWHITE;STICKLINE(FILTER(买1=1,5),C,O,1,0),COLORWHITE;DRAWICON(FILTER(卖1=1,1),H*1.01,8),COLOR00FF00;STICKLINE(FILTER(卖1=1,1),C,O,1,0),COLOR00FF00;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;BDGD:=HHV(J,2)=HHV(J,8) AND J>80;注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);DRAWTEXT(注意 AND 卖1<1,HIGH*1.01,'J'),COLOR00FF00,LINETHICK3;STICKLINE(注意 AND 卖1<1,O,CLOSE,1,0),COLORBLUE,LINETHICK2;时间窗口01:=FILTER(IF(HHVBARS(HIGH,5),0,H),5),COLORFFFF00;DRAWTEXT(时间窗口01,HIGH*0.99,'5');时间窗口02:=FILTER(IF(LLVBARS(LOW,5),0,L),5),COLOR00FFFF;DRAWTEXT(时间窗口02,LOW*0.99,'5');时间窗口1:=FILTER(IF(HHVBARS(HIGH,13),0,1),13),COLOR00FF00;DRAWTEXT(时间窗口1,HIGH*0.99,'13');时间窗口2:=FILTER(IF(LLVBARS(LOW,13),0,1),13),COLOR0000FF;DRAWTEXT(时间窗口2,LOW*0.99,'13');时间窗口3:=FILTER(IF(HHVBARS(HIGH,34),0,2),34),COLOR55FF55;DRAWTEXT(时间窗口3,HIGH*0.99,'34');时间窗口4:=FILTER(IF(LLVBARS(LOW,34),0,2),34),COLOR5555FF;DRAWTEXT(时间窗口4,LOW*0.99,'34');时间窗口5:=FILTER(IF(HHVBARS(HIGH,55),0,30),55),COLOR99FF99;DRAWTEXT(时间窗口5,HIGH*0.99,'55');时间窗口6:=FILTER(IF(LLVBARS(LOW,55),0,30),55),COLORDD00FF;DRAWTEXT(时间窗口6,LOW*0.99,'55');时间窗口7:=FILTER(IF(HHVBARS(HIGH,89),0,40),89),COLORddfFDD;DRAWTEXT(时间窗口7,HIGH*0.99,'89');时间窗口8:=FILTER(IF(LLVBARS(LOW,89),0,40),89),COLOR0055FF;DRAWTEXT(时间窗口8,LOW*0.99,'89');时间窗口9:=FILTER(IF(HHVBARS(HIGH,144),0,50),144),COLORDDFF00;DRAWTEXT(时间窗口9,HIGH*0.99,'144');时间窗口10:=FILTER(IF(LLVBARS(LOW,144),0,50),144),COLOR9955FF;DRAWTEXT(时间窗口10,LOW*0.99,'144');时间窗口11:=FILTER(IF(HHVBARS(HIGH,233),0,60),233),COLORDDFFFF;DRAWTEXT(时间窗口11,HIGH*0.99,'233');

    未发现:CAPITAL...

    未发现:COST...

    未发现:DYNAINFO...

    未发现:FINANCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BACKSET...

    未发现:BARSNEXT...

    未发现:CURRBARSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    警惕!警惕!警惕!该公式包含未来函数:DRAWLINE...

    未发现:REFX...

    未发现:FLATZIG...

    未发现:FLATZIGA...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEAK...

    未发现:PEAKA...

    未发现:PEAKBARS...

    未发现:PEAKBARSA...

    未发现:PLOYLINE...

    未发现:REFDATE...

    未发现:TROUGH...

    未发现:TROUGHA...

    未发现:TROUGHBARS...

    未发现:XMA...

    未发现:ZIG...

    未发现:ZIGA...

    未发现:ZXNH...

    未发现:#YEAR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEAK...

    未发现:$PEAKBARS...

    未发现:$TROUGH...

    未发现:$TROUGHBARS...

    未发现:$FLATZIG...

    未发现:$FLATZIGA...

    未发现:$PEAKA...

    未发现:$PEAKBARSA...

    未发现:$TROUGHA...

    未发现:$ZIGA...

    未发现:$FFT...

    未发现:$BACKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNAINFO...

    未发现:$FINANCE...

    未发现:$DRAWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号