通达信公式大全.docx
- 文档编号:30642940
- 上传时间:2023-08-18
- 格式:DOCX
- 页数:15
- 大小:58.04KB
通达信公式大全.docx
《通达信公式大全.docx》由会员分享,可在线阅读,更多相关《通达信公式大全.docx(15页珍藏版)》请在冰豆网上搜索。
通达信公式大全
{MACD、KDJ、RSI底背离}
DIFF:
=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:
=EMA(DIFF,9);
A1:
=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:
=REF(C,A1+1)>CANDREF(DIFF,A1+1) A2: =BARSLAST(REF(CROSS(""(9,3,3),""(9,3,3)),1)); B2: =REF(C,A2+1)>CANDREF(""(9,3,3),A2+1)<""(9,3,3)ANDCROSS(""(9,3,3),""(9,3,3)); A3: =BARSLAST(REF(CROSS(""(6,12,24),""(6,12,24)),1)); B3: =REF(C,A3+1)>CANDREF(""(6,12,24),A3+1)<""(6,12,24)ANDCROSS(""(6,12,24),""(6,12,24)); 底背离: B1>0ORB2>0ORB3>0; {集成了MACD、KDJ、RSI三个指标的底背离}; 老鼠仓 AA1: =AMOUNT/VOL; BB1: =L CC1: =(C-REF(C,1))/REF(C,1)*100>; DD1: =L EE1: =VOL 老鼠仓: BB1ANDCC1ANDDD1ANDEE1; 抄底高手 {M153530 N123227 D185042} VAR1: =(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0; VAR2: =(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0; VAR3: =VAR1ANDVAR2; VAR4: =VAR1ANDVAR2ANDCOUNT(VAR3,2)=1ANDDATE>940101AND(CLOSE>OPENORCLOSE -REF(CLOSE,1))/REF(CLOSE,1)>AND(REF(OPEN,1)>REF(CLOSE,1)ORREF(OPEN,1) (REF(OPEN,2)>REF(CLOSE,2)ORREF(OPEN,2)REF(CLOSE,3)ORREF (OPEN,3)REF(CLOSE,4)ORREF(OPEN,4) (OPEN,5)>REF(CLOSE,5)ORREF(OPEN,5) VAR5: =DMA(EMA(CLOSE,8),SUM(VOL,9)/CAPITAL); VAR6: =(CLOSE-VAR5)/VAR5*100; VAR7: =REF(VAR6,1)+D<0ANDVAR6>REF(VAR6,1)ANDREF(VAR6,1)AND(HIGH>LOW)AND(REF(HIGH,1)>REF(LOW,1))AND(REF(HIGH,2)>REF(LOW,2))AND(REF(HIGH,3)>REF(LOW,3))AND(REF(HIGH,4)>REF(LOW,4))AND(REF(HIGH,5)>REF(LOW,5)); VAR4ORVAR7; 短线黑马 {K100140100} VAR1: =DMA(CLOSE,VOL/MA(VOL,4)/4); VAR2: =DMA(CLOSE,VOL/MA(VOL,33)/33); VAR3: =(CLOSE-VAR1)/VAR1*100<-11/K*100; VAR4: =(VAR1-VAR2)/VAR2*100 VAR5: =VAR3ANDVAR4AND(OPEN>CLOSEOROPEN (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>AND (REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1) (REF(OPEN,2)>REF(CLOSE,2)ORREF (OPEN,2)REF(CLOSE,3)ORREF(OPEN,3) (OPEN,4)>REF(CLOSE,4)ORREF(OPEN,4)REF(CLOSE,5)ORREF(OPEN,5) (CLOSE,7)ORREF(OPEN,7) VAR6: =DMA(CLOSE,VOL/MA(VOL,3)/3); VAR7: =DMA(CLOSE,VOL/MA(VOL,33)/33); VAR8: =(CLOSE-VAR6)/VAR6*100<-5; VAR9: =(VAR6-VAR7)/VAR7*100<-18; VARA: =(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100; VARB: =SMA(VARA,30,1); VARC: =SMA(VARB,50,1); VARD: =VAR8ANDVAR9AND(OPEN>CLOSEOROPEN (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>AND (REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1) VARE: =VARDANDCOUNT(VARD,2)=1; VAR5ORVARE; 逆势操作 VAR1: =DMA(CLOSE,VOL/MA(VOL,4)/4); VAR2: =DMA(CLOSE,VOL/MA(VOL,32)/32); VAR3: =(CLOSE-VAR1)/VAR1*100<-8; VAR4: =(VAR1-VAR2)/VAR2*100<-21; VAR5: =VAR3ANDVAR4AND(OPEN>CLOSEOROPEN (REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1)REF(CLOSE,2)ORREF (OPEN,2)REF(CLOSE,3)ORREF(OPEN,3) (OPEN,4)>REF(CLOSE,4)ORREF(OPEN,4)REF(CLOSE,5)ORREF(OPEN,5) (CLOSE,7)ORREF(OPEN,7) VAR6: =(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23; VAR7: =(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100; VAR8: =SMA(VAR7,50,1); VAR9: =SMA(VAR8,40,1); VARA: =VAR6ANDVAR9<23ANDCOUNT(VAR6,2)=1AND(OPEN>CLOSEOROPEN >; (VAR5ORVARA); 成交量变异率VR买入 WVR: =SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE VOL变异率VR买入: CROSS(LL,WVR); {N5100265} {LL080705}; MA5: =MA(C,5); MA10: =MA(C,10); MA20: =MA(C,20); MA30: =MA(C,30); MA120: =SMA(C,120,1); ZH520: =ABS(MA5-MA20)/MA20*100<=10; ZH530: =ABS(MA5-MA30)/MA30*100<=10; QSXS1: =MA5>REF(MA5,1); QSXS2: =MA20>REF(MA20,1); QSXS3: =MA30>REF(MA30,1); DTPL: =MA20>MA30ANDMA30>MA120; LYT: =DTPLANDQSXS2ANDQSXS3ANDCOUNT(QSXS1,4)<=1; GJHS: =C>MA5AND((QSXS1ANDNOT(REF(QSXS1,1)))ORC>REF(C,3)); LYKK: =GJHSAND(ZH520ORZH530)ANDLYT; 买: LYKKANDNOT(REF(LYKK,1)); 虚拟成交量>昨日VOL的2倍的股 VVOL: =IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL); 昨日VOL: =REF(VOL,1)*; ABS(VVOL)-昨日VOL>=0;{大于昨日的倍}; 成交量是昨日的倍 VVOL: =IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL); 昨日VOL: =REF(VOL,1)*; ABS(VVOL)-昨日VOL>=0;{大于昨日的倍}; PDI上穿三线 选股公式源码: TR0: =SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14); HD: =HIGH-REF(HIGH,1); LD: =REF(LOW,1)-LOW; DMP: =SUM(IF(HD>0ANDHD>LD,HD,0),14); DMM: =SUM(IF(LD>0ANDLD>HD,LD,0),14); PDI: =DMP*100/TR0,colorred; MDI: =DMM*100/TR0; ADX: =MA(ABS(MDI-PDI)/(MDI+PDI)*100,6); ADXR: =(ADX+REF(ADX,6))/2; CROSS(PDI,MDI)ANDCROSS(PDI,ADX)ANDCROSS(PDI,ADXR) 今日量比昨放大1倍后三日股价不跌回当日收盘价的选股公式 选股公式: {成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价} var1: =v>ref(v,1)*2; ref(var1,3)andcount(c>ref(c,3),3)=3; 倍量柱加三天量减价升喇叭形的真黄金柱公式 倍数: =; 倍量1: =REF(VOL,3)>倍数*REF(VOL,4)ANDREF(C,3)>=REF(O,3); 价升量缩: =LLV(C,3)>=REF(L,3)ANDHHV(VOL,3)<=REF(VOL,3); 连阳: =COUNT(C>=O,4)=4; 选股: 倍量1AND价升量缩AND连阳; 根据王子老师“凹口起柱”理论编写的凹口指标 王子老师的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱。 经观察,股票起柱时是主力行为的表现,是主力意图的表现! 是主力留下的痕迹! 是量柱开口说话的语言! 这个指标或许可以帮助朋友们看懂主力的行为意图,看出量柱的语言! 顶起来吧,朋友们! 谢谢啦! T7: =REF(VOL,6)/REF(VOL,7)>=2; T6: =REF(VOL,5)/REF(VOL,6)>=2; T5: =REF(VOL,5)/REF(VOL,4)>=; T4: =REF(VOL,4)/REF(VOL,3)>=; T3: =REF(VOL,2)/REF(VOL,3)>=; T1: =V/REF(VOL,1)>2; T0: =C>OANDC>REF(C,1); 选股: T7ANDT1ANDT0ORT6ANDT1ANDT0ORT5ANDT1ANDT0ORT4ANDT1ANDT0 ORT3ANDT1ANDT0; 下载KB) 2010-1-1221: 29 倍量过左峰选股源码--通达信 SR1: =REF(HIGH,10)=HHV(HIGH,2*10+1); SR2: =FILTER(SR1,10); SR3: =BACKSET(SR2,10+1); HD: =FILTER(SR3,10); 前高: =REF(H,BARSLAST(HD)); 倍量: =VOL/REF(VOL,1)>=2ANDCOUNT(CLOSE>OPEN,1)ORLOW>REF(HIGH,1)ANDCOUNT(OPEN>CLOSE,1)ANDVOL/REF(VOL,1)>=2; 突破前高: =CROSS(C,前高); XG: 突破前高AND倍量; {MACD、KDJ、RSI底背离} DIFF: =EMA(CLOSE,12)-EMA(CLOSE,26); DEA: =EMA(DIFF,9); A1: =BARSLAST(REF(CROSS(DIFF,DEA),1)); B1: =REF(C,A1+1)>CANDREF(DIFF,A1+1) A2: =BARSLAST(REF(CROSS(""(9,3,3),""(9,3,3)),1)); B2: =REF(C,A2+1)>CANDREF(""(9,3,3),A2+1)<""(9,3,3)ANDCROSS(""(9,3,3),""(9,3,3)); A3: =BARSLAST(REF(CROSS(""(6,12,24),""(6,12,24)),1)); B3: =REF(C,A3+1)>CANDREF(""(6,12,24),A3+1)<""(6,12,24)ANDCROSS(""(6,12,24),""(6,12,24)); 底背离: B1>0ORB2>0ORB3>0; {集成了MACD、KDJ、RSI三个指标的底背离}; 老鼠仓 AA1: =AMOUNT/V; BB1: =L CC1: =(C-REF(C,1))/REF(C,1)*100>; DD1: =L EE1: =V 老鼠仓: BB1ANDCC1ANDDD1ANDEE1; 主力进场 VAR1: =REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2: =SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3: =EMA(VAR2,10); VAR4: =LLV(LOW,33); VAR5: =EMA(IF(LOW<=VAR4,VAR3,0),3); XG: (VAR5>REF(VAR5,1)ANDVAR5>0)OR(VAR5 60日天量 T1: =V=HHV(V,100); T2: =V/REF(VOL,1)>=3; 选股: T1ANDT2; 135均量线选股 VOLUME: =VOL; MAVOL1: =MA(VOLUME,5); MAVOL2: =MA(VOLUME,35); MAVOL3: =MA(VOLUME,135); 选股: CROSS(MAVOL1,MAVOL2)ORCROSS(MAVOL1,MAVOL3)ORCROSS(MAVOL2,MAVOL3); 二次翻红 DIF: =EMA(CLOSE,12)-EMA(CLOSE,26); DEA: =EMA(DIF,9); MACD: =2*(DIF-DEA); FH1:
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 通达信 公式 大全