人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

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

發(fā)一套公式、源碼公式?jīng)Q策穩(wěn)賺 內(nèi)外盤差 抄底選股 資金博弈 趨勢逃頂[通達(dá)信公式]

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

 

為感謝朋友們的支持,發(fā)一套源碼指標(biāo)公式,分享給朋友們,希望大家喜歡。此為主圖指標(biāo),有未來,看自己了,我是習(xí)慣了,見仁見智,配一個未來的也不會有多大影響,不過剛好可以彌補(bǔ)一些準(zhǔn)確性~決策穩(wěn)賺 內(nèi)外盤差 抄底選股 資金博弈 趨勢逃頂{決策穩(wěn)賺}
JJ1:=MAX(MAX((H-L),ABS(REF(C,1)-H)),ABS(REF(C,1)-L));
JJ2:=MA(JJ1,13);
JJ3:=REF(C,1)-REF(JJ2,1);
重要參考線:HHV(JJ3,13),LINETHICK1,COLORGREEN;
J1:=MA(C,13);
決策關(guān)注:STICKLINE(J1>O AND C>J1 AND O<C,O,C,2,0),COLORYELLOW;{}
ST:=(CLOSE/OPEN+1)*100;
ZF:=(C/REF(C,1)+1)*100;
SX1:=ST>3 AND ST=HHV(ST,5);
SX2:=ZF>3 AND ZF=HHV(ZF,5);
SX3:=ZF>=9 AND CLOSE=HIGH;
S:=IF(SX1 OR SX2 OR SX3,1,0),COLOR0000FF;
DYSJ:=WEEKDAY;
監(jiān)測:=IF(DYSJ<=13 AND COUNT(C>REF(L,DYSJ),DYSJ)>=DYSJ+1,DYSJ,0),COLOR00FFFF;
關(guān)注:=IF(DYSJ>=5 AND COUNT(H>REF(H,DYSJ),5)>=5,REF(H,DYSJ),REF(H,DYSJ)),COLOR00FFFF;
監(jiān)測②:=IF(關(guān)注=REF(L,DYSJ),REF(L,DYSJ),REF(L,DYSJ)),COLORFFFFFF;
STICKLINE(監(jiān)測,監(jiān)測②,監(jiān)測②,3,0),COLOR00FFFF;
BF1:=LOW<關(guān)注*1.01 AND COUNT(LOW<關(guān)注*1.01,監(jiān)測)=1;
BF2:=LOW<關(guān)注 AND COUNT(LOW<關(guān)注,監(jiān)測)=1;
BF:=IF(BF1 OR BF2,1,0),COLOR00FF00;
支撐:STICKLINE(監(jiān)測,關(guān)注,關(guān)注,6,0),COLORFF00FF;
【箱頂】:PEAK(HIGH,10,1)*0.98,COLORRED,LINETHICK1;
【箱底】:TROUGH(LOW,10,1)*1.02,COLORCYAN,LINETHICK1;
PD:=ISLASTBAR;
DRAWNUMBER(PD,【箱頂】,【箱頂】),COLORFF8080;
DRAWNUMBER(PD,【箱底】,【箱底】),COLORFF8080;BIAS1:=MA((CLOSE-MA(CLOSE,13))/MA(CLOSE,13),3)*100,COLORWHITE;
BIAS3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100,COLORFF00FF,LINETHICK2;
操作區(qū):=IF(BIAS3<0,BIAS3,0),COLORRED,LINETHICK3;
觀望區(qū):=IF(BIAS3>0,BIAS3,0),COLORGREEN,LINETHICK3;
VAR2K:=TROUGHBARS(3,15,1)<10;
VAR3K:=PEAKBARS(3,15,1)<10;
VAR4K:=IF(VAR2K=1,50,0);
VAR5K:=IF(VAR3K=1,50,0);
TJ1K:=觀望區(qū)<REF(觀望區(qū),1) OR 觀望區(qū)-REF(觀望區(qū),1)<REF(觀望區(qū),1)-REF(觀望區(qū),2);
TJ2K:=操作區(qū)>REF(操作區(qū),1);
頂:=IF(TJ1K AND VAR5K=50,15,0),STICK,LINETHICK1,COLORGREEN;
底:=IF(TJ2K AND VAR4K=50,10,0),STICK,LINETHICK1,COLORRED;
DRAWICON(TJ1K AND VAR5K=50,HHV(H,10)+0.1,2);
DRAWICON(TJ2K AND VAR4K=50,LLV(L,10)-0.06,1);-----------------------------------------
指標(biāo)用于排序,尋找強(qiáng)勢股~
{內(nèi)外盤差}
PJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-PJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,PJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5)+(V2*V5);
V7:=(V3*V5)+(V4*V5);
WP1:=DYNAINFO(23);
NP1:=DYNAINFO(22);
WP2:=IF(ISLASTBAR,V7*240/FROMOPEN,V7);
NP2:=IF(ISLASTBAR,V6*240/FROMOPEN,V6);
WP【外】:IF(ISLASTBAR AND PERIOD=5 ,WP1,WP2),NODRAW;
NP【內(nèi)】:IF(ISLASTBAR AND PERIOD=5 ,NP1,NP2),NODRAW;
日差【手】:WP【外】-NP【內(nèi)】,NODRAW;
周差【手】:SUM(日差【手】,5),NODRAW;
十日差【手】:SUM(日差【手】,10),LINETHICK2,COLORYELLOW,NODRAW;
月差【手】:SUM(日差【手】,22),NODRAW;
連紅天:BARSLASTCOUNT(日差【手】>0),COLORRED;
STICKLINE(日差【手】>O,0,日差【手】,2,0),COLORRED;
STICKLINE(日差【手】<O,0,日差【手】,2,0),COLORFFFF00;-----------------------------------------------------------------
此指標(biāo)用于選股~
{抄底選股}
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
買入:=(AV + NEWVOL);
最佳買入:IF(CROSS(買入,0),0.5,0),COLORGREEN;
VAR1:=SMA(最佳買入,3,1);
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
抄底:IF(CROSS(VAR2,VAR3) AND (VAR2<40),1.5,0),COLORMAGENTA;
DRAWTEXT(CROSS(VAR2,VAR3) AND (VAR2<40),1.3,'↖抄底'),COLOR0000FF,LINETHICK2;
加倉:CROSS(C,MA(C,3)) AND REF(C,2)<REF(MA(C,3),2),COLORYELLOW;
DRAWTEXT(加倉,0.8,'↖加倉'),COLORCBC0FF,LINETHICK2;-------------------------------------------------------
此指標(biāo)用于分時,我一般用于排序
{分時指標(biāo):資金博弈}超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=-L2_AMO(0,3)/10000.0;
大S:=-L2_AMO(1,3)/10000.0;
中S:=-L2_AMO(2,3)/10000.0;
小S:=-L2_AMO(3,3)/10000.0;
凈流入:(超B+大B+中B+小B)+(超S+大S+中S+小S),NODRAW;
超大單:(超B)+(超S);
大單:(大B)+(大S);
中單:(中B)+(中S);
小單:(小B)+(小S);
--------------------------------------------------------------
此指標(biāo)用于趨勢逃頂~{趨勢逃頂}VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR16:=EMA(VAR15,13);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR1E:=AMOUNT/VOL/100;
VAR20:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR21:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR22:=(CLOSE+HIGH+LOW+OPEN)/4;
VAR23:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR24:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR25:=EMA(VAR24,24);
VAR26:=STD(VAR24,24);
VAR27:=(VAR24-VAR25)/VAR26*100;
VAR28:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR29:=EMA(VAR27,5);
VAR2A:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21));
VAR2B:=SUMBARS(VOL,CAPITAL);
VAR2C:=(VAR20-MA(VAR20,90))/(0.015*AVEDEV(VAR20,90));
VAR2D:=((VAR2C+VAR2A+VAR29+VAR28+VAR21)/5+165)/4;
VAR2E:=(EMA(EMA(EMA(VAR2D,15),10),5)-25)*2+VAR23;
VAR2F:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR30:=EMA(VAR2F,13);
VAR31:=(VAR2D+VAR2F)/2/1.1;
VAR32:=HHV(VAR22,VAR2B);
VAR33:=LLV(VAR22,VAR2B);
VAR34:=(VAR22-VAR33)/(VAR32-VAR33);
人: IF(VAR22>=VAR32,(2*VAR22-VAR33-REF(VAR32,1))/(VAR32-VAR33),VAR34),COLORRED;
IF(VAR22<=VAR33,(2*VAR22-VAR33-REF(VAR33,1))/(VAR32-VAR33),VAR34),COLORGREEN;
AAA:=IF(VAR22>=VAR32,(2*VAR22-VAR33-REF(VAR32,1))/(VAR32-VAR33),VAR34);
DRAWICON(AAA<=0,0,23);
DRAWICON(AAA>=1,1.1,2);
地: 0;
天: 1;DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;


 

 

