您現(xiàn)在的位置:程序化交易>> 股票公式>> 通達(dá)信>> 通達(dá)信公式>>正文內(nèi)容

漲跌有因[通達(dá)信公式]

相關(guān)標(biāo)簽:

?

DIR2:=ABS(CLOSE-REF(CLOSE,30));VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),30);ER2:=DIR2/VIR2;CS2:=ER2*(0.8-2/24)+2/24;CQ2:=CS2*CS2;M熊:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK1;牛熊:=M熊;{程序化久久公式網(wǎng) cxh99.com}M震:IF(M熊/REF(M熊,1)>0.997,M熊,DRAWNULL),COLORBLUE,LINETHICK1;M牛:IF(M熊/REF(M熊,1)>1.001,M熊,DRAWNULL),COLORRED,LINETHICK1;XX1:=C>牛熊 AND 牛熊>REF(牛熊,1);DRAWTEXT_FIX(ISLASTBAR AND XX1,0,0.01,0,'【處于牛區(qū)】'),COLORRED;XX2:=C<牛熊 AND 牛熊<=REF(牛熊,1);DRAWTEXT_FIX(ISLASTBAR AND XX2,0,0.01,0,'【處于熊區(qū)】'),COLORGREEN;F111:=ZIG(3,15);F211:=IF((F111> REF(F111,1)),100,80);T01:=CONST(LLVBARS(LOW,10));T11HIGH:=CONST(REF(HIGH,T01));CC1:=CONST(CURRBARSCOUNT);T02:=CONST(BARSLAST((CURRBARSCOUNT >(CC1+T01)) AND (HIGH>T11HIGH)));T12HIGH:=CONST(REF(HIGH,T02));T03:=CONST(BARSLAST((CURRBARSCOUNT >(CC1+T02)) AND (HIGH>T12HIGH)));T13HIGH:=CONST(REF(HIGH,T03));洗:DRAWLINE(CURRBARSCOUNT=T03+1, T13HIGH, ISLASTBAR, T13HIGH, 1),DOTLINE,COLORFFFFFF;AY:=REF(H,10)=HHV(H,2*10+1);QYY:=BACKSET(AY,10+1);CC:=FILTER(QYY,10) AND H=HHV(H,10+1);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);壓:DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORFFFF00,LINETHICK1,DOTLINE;A2:=REF(L,5)=LLV(L,2*5+1);B2:=FILTER(A2,5);C2:=BACKSET(B2,5+1);D2:=FILTER(C2,5);E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);F2:=E2>REF(E2,1);支:DRAWLINE(D2,L,F2,L,1),COLORLIRED,DOTLINE;高1:=REF(HHV(H,150),3);低1:=REF(LLV(L,150),3);HH1:=高1-(高1-低1)*0.191;沖:REFDATE(HH1,DATE),COLORLIGREEN;cxh3:=LLV(HIGH,240);cxh4:=100*(CLOSE-cxh3)/cxh3;cxh5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;cxh6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;cxh7:=0;{程序化久久公式網(wǎng) cxh99.com}cxh8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;cxh9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;cxh10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);cxh11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);cxh12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);cxh13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);cxh14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);cxh15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);cxh16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);cxh17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);cxh18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);cxh19:=EMA(CLOSE,2)-EMA(CLOSE,150);買1:=F211=100 AND cxh10;買2:=F211=100 AND (cxh11+cxh13+cxh15+cxh17);賣1:=(cxh12+cxh14+cxh16+cxh18);F1:=ZIG(3,15);F21:=IF((F1> REF(F1,1)),100,80);cxhE1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;cxh1A:=IF(cxhE1>0,cxhE1,0);cxh1B:=IF(cxh14>=200 AND cxh13>=150,15,IF(cxh14<=-200 AND cxh13<=-150,-15,cxh16))+60;cxh1C:=cxh1A>48 AND cxh1B>60 AND cxh19<100;大頂0:=cxh1C AND COUNT(cxh1C,30)=1;DRAWTEXT(大頂0=1,H*1.03,'大頂!'),COLORWHITE;PL5:=ZIG(3,5);EN1:=PL5>REF(PL5,1) AND REF(PL5,1)<=REF(PL5,2) AND REF(PL5,2)<=REF(PL5,3);EX1:=PL5<REF(PL5,1) AND REF(PL5,1)>=REF(PL5,2) AND REF(PL5,2)>=REF(PL5,3);PL10:=ZIG(3,10);EN2:=PL10>REF(PL10,1) AND REF(PL10,1)<=REF(PL10,2) AND REF(PL10,2)<=REF(PL10,3);EX2:=PL10<REF(PL10,1) AND REF(PL10,1)>=REF(PL10,2) AND REF(PL10,2)>=REF(PL10,3);PL20:=ZIG(3,20);EN3:=PL20>REF(PL20,1) AND REF(PL20,1)<=REF(PL20,2) AND REF(PL20,2)<=REF(PL20,3);EX3:=PL20<REF(PL20,1) AND REF(PL20,1)>=REF(PL20,2) AND REF(PL20,2)>=REF(PL20,3);走強(qiáng)1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走強(qiáng)2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走強(qiáng)3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走強(qiáng)2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走強(qiáng)2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走強(qiáng)3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走強(qiáng)3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'㈠'),COLORFFFFFF;DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'㈡'),COLORGREEN;DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'㈢'),COLORFFFFFF;DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLORFFFFFF;DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR00FFFF;DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLORFFFF00;DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR00FFFF;DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLORGREEN;DRAWTEXT(EN2 AND DTJZ10=1,L*0.95,'Ⅰ'),COLORFFFFFF;DRAWTEXT(EX2 AND DTJD10=2,H,'Ⅱ'),COLORGREEN;DRAWTEXT(EN3 AND ZTJZ10=1,L*0.95,'Ⅲ'),COLORFF00FF;DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.06,'①'),COLORFFFF00;DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.94,'②'),COLORFF00FF;DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.06,'③'),COLORGREEN;DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.94,'④'),COLORFF00FF;M5:=MA(C,5);M10:=MA(C,10);M20:=MA(C,20);M30:=MA(C,30);M60:=MA(C,60);MA5:=EMA(C,5);MA13:=EMA(C,6);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(C

?

公式導(dǎo)入教程: 【通達(dá)信公式源碼導(dǎo)入方法教程】 【同花順公式源碼導(dǎo)入方法教程】 【大智慧新一代公式源碼導(dǎo)入方法教程

?

 

有思路,想編寫各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友

可聯(lián)系技術(shù)人員 QQ: 262069696  點(diǎn)擊在線交流或微信:cxhjy888 進(jìn)行 有償收費(fèi) 編寫!(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無(wú)法通過(guò)。謝謝您!)

怎么收費(fèi),代編流程等詳情請(qǐng)點(diǎn)擊查閱!

(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無(wú)法通過(guò)。謝謝您!)

 


【字體: 】【打印文章】【查看評(píng)論

相關(guān)文章

    沒(méi)有相關(guān)內(nèi)容
  主站蜘蛛池模板: 一二三区在线视频| 亚洲成av人片在线观看无码| 玖玖爱zh综合伊人久久| 奇米四色7777| 久久午夜国产片| 欧美疯狂性受xxxxx另类| 四虎影视在线影院在线观看| **一级毛片全部免| 少妇无码太爽了在线播放| 久热中文字幕无码视频| 污污网站免费在线观看| 啊灬啊灬别停啊灬用力| 95在线观看精品视频| 国产香港日本三级在线观看| 一级做a爱片久久毛片| 日韩伦人妻无码| 亚洲成综合人影院在院播放| 精品人妻系列无码一区二区三区| 国产女人高潮抽搐叫床视频 | 特级毛片A级毛片免费播放| 国产一级特黄aaa大片| 日韩精品一区二区三区中文精品| 在线视频一二三区2021不卡| 中国china体内裑精亚洲日本| 日韩人妻一区二区三区免费| 加勒比色综合久久久久久久久| 韩国伦理s级在线| 国产精品免费看| 99久久精品免费看国产一区二区三区| 成人午夜免费福利视频| 久久免费观看国产99精品| 模特冰漪丰硕之美1| 亚洲日韩精品无码AV海量| 男人的天堂av社区在线| 国产大片黄在线观看| 又黄又骚的网站| 在免费jizzjizz在线播| www.中文字幕在线| 成人小视频在线观看| 久久久久无码精品国产不卡| 最近高清中文在线国语字幕|