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

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

波段買點公式、源碼操盤手通用[通達信公式]

相關標簽:

 

VR1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VR2:=SMA(VR1,3,1);
VR3:=SMA(VR2,3,1);
VR4:=SMA(VR3,3,1);
VR5:=CROSS(VR3,VR4) AND VR3<20;
VR8:=CROSS(VR2,VR3) AND VR3>80 AND VR3>VR4;
VR9:=CROSS(VR4,VR3) AND VR3>80;
頂:100,LINETHICK2,COLORGRAY;
弱:25,LINETHICK2;
底:10,LINETHICK2,COLORGRAY;
VAR02:=REF(LOW,1);
VAR03:=SMA(ABS(LOW-VAR02),3,1)/SMA(MAX(LOW-VAR02,0),3,1)*100;
VAR04:=EMA(IF(CLOSE*1.2,VAR03*10,VAR03/10),3);
VAR05:=LLV(LOW,38);
VAR06:=HHV(VAR04,38);
VAR07:=IF(LLV(LOW,90),1,0);
VAR08:=EMA(IF(LOW<=VAR05,(VAR04+VAR06*2)/2,0),3)/618*VAR07;
賣出線:= 99;
階段賣:= 90;
趨勢:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
賣出警戒: IF(趨勢>=90,85,100),COLORFF00FF,LINETHICK2;
STICKLINE(賣出警戒=85,95,100,1,0),COLORFF00FF;
買:=MA(CLOSE,2);
賣:=(LOW+HIGH+CLOSE)/3;
奇:= MA(賣,5);
準:= HHV(奇,10);
{MACD背離死叉}
DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
MACD1:=2*(DIF1-DEA1);
MACD2:=EMA(MACD1,3);
A2A:=BARSLAST(REF(CROSS(DEA1,DIF1),1));
M頂背離:=REF(CLOSE,A2A+1)<CLOSE AND REF(DIF1,A2A+1)>DIF1 AND CROSS(DEA1,DIF1);
STICKLINE(M頂背離,50,100,0,1),COLORBLUE;
DRAWTEXT(FILTER(M頂背離,30),60,'M頂背離'),COLORBLUE;
二次死叉:=COUNT(CROSS(DEA1,DIF1),20)=2 AND CROSS(DEA1,DIF1);
STICKLINE(二次死叉,100,0,0,1);
DRAWTEXT(二次死叉,55,'二次死叉');
AA2A:=BARSLAST(REF(CROSS(DIF1,DEA1),1));
M底背離:=REF(CLOSE,AA2A+1)>CLOSE AND REF(DIF1,AA2A+1)<DIF1 AND CROSS(DIF1,DEA1);
STICKLINE(M底背離,0,50,0,1),COLORDD00DD;
DRAWTEXT(FILTER(M底背離,20),50,'M底背離'),COLORDD00DD;A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
KDJ底背離:STICKLINE(FILTER(B2>0,5),0,80,3,0),COLORYELLOW;{5天內B2>0的條件不被記錄在內,在當前周期內出現B>0畫黃色柱線}
DRAWTEXT(FILTER(B2>0,5),80,'KDJ底背離'),COLORYELLOW;
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
RSI底背離:STICKLINE(FILTER(B3>0,5),0,25,3,0),COLORFFCC66;{5天內B3>0的條件不被記錄在內,在當前周期內出現B3>0畫青色柱線}
DRAWTEXT(FILTER(B3>0,5),25,'RSI底背離'),COLORFFCC66;
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
KDJ頂背離:STICKLINE(FILTER(D2>0,5),2,21,3,0),COLOR00FF00;{5天內D2>0的條件不被記錄在內,在當前周期內出現D2>0畫紅色柱線}
DRAWTEXT(FILTER(D2>0,5),22,'KDJ頂背離'),COLOR00FF00;
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
RSI頂背離:STICKLINE(FILTER(D3>0,5),2,75,3,0),COLOR6A00B5;
{5天內D3>0的條件不被記錄在內,在當前周期內出現D3>0畫粉色柱線}
DRAWTEXT(FILTER(D3>0,5),75,'RSI頂背離'),COLOR6A00B5;
短賣奇準:IF(HHV((買<準),10),100,50),LINETHICK3;
STICKLINE(NOT(HHV((買<準),10)),90,95,1,0);
急賣奇準:IF(HHV((買<準),5),100,50),LINETHICK2;
STICKLINE(NOT(HHV((買<準),5)),85,90,1,0),COLORFF6699;
LC := REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
價位線:=EMA((C-V1)/(V2-V1)*4,4);
買賣線:價位線*33;
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
DSY:=100*VOL/CAPITAL;
抄底:IF((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,10, 0),LINETHICK3,COLORRED;
DRAWTEXT(FILTER(抄底=10,30),13,'抄底'),COLORRED;
金牌買:IF(CROSS(價位線,0.3),45,0),LINETHICK3,COLORRED;
DRAWTEXT(FILTER(CROSS(價位線,0.3),30),50,'金牌買'),COLORRED;
DRAWTEXT(FILTER(VR5,10)=1,21,'底'),COLORRED;
STICKLINE(FILTER(VR5,10)=1,0,20,2,0),COLORRED;
STICKLINE(FILTER(VR9,5)=1,80,100,2,0),COLORGREEN;
金牌賣:IF(CROSS(3.5,價位線),45,0),LINETHICK3,COLORGREEN;
DRAWTEXT(FILTER(CROSS(3.5,價位線),30),50,'金牌賣'),COLORGREEN;
DRAWTEXT(FILTER(VR9,5)=1,79,'頂'),COLORGREEN;
STICKLINE(VR8,85,100,2,0),COLOR0099FF;
抄底3日內:COUNT(抄底>0,3)>=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  有需要幫忙請點擊這里留言?。?!不貴!點擊查看價格!

 


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

相關文章

    沒有相關內容
  主站蜘蛛池模板: 成人在线免费播放 | 日韩欧美一区二区三区久久 | 亚洲国产精品毛片∧v卡在线 | 亚洲激情专区 | 成人精品人成网站 | 一个人看的免费高清视频www | 天天看天天爽 | 青青在线视频 | 色综合色 | 亚洲综合在线成人一区 | 九九九九热精品免费视频 | 中国黄色一级大片 | 成人影院高清在线观看免费网站 | 精品免费在线 | 天天做天天爱夜夜想毛片 | 黄www片| 欧美日韩影视 | 亚洲色图天堂 | 一本大道香蕉视频在线观看 | 国产成人免费高清视频网址 | 色老妇 | 中文字幕在线观看第一页 | 亚洲a站| 天天爱天天插 | 男女啪啪网站 | 亚洲影院一区 | 天天操天 | 精品视频一区二区三区 | 午夜伦理影院 | 亚洲欧美日韩中文不卡 | 男女摸下面刺激免费视频软件 | 国产丝袜视频在线观看 | 日本国产在线 | 欧美午夜在线观看理论片 | a视频在线观看免费 | 亚洲综合网在线观看 | 49vv婷婷网 | 日韩欧美亚洲国产 | 水中色av综合 | 亚洲欧美日韩一区超高清 | 视频精品一区二区三区 |