有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友

可聯(lián)系技術(shù)人員 QQ: 511411198  有需要幫忙請點擊這里留言!!!進(jìn)行 有償 編寫!不貴!點擊查看價格!

 


【字體: 】【打印文章】【查看評論

相關(guān)文章

    沒有相關(guān)內(nèi)容
  主站蜘蛛池模板: 国产欧美在线不卡 | 日本xxxx18vr69| 羞色影院 | 精品久久久久久综合网 | 成人精品一区二区三区中文字幕 | 免费簧网站永久在线播放国产 | 天天综合天天看夜夜添狠狠玩 | 伊人久久五月天综合网 | 午夜精品国产爱在线观看不卡 | 两性午夜又粗又大又爽视频 | 成人在线免费看片 | freexxxx性中国hd| 欧美日韩中文在线视频 | 亚洲黄网在线播放高清 | 亚洲一区 中文字幕 久久 | 日本1区2区3区电 | 自拍偷自拍亚洲精品10p | 日韩欧美亚洲一区二区综合 | 曰批免费动漫视频播放免费 | 日韩麻豆国产精品欧美 | 亚洲宗合| 中国free性护士xxxxhd | 欧美特级黄色片 | 精品综合久久久久久98 | 精品欧美日韩一区二区三区 | 午夜在线观看完整高清免费 | 一级黄色大片免费观看 | 成年轻人网站色 免费看 | 伊人手机在线视频 | 香蕉大伊亚洲人在线观看 | 亚洲欧美精品一中文字幕 | 男女爽爽无遮拦午夜视频 | 免费亚洲黄色 | 免费看色片网站 | 欧美大片国产在线永久播放 | 欧美在线成人午夜网站 | 成人短视频在线观看视频 | 国产免费播放一区二区三区 | 天天操天天操天天射 | 一级特黄a大片免费 | 欧美黑粗特黄午夜大片 |