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

您現在的位置:程序化交易>> 股票公式>> 通達信>> 通達信公式>>正文內容

《冠軍1號起爆點》炸平李鬼起爆點![通達信公式]

相關標簽:

 

上漲家數:=INDEXADV,COLOR0080FF,NODRAW;
下跌家數:=INDEXDEC,COLORGREEN,NODRAW;
今日人氣:=上漲家數/下跌家數;
YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORRED,LINETHICK1;
YM1:=EMA(YM,5),COLORRED,LINETHICK1;
YM2:=EMA(YM1,5),COLORRED,LINETHICK1;
IF(YM>=YM2,YM,DRAWNULL),LINETHICK1,COLORRED;
IF(YM>=YM2,YM1,DRAWNULL),LINETHICK1,COLORRED;
IF(YM<=YM2,YM,DRAWNULL),LINETHICK1,COLORGREEN;
IF(YM<=YM2,YM1,DRAWNULL),LINETHICK1,COLORGREEN;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)>=YM,LOW,HIGH,0,0),COLORRED;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)>=YM,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)<=YM,LOW,HIGH,0,0),COLORGREEN;
STICKLINE(EMA((CLOSE+HIGH+LOW)/3,3)<=YM,CLOSE,OPEN,3,1),COLORGREEN;
大單動向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
漲跌動因:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);
超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)/(超S+大S+中S);
資金定位:=大單動向>0.02 AND 漲跌動因>5 AND 大單比>1;
MACD價格1:=EMA(CLOSE,3) - EMA(CLOSE,9);
DEA1021:=EMA((EMA(MACD價格1,102) - EMA(MACD價格1,204)),9);
DEA511:=EMA((EMA(MACD價格1,51) - EMA(MACD價格1,102)),9);
DEA36361:=EMA((EMA(MACD價格1,36) - EMA(MACD價格1,72)),9);
DEA24241:=EMA((EMA(MACD價格1,24) - EMA(MACD價格1,48)),9);
DEA18181:=EMA((EMA(MACD價格1,18) - EMA(MACD價格1,36)),9);
DEA661:=EMA((EMA(MACD價格1,6) - EMA(MACD價格1,12)),9);
DEA331:=EMA((EMA(MACD價格1,3) - EMA(MACD價格1,9)),9);
DEA12121:=EMA((EMA(MACD價格1,12) - EMA(MACD價格1,24)),9);
MACD24241:=2*((EMA(MACD價格1,24) - EMA(MACD價格1,48))-DEA24241);
HH1:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
LL1:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
D90H1:=EMA(HH1,90),COLORRED,LINETHICK1;
D90L1:=EMA(LL1,90),COLORRED,LINETHICK1;
D901:=(D90H1+D90L1)/2;
Y1M:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48);
CCI151:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,15))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,15));
CCI101:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,10))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,10));
CCI51:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,5));
CCI31:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,3))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,3));
CCI買點定位1:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);
CCI買點定位2:=CROSS(CCI31,0) AND CCI51>REF(CCI51,1) AND REF(CCI51,1)<-100 AND REF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);
CCI買點定位3:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI101,1)>0 AND REF(CCI101,1)>REF(CCI151,1);
CCI買點定位:=CCI買點定位1=1 OR CCI買點定位2=1 OR CCI買點定位3=1;
起爆金股1:=CCI買點定位=1 AND DEA12121>DEA18181 AND DEA18181>DEA24241 AND DEA24241>DEA36361 AND DEA36361>DEA511 AND DEA511>=DEA1021 AND DEA18181>REF(DEA18181,1) AND DEA24241>REF(DEA24241,1) AND DEA36361>REF(DEA36361,1) AND DEA511>REF(DEA511,1) AND DEA1021>REF(DEA1021,1) AND DEA36361>0 AND DEA331>0;
起爆金股2:=CCI買點定位=1 AND DEA12121>DEA18181 AND DEA18181>DEA24241 AND DEA24241>DEA36361 AND DEA18181>DEA1021 AND DEA18181>REF(DEA18181,1) AND DEA24241>REF(DEA24241,1) AND DEA36361>REF(DEA36361,1) AND DEA511>REF(DEA511,1) AND DEA1021>REF(DEA1021,1) AND DEA18181>0 AND DEA331>0;
起爆金股:=起爆金股1=1 OR 起爆金股2=1;
VOL比:=VOL/REF(VOL,1);
高度1:=(D90H1-D90L1)*4+D90H1;
PBX11:=(EXPMA((CLOSE+HIGH+LOW)/3,4)+EMA((CLOSE+HIGH+LOW)/3,4*2)+EMA((CLOSE+HIGH+LOW)/3,4*4))/3;
PBX22:=(EXPMA((CLOSE+HIGH+LOW)/3,5)+EMA((CLOSE+HIGH+LOW)/3,5*2)+EMA((CLOSE+HIGH+LOW)/3,5*4))/3;
PBXHH:=(EXPMA(H,2)+EMA(H,2*2)+EMA(H,2*4))/3,COLORGREEN,LINETHICK1;
PBXLL:=(EXPMA(L,2)+EMA(L,2*2)+EMA(L,2*4))/3,COLORRED,LINETHICK1;
PBX高:=REF(PBXHH,1),COLORGREEN,LINETHICK1;
PBX低:=REF(PBXLL,1),COLORRED,LINETHICK1;
PMX差:=PBX高-PBX低;
起爆止盈價:=PBX高+PMX差*2,COLORWHITE,LINETHICK1;
起爆獲利率:=(起爆止盈價-PBX高)/PBX高*100;
起爆止損價:=PBX低-PMX差*0.7,COLORWHITE,LINETHICK1;
起爆止損率:=(起爆止損價-PBX高)/PBX高*100;
海底蛟龍:=(CLOSE+HIGH+LOW)/3<D901 AND (CLOSE+HIGH+LOW)/3>Y1M AND 起爆金股=1 AND C<高度1 AND PBX11>PBX22 AND L<PBX高 AND O<PBX高 AND 資金定位=1 AND VOL比>1.2;
云上天龍:=(CLOSE+HIGH+LOW)/3>D901 AND (CLOSE+HIGH+LOW)/3>Y1M AND 起爆金股=1 AND C<高度1 AND PBX11>PBX22 AND L<PBX高 AND O<PBX高 AND 資金定位=1 AND VOL比>1.2;
起爆點:=海底蛟龍=1 OR 云上天龍=1;
STICKLINE(起爆點=1 AND C<PBX高,LOW,HIGH,0,0),COLORYELLOW;
STICKLINE(起爆點=1 AND C<PBX高,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(起爆點=1 AND C>PBX高,LOW,PBX高,0,0),COLORYELLOW;
STICKLINE(起爆點=1 AND C>PBX高,PBX高,OPEN,3,0),COLORYELLOW;
DRAWICON(起爆點=1,L,5);
DRAWTEXT_FIX(1,0,0,0,'【大盤人氣】:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.07,0,0,CONST(今日人氣)),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.05,0,'【上漲家數】:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.07,0.05,0,CONST(上漲家數)),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.1,0,'【下跌家數】:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.07,0.1,0,CONST(下跌家數)),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.15,0,'【所屬行業(yè)】:'),COLORLIGRAY;
DRAWTEXT_FIX(1,0.07,0.15,0,HYBLOCK),COLORLIGRAY;
DRAWTEXT_FIX(1,0.175,0,0,'【DDX】:'),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.22,0,0,CONST(大單動向)),COLORMAGENTA;
DRAWTEXT_FIX(1,0.175,0.05,0,'【DDY】:'),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.22,0.05,0,CONST(漲跌動因)),COLORMAGENTA;
DRAWTEXT_FIX(1,0.175,0.1,0,'【大單比】:'),COLORMAGENTA;
DRAWNUMBER_FIX(1,0.23,0.1,0,CONST(大單比)),COLORMAGENTA;
DRAWTEXT_FIX(1,0.38,0,0,'【冠軍1號起爆點選股操作】'),COLORCYAN;
DRAWTEXT_FIX(1,0.38,0.05,0,'【止盈價】:'),COLORCYAN;
DRAWNUMBER_FIX(1,0.44,0.05,0,CONST(起爆止盈價)),COLORCYAN;
DRAWTEXT_FIX(1,0.38,0.1,0,'【止盈率】:'),COLORCYAN;
DRAWNUMBER_FIX(1,0.44,0.1,0,CONST(起爆獲利率)),COLORCYAN;
DRAWTEXT_FIX(1,0.38,0.15,0,'【止損價】:'),COLORCYAN;
DRAWNUMBER_FIX(1,0.44,0.15,0,CONST(起爆止損價)),COLORCYAN;
DRAWTEXT_FIX(1,0.38,0.2,0,'【止損率】:'),COLORCYAN;
DRAWNUMBER_FIX(1,0.44,0.2,0,CONST(起爆止損率)),COLORCYAN;
《冠軍1號起爆點選股指標》副圖指標公式源碼:


