通达信自用多年自用多年指标公式源码

2016-03-01 21:07:00来源:本站整理浏览:902

 AND CLOSE/OPEN>1.015
 AND DYNAINFO(37)>0.2% COLORLIBLUE;
 (2).
 QSXS:=MA(CLOSE,8)>REF(MA(CLOSE,8),1) AND MA(CLOSE,3)>REF(MA(CLOSE,3),1) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
 DXJC:=CROSS(CLOSE,MA(C,21)) AND CLOSE>MA(C,13) AND CLOSE/OPEN>1.015;
 HSL:=VOL/CAPITAL*100;
选股:QSXS AND DXJC AND HSL>2;
 (3).
 {SJXXG四均线选股}
MA3:=MA(C,1);
 MA5:=MA(C,3);
 MA10:=MA(C,5);
 MA20:=MA(C,10);
 V0:=MA(C,1)>REF(MA(C,1),0.5) AND MA(C,3)>REF(MA(C,3),0.5) AND C>MA(C,1)
 AND MA(C,1)>MA(C,1) ; {均线C,MA3,MA5,MA10,MA20多头排列并向上;}
角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;
选股MA20:IF(角度MA3>50 AND 角度MA5>40 AND 角度MA10>30
 AND 角度MA20>20 AND MA(C,250)>REF(MA(C,250),1),
 1,0),COLOR00FF00;
 {设计思路:
1.1日均线角度大于40度;
2:3日均线角度大于40度;
3:5日均线角度大于50度;
4.10日均线角度大于40度;
5.MA135向上;};
 (4).
 {SJXXG四均线选股}
MA3:=MA(C,5);
 MA5:=MA(C,10);
 MA10:=MA(C,15);
 MA20:=MA(C,20);
 V0:=MA(C,5)>REF(MA(C,10),1) AND MA(C,10)>REF(MA(C,15),1)
 AND MA(C,15)>MA(C,20) ; {均线C,MA3,MA5多头排列并向上;}
角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;
角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
角度MA10:=ATAN((MA10/REF(MA3,1)-1)*100)*180/3.1416;
角度MA20:=ATAN((MA20/REF(MA5,1)-1)*100)*180/3.1416;
选股MA20:IF(角度MA3>42 AND 角度MA5>25 AND 角度MA10>15 AND 角度MA20>10
 AND MA(C,135)>REF(MA(C,135),1),
 1,0),COLOR00FF00;
 {设计思路:
1.3日均线角度大于30度;
2:5日均线角度大于40度;
3:10日均线角度大于45度;
4.20日均线角度大于40度;
5.MA135向上;};
 (5).5日最底
V5:=LLV(V,5);
 QSXS:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,8)>REF(MA(CLOSE,8),1)
 AND MA(CLOSE,21)>REF(MA(CLOSE,21),1);
 DXJC:=CROSS(CLOSE,MA(C,21)) AND CLOSE>MA(C,21) AND CLOSE/OPEN>1.015;
 HSL:=VOL/CAPITAL*100;
选股:V5 AND QSXS AND DXJC AND HSL>2;
 1....{蓄势待发}
V0:=EMA(C,5);
 EMA10:=EMA(C,10);
 EMA20:=EMA(C,20);
 EMA30:=EMA(C,30);
 EMA60:=EMA(C,60);
 M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;
 M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;
 M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;
 M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);
 M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);
 T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;
 T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;
 T3:=T1 AND T2 AND CROSS(V0,EMA10);
 T4:=T1 AND T2 AND CROSS(V0,EMA30);
 M4 OR M5 OR T3 OR T4;
 2.短线之王
VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
 CROSS(VAR1,-87) AND OPEN<MA(CLOSE,5) AND CLOSE>=1.099*REF(CLOSE,1) AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV
 (CLOSE,58);
 3.枪挑小梁王
W1:=C=HHV(C,20);
 W2:=BARSLAST(W1);
 W3:=IF(W2>0,REF(C,W2),REF(C,W2));
 W4:=CROSS(C,REF(W3,1));
枪挑小梁王:W4 AND COUNT(W4,5)=1;
 4.短线之王
VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
 CROSS(VAR1,-87) AND OPEN<MA(CLOSE,5) AND CLOSE>=1.099*REF(CLOSE,1) AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV
 (CLOSE,58);
 5.财务突破选股
{财务突破选股公式-理想闲云孤鹤-通信达专用}
年认同价:=MA(C,240);
价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));
箱顶:=价格中枢*1.2;
箱底:=价格中枢*0.8;
毛利润率:=FINANCE(21)/FINANCE(20);
成长价值:=年认同价*(1+毛利润率);
收益价值:=年认同价+FINANCE(33);
回调认同:=EMA(EXPMA(C,20),13);
多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);
回调条件:=COUNT(C<回调认同,5)>=3;
回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND 多头;
成长条件:=COUNT(C<成长价值,5)>=3;
成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND 多头;
收益条件:=COUNT(C<收益价值,5)>=3;
收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND 多头;
箱底条件:=COUNT(C<箱底,5)>=3;
箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头;
价格条件:=COUNT(C<价格中枢,5)>=3;
价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND 多头;
箱顶条件:=COUNT(C<箱顶,5)>=3;
箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头;

上一页  [1] [2] [3] [4] [5] [6]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式