指標排序選股)YM:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORRED,LINETHICK1;
YM1:=EMA(YM,5),COLORRED,LINETHICK1;
YM2:=EMA(YM1,5),COLORRED,LINETHICK1;
大單動向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
漲跌動因:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);
超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)/(超S+大S+中S);
資金定位:=大單動向>0 AND 漲跌動因>0 AND 大單比>1;
MACD價格1:=EMA(CLOSE,3) - EMA(CLOSE,9);
DEA1021:=EMA((EMA(MACD價格1,102) - EMA(MACD價格1,204)),9);
DEA511:=EMA((EMA(MACD價格1,51) - EMA(MACD價格1,102)),9);
DEA36361:=EMA((EMA(MACD價格1,36) - EMA(MACD價格1,72)),9);
DEA24241:=EMA((EMA(MACD價格1,24) - EMA(MACD價格1,48)),9);
DEA18181:=EMA((EMA(MACD價格1,18) - EMA(MACD價格1,36)),9);
DEA661:=EMA((EMA(MACD價格1,6) - EMA(MACD價格1,12)),9);
DEA331:=EMA((EMA(MACD價格1,3) - EMA(MACD價格1,9)),9);
DEA12121:=EMA((EMA(MACD價格1,12) - EMA(MACD價格1,24)),9);
MACD24241:=2*((EMA(MACD價格1,24) - EMA(MACD價格1,48))-DEA24241);
HH1:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)
+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)
+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+
REF(H,20))/210,COLORBLUE,LINETHICK1;
LL1:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)
+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)
+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+
REF(L,20))/210,COLORBLUE,LINETHICK1;
D90H1:=EMA(HH1,90),COLORRED,LINETHICK1;
D90L1:=EMA(LL1,90),COLORRED,LINETHICK1;
D901:=(D90H1+D90L1)/2;
Y1M:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48);
CCI151:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,15))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,15));
CCI101:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,10))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,10));
CCI51:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,5));
CCI31:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,3))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,3));
CCI買點定位1:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);
CCI買點定位2:=CROSS(CCI31,0) AND CCI51>REF(CCI51,1) AND REF(CCI51,1)<-100 AND REF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);
CCI買點定位3:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI101,1)>0 AND REF(CCI101,1)>REF(CCI151,1);
CCI買點定位:=CCI買點定位1=1 OR CCI買點定位2=1 OR CCI買點定位3=1;
起爆金股1:=CCI買點定位=1 AND DEA12121>DEA18181 AND DEA18181>DEA24241 AND DEA24241>DEA36361 AND DEA36361>DEA511 AND DEA511>=DEA1021 AND DEA18181>REF(DEA18181,1) AND DEA24241>REF(DEA24241,1) AND DEA36361>REF(DEA36361,1) AND DEA511>REF(DEA511,1) AND DEA1021>REF(DEA1021,1) AND DEA36361>0 AND DEA331>0;
起爆金股2:=CCI買點定位=1 AND DEA12121>DEA18181 AND DEA18181>DEA24241 AND DEA24241>DEA36361 AND DEA18181>DEA1021 AND DEA18181>REF(DEA18181,1) AND DEA24241>REF(DEA24241,1) AND DEA36361>REF(DEA36361,1) AND DEA511>REF(DEA511,1) AND DEA1021>REF(DEA1021,1) AND DEA18181>0 AND DEA331>0;
起爆金股:=起爆金股1=1 OR 起爆金股2=1;
高度1:=(D90H1-D90L1)*4+D90H1;
PBX11:=(EXPMA((CLOSE+HIGH+LOW)/3,4)+EMA((CLOSE+HIGH+LOW)/3,4*2)+EMA((CLOSE+HIGH+LOW)/3,4*4))/3;
PBX22:=(EXPMA((CLOSE+HIGH+LOW)/3,5)+EMA((CLOSE+HIGH+LOW)/3,5*2)+EMA((CLOSE+HIGH+LOW)/3,5*4))/3;
PBXHH:=(EXPMA(H,2)+EMA(H,2*2)+EMA(H,2*4))/3,COLORGREEN,LINETHICK1;
PBXLL:=(EXPMA(L,2)+EMA(L,2*2)+EMA(L,2*4))/3,COLORRED,LINETHICK1;
PBX高:=REF(PBXHH,1),COLORGREEN,LINETHICK1;
PBX低:=REF(PBXLL,1),COLORRED,LINETHICK1;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
虛擬量:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL);
虛擬量比:=虛擬量/REF(VOL,1),COLORWHITE,LINETHICK0;
海底蛟龍:=(CLOSE+HIGH+LOW)/3<D901 AND (CLOSE+HIGH+LOW)/3>Y1M AND 起爆金股=1 AND PBX11>PBX22 AND 資金定位=1 AND 虛擬量比>1.1;
云上天龍:=(CLOSE+HIGH+LOW)/3>D901 AND (CLOSE+HIGH+LOW)/3>Y1M AND 起爆金股=1 AND PBX11>PBX22 AND 資金定位=1 AND 虛擬量比>1.1;
起爆點:海底蛟龍=1 OR 云上天龍=1;DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;


 

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 511411198  有需要幫忙請點擊這里留言!!!進行 有償 編寫!不貴!點擊查看價格!

 


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

相關文章

    沒有相關內容
  主站蜘蛛池模板: 又黄又爽的美女免费视频 | 黄色片一级免费 | 国产精品欧美亚洲韩国日本99 | 日本黄色影片在线观看 | 色综合小说天天综合网 | 亚洲无线一二三四手机 | 美女视频ww8888网网 | 白丝挠脚心tk调教vk | 美日韩一级 | 日韩欧美亚州 | 精品国产免费第一区二区 | 香蕉视频亚洲 | 国产一级高清视频免费看 | 青草视频免费观看 | 麻豆一区二区三区在线观看 | 麻豆日韩国产精品欧美在线 | 免费观看视频成人国产 | 亚洲国产高清在线精品一区 | 色综合激情| 天堂网日本 | 欧美一区二区三区高清视频 | 色爱区综合五月激情 | 久久精品免费全国观看国产 | 操操操免费视频 | 在线观看男女爱视频网站 | 美女视频黄频免费大全软件 | 波多野结衣成人 | 香蕉一级视频 | 国产精品久久久久久久y | 成年大片免费播放视频人 | 1024国产精品视频观看 | 天天摸天天爽天天碰天天弄 | 色在线免费 | 成人免费视频观看 | 久久久免费网站 | 亚洲国产日韩精品 | sss在线观看 | 91精品福利一区二区三区野战 | 高清一级毛片免免费看 | 超薄全透明无内肉色丝袜 | 97黄色网 |