收集最好的选股公式_第1页
收集最好的选股公式_第2页
收集最好的选股公式_第3页
收集最好的选股公式_第4页
收集最好的选股公式_第5页
已阅读5页,还剩15页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、本人炒股多年来收集最好的选股公式我们小散户做的是政策面大指标里的个股,不是整个政策面里的所有股。看业绩,看基本 面,看政策都不如看个股快要拉升的时机。好指标里显示个股拉升前的习惯和成交量的数 据,好指标的确像温度计一样记录了39度是发烧,0度以下要结冰的事实。熊市里有涨的可以赚钱的个股,牛市里有跌的能套人的个股。能有一个更好的指标让大家在牛市里多赚 一点钱,在熊市里少赚一点钱,就值得了。一.选股指标.次日涨停W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W20,REF(C,W2),REF(C,W2);W4:=CROSS(C,REF(W3,1);W4 AND C

2、OUNT(W4,5)=1;黄转紫选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;紫柱:MACDREF(MACD,1) AND REF(MACD,1)REF(MACD,2);低位金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF=O);二次金叉:CROSS(DIFF,DEA) AND DEA0 AND COUNT(JCCOUNT=2,21)

3、=1;绝地反弹(1)VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,O),13,1)*1OO; VAR3:=EMA(IF(CLOSE*1.2,VAR2*13,VAR2/13),13);VAR4:=LLV(LOW,34);VAR5:=HHV(VAR3,34);VAR6:=IF(LLV(LOW,55),1,0);VAR7:=EMA(IF(LOW=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL

4、1,1)XL2 AND REF(XL1,1)XL1 AND REF(XL1,1)25;(2)BACKSET( (REF(CL0SE,1)OPEN AND ABS(CLOSE-REF(CLOSE,1)/CLOSEO.OO2),2);A2:=FILTER(A1=V3,10);ND CAPITAL=REF(V,1)HHV(V,3)=REF(V,1) AND HHV(V,5)=REF(V,1) AND HHV(V,21)=REF(V,1)AND V =REF(V,1)010 AND T020;1三线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLO

5、SE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20);K2:=MIN(MIN(M5,M10),MIN(M10,M20);A:=MAX(M5,MAX(M10,M20)/MIN(M5,MIN(M10,M20)1+0.03*M;A1:=(K1/K2-1)0.005;A2:=(K1/K2-1)REF(V,1)*1.5 AND VMA(V,5);XG:A AND A1 AND A2 AND A3 AND CO AND V REF(V,1) AND CAPITALREF(V,1)*1.5 AND VMA(V,5);MAX(MA1,MAX(MA2,MA3)/MIN(MA1,MIN(

6、MA2,MA3)0 AND V REF(V,1) AND FINANCE(7)=300000000AND A3 AND CAPITAL=300000000;3均线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M2O:=MA(CLOSE,2O);K1:=MAX(MAX(M5,M10),MAX(M10,M20);K2:=MIN(MIN(M5,M10),MIN(M10,M20);A:=MAX(M5,MAX(M10,M20)/MIN(M5,MIN(M10,M20)1+0.01*M;A1:=(K1/K2-1)0.005;A2:=(K1/K2-1)REF(V,1)*1.

7、5 AND VMA(V,5);XG:A AND A1 AND A2 AND A3 ;3. 金叉选股指标快线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);慢线:=EMA(REF(快线,1),2);A3:=VREF(V,1)*1.5 AND VMA(V,5);XG:CROSS(快线慢线)AND CO ANDV=MA(V,21) AND V REF(V,1) AND CAPITAL45 AND 角度 MA540 AND 角度 MA1010AND 角度 MA2020 AND MA(C,135)REF(MA(C,135),1),1,O),COLOROOFFOO1. 聚宝盆DIF

8、F:=EMA(CLOSE,SHORT)-EMA(CLOSE, LONG);DEA:=EMA(DIFF,M);MACD2:=2*(DIFF-DEA);HHV(MACD2,4)REF(MACD2,1) AND REF(MACD2,1)REF(MACD2,2)AND REF(MACD2,2)REF(MA(C,3),1) AND MA(C,5)REF(MA(C,5),1) AND CMA(C,3)AND MA(C,3)MA(C,5) ; 均线 C,MA3,MA5 多头排列并向上;角度 MA3:=ATAN(MA3/REF(MA3,1)-1)*100)*180/3.1416;角度 MA5:=ATAN(MA

9、5/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(角度 MA345 AND 角度 MA545 AND 角度 MA1060 AND 角度 MA2045 AND MA(C,250)REF(MA(C,250),1),1,0),COLOROOFFOO;设计思路:1.3日均线角度大于 45度;2:5日均线角度大于45度;3:10日均线角度大于 60度;4.20日均线角度大

10、于 45度;5.MA250 向上;;3。紫色冲关(1) .CROSS( CLOSE,MA(C,30)AND CLOSEMA(C,22) AND CLOSEMA(C,30)AND COUNT(MA(CLOSE,13)REF(MA(CLOSE,13),1),1)AND COUNT(MA(CLOSE,8)REF(MA(CLOSE,8),1),1)AND COUNT(MA(CLOSE,2O)REF(MA(CLOSE,2O),1),1)AND CLOSE/OPEN1.015AND DYNAINFO(37)0.2% COLORLIBLUE;(2) .QSXS:=MA(CLOSE,8)REF(MA(CLOS

11、E,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 CLOSEMA(C,13) AND CLOSE/OPEN1.015; HSL:=VOL/CAPITAL*1OO;选股:QSXS AND DXJC AND HSL2;(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)RE

12、F(MA(C,3),0.5) AND CMA(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(角度 MA350 AND 角度 M

13、A540 AND 角度 MA1030AND 角度 MA2020 AND MA(C,250)REF(MA(C,250),1), 1,0),COLOROOFFOO;设计思路: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,2

14、0) ; 均线 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(角度 MA342 AND 角度 MA525 AND 角度 MA1015 AND 角度 MA2010 AND MA(C,135)REF(MA

15、(C,135),1),1,0),COLOR00FF00;设计思路:1.3日均线角度大于 30度;2:5日均线角度大于40度;3:10日均线角度大于 45度;4.20日均线角度大于 40度;5.MA135 向上;;.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 CLOSEMA(C,21) AND CLOSE/OPEN1.015;HSL:=

16、V0L/CAPITAL*100;选股:V5 AND QSXS AND DXJC AND HSL2;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=975;M2:=1000*EMA20/EMA60=980;M3:=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:=100

17、0*EMA10/EMA30=990;T2:=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=1.099*REF(CLOSE,1) ANDINDEXC0.98*REF(INDEXC,1) AND CLOSE0,REF(C,W2),REF(C,W2);W

18、4:=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=1.099*REF(CLOSE,1) ANDINDEXC0.98*REF(INDEXC,1) AND CLOSE0)+239);箱顶:=价格中枢*1.2;箱底:=价格中枢*0.8;毛禾叶润率:=FINANCE(21)/FINANCE(20);成长价值:=年认同价*(1+毛利润率);收益价值:=年认同价+FINANCE(33)

19、;回调认同:=EMA(EXPMA(C,20),13);多头:=(回调认同REF(回调认同,1)AND(成长价值REF(成长价值,1)AND(收益价值REF(收益价值,1)AND(DYNAINFO(7)0);回调条件:=COUNT(C=3;回调突破:=(REF(C,1)回调认同)AND(回调条件)AND多头; 成长条件:=COUNT(C=3;成长突破:=(REF(C,1)成长价值)AND(成长条件)AND多头;收益条件:=COUNT(C=3;收益突破:=(REF(C,1)收益价值)AND(收益条件)AND多头;箱底条件:=COUNT(C=3;箱底突破:=(REF(C,1)箱底)AND(箱底条件)

20、AND多头;价格条件:=COUNT(C=3;价格突破:=(REF(C,1)价格中枢)AND(价格条件)AND多头;箱顶条件:=COUNT(C=3;箱顶突破:=(REF(C,1)箱顶)AND(箱顶条件)AND多头;突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);6. 横盘是银VAR1:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=EMA(CLOSE,12)-EMA(CLOSE,26);VAR5:=EMA(VAR4,9);VAR6:=

21、2*(VAR4-VAR5);COUNT(CROSS(VAR2,VAR3),2)=1 AND COUNT(CROSS(VAR6,0),5)=1 ANDMA(CLOSE,5)MA(CLOSE,10) AND MA(CLOSE,10)MA(CLOSE,20) AND CLOSEMA(CLOSE,5);短线是银”的使用说明:此组合选择比较简单,初学者易于掌握,短线有一定可操作性与准确性。但只适合于 内的短线炒作,不能确定长期趋势。选股设置:2日内KD金叉,5日内MACD金叉,均线5日,10日,20日多头排列,收盘价涨过 均线。;7黑马起步选股1VAR5:=EMA(SMA(CLOSE-LLV(LOW,1

22、OO)/(HHV(HIGH,1OO)-LLV(LOW,1OO)*1OO,8,1),3); 选股:CROSS(VAR5,15) OR CROSS(VAR5,20) OR CROSS(VAR5,25);8起攀选股起攀选股VAR6:=(2*C+H+L)/4;VAR7:=LLV(L,27);VAR8:=HHV(H,27);攀登:=EMA(VAR6-VAR7)/(VAR8-VAR7)*100,13)-50;金山:=EMA(0.618*REF(攀登,1)+0.382* 攀登,3);起攀:CROSS(攀登,金山)AND C/REF(C,1)1.02;根据起攀图指标改编,这是精简后的指标;9中短波选股中短波选

23、股HZ:=EMA(CLOSE,13);短波:=EMA(HZ,1);中波:=EMA(HZ,26);均线 148 天:=EMA(C,148);成本:=SUM(AMOUNT,O)/SUM(VOL,O)/1OO;HZ2:=EMA(HZ,8);CROSS(短波,HZ2);结合中短波主图使用;10黑马摇篮之大黑马摇篮之大黑马SS1:=(LOW+HIGH+CLOSE*2)/4;SS2:= MA(SS1,4);SS3:=HHV(SS2,10);SS4:=MA(SS3,3);SS5:=1.25*SS4-0.25*SS3;XKKJ:=IF(SS5SS3,SS3,SS5);FF1:=LLV(SS2,10);FF2:

24、=MA(FF1,3);FF3:=1.25*FF2-0.25*FF1;DKKJ:=IF(FF3FF1,FF1,FF3);MA13:=MA(C,13);ZDHM:=CROSS(C,DKKJ) AND CR0SS(C,MA13) AND CROSS(C,XKKJ);ZHM:=CR0SS(C,MA13) AND CROSS(C,XKKJ);大黑马:ZDHM OR ZHM;11. 黑马摇篮之小黑马摇篮之小黑马A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+

25、14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20)/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);小黑马:CROSS(D1,K1);12. 蓄势待发蓄势待发V0:=EMA(C,5);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(

26、C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60=975;M2:=1000*EMA20/EMA60=980;M3:=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=990;T2:=1000*EMA20/EMA30=990;T3:=T1 AND T2 AND CROSS(V0,EMA10);T4:=T1 AND T2 AND CROSS(V0,EMA30);M4

27、 OR M5 OR T3 OR T4;13四线粘合四线粘合V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4=975;M2:=1000*V2/V4=980;M3:=1000*V3/V4=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);M4 OR M5;14. 拉升在即拉升在即ABV:=MA(SUM(IF(CLOSEREF(CLOSE,1),VOL,IF(CLOSEREF

28、(CLOSE,1),-VOL,O),O)/25OOO,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=(100)*(EMA(EMA(MTM,6),6)/(EMA(EMA(ABS(MTM),6),6);MMM:=(100)*(EMA(EMA(MTM,12),12)/(EMA(EMA(ABS(MTM),12),12);MML:=(100)*(EMA(EMA(MTM,26),26)/(EMA(EMA(ABS(MTM),26),26);A:=(VOL)/(CAPITAL)*(1OO);S:=(MA(A,30)/(MA(IN

29、DEXA,10)*(MA(INDEXA,60);Y:=(MA(A,120)/(MA(INDEXA,10)*(MA(INDEXA,60);X:=1;拉升在即:SX AND YMML AND ABVM1 AND CROSS(S,Y);15. HMYZ黑马易找VAR1:=MA(CLOSE,5);VAR2:=MA(CLOSE,10);VAR3:=MA(CLOSE,30);VAR4:=MA(CLOSE,60);VAR5:=EMA(COST(85),7);VAR6:=EMA(COST(15),7);VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);VAR8:=INTPAR

30、T(VAR7*100)/100;VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VARA:=INTPART(VAR9*100)/100;VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VARC:=INTPART(VARB*100)/100;VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);VARE:=EMA(VARD,9);VARF:=(-1OO)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5)+1OO;VAR1O:=(-1OO)*(HHV(CLOSE,1O)

31、-CLOSE)/(HHV(CLOSE,1O)-LLV(LOW,1O)+1OO;VAR11:=(-1OO)*(HHV(CLOSE,2O)-CLOSE)/(HHV(CLOSE,2O)-LLV(LOW,2O)+1OO;VAR12:=(-1OO)*(HHV(CLOSE,3O)-CLOSE)/(HHV(CLOSE,3O)-LLV(LOW,3O)+1OO;VAR13:=REF(VARE,1);VAR14:=VARE;VAR15:=VAR14-VAR13;VAR16:=REF(VARD,1);VAR17:=VARD;VAR18:=VAR17-VAR16;VAR19:=OPEN;VAR1A:=CLOSE;黑马

32、易找选股:VAR19=VAR1 AND VAR19=VAR2 AND VAR19=VAR1 AND VAR1A=VARC AND VAR150 AND VAR180;16黑马起步选股2VAR5:=EMA(SMA(CLOSE-LLV(LOW,1OO)/(HHV(HIGH,1OO)-LLV(LOW,1OO)*1OO,8,1),3); 选股:CROSS(VAR5,30) OR CROSS(VAR5,35) OR CROSS(VAR5,40);17黑马起步选股1VAR5:=EMA(SMA(CLOSE-LLV(LOW,1OO)/(HHV(HIGH,1OO)-LLV(LOW,1OO)*1OO,8,1),3

33、); 选股:CROSS(VAR5,15) OR CROSS(VAR5,20) OR CROSS(VAR5,25);二。主图指标三。三线买卖快线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOROOOOFF;慢线:EMA(REF(快线,1),2),LINETHICK2,COLOR00FFFF;总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2,COLORFF00FF;HIGHN:=1O;LOWN:=1O;HIGHDISPLAY:=O;LOWDISPLAY:=O;ZGDISPLAY:=

34、O;MADISPLA Y:=0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H); 顶部DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBU

35、TS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNTGDCS2,0,1);高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREE N,L INETHICK2;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2- 1),1),COLOROO55FF,POINTDOT;DRAWLINE(CURRBAR

36、SCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT;AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1 ,L OWN+1);CC1:=FILTER(QY1 ,L OWN) AND L=LLV(L,LOWN+1);DRAWICON(CC1,L*O.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,O);YDB:=IF(DD1,REF(L,DD1), L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS)

37、;DDCS1:=CONST(DDTS1);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1 ,L,1)COLORRED ,L INETHICK2;ZGSTAR:=(高点压力+低点支撑)/2;ZGEND:=CONST(高点压力+低点支撑)/2);STARDAY:=IF(DDCS2REF(R11,1);DRAWLINE(D1,H,S11,H,1),COLORBLUE;A2:=REF(L,8)=LLV(L,2*8

38、+1);B2:=FILTER(A2,8);C2:=BACKSET(B2,8+1);D2:=FILTER(C2,8);低点T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1); U11:=T11REF(T11,1);DRAWLINE(D2, L,U11 ,L ,1),COLORBLUE;M:=INTPART(3*8/5);A12:=REF(H,M)=HHV(H,2*M+1);B12:=FILTER(A12,M);C12:=BACKSET(B12,M+1);D12:=FILTER(C12,M);高点R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+

39、1); S112:=R112REF(R112,1);DRAWLINE(D12,H,S112,H,1),COLORRED;A22:=REF(L,M)=LLV(L,2*M+1);B22:=FILTER(A22,M);C22:=BACKSET(B22,M+1);D22:=FILTER(C22,M);低点T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1); U112:=T112REF(T112,1);DRAWLINE(D22,L,U112,L,1),COLORRED;VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=

40、CROSS(VAR1111,0.9);VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);压力:=REF(HIGH,BARSLAST(VAR2222);STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222),REF(HIGH,BARSLAST(VAR2222),O.5,1),COLOREA91B5,LINETHICK3;支撑:=REF(LOW,BARSLAST(VAR4444);STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444),REF(LOW,

41、BARSLAST(VAR4444),0.5,1),COLOROOB4FF, LINETHICK3;下档线:=(CLOSE - LLV(LOW,13) / (HHV(HIGH,13) - LLV(LOW,13) * 100);RRRSV:=SMA(下档线,3,1);KKK:=SMA(RRRSV,3,1);DDD:=(3 * RRRSV) - (2 * KKK);JJ12:=(CLOSE - LLV(LOW,55) / (HHV(HIGH,55) - LLV(LOW,55) * 100);RSV24:=SMA(JJ12,3,1);K24:=SMA(RSV24,3,1);D24:=(3 * RSV2

42、4) - (2 * K24);压力2:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD),COLORFFFFFF;底部:=LLV(HIGH,3O),COLOROOFFOO;DRAWICON(L 支撑丄,0);DRAWICON(H= 压力 AND L 压力,H,0);DRAWICON(CROSS(快线,慢线),L*0.95,5);DRAWICON(CROSS(慢线,快线),H*1.05,6);三。副图指标1。黄金坑DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE, LONG);DEA:=EMA(DIFF,M);MACD

43、2:=2*(DIFF-DEA);(CLOSE0 AND CROSS(DIFF,O),H*1.3),COLOROOOO8O,NODRAW;(CLOSE0 AND CROSS(MACD2,O),H*1.3),COLOROOOO8O,NODRAW;(CLOSE0 AND CROSS(O,DIFF),H*1.3),COLOR8O8O8O,NODRAW;(CLOSE0 AND CROSS(O,MACD2),H*1.3),COLOR8O8O8O,NODRAW;DUO:=CROSS(DIFF,O);UDO:=CROSS(O,DIFF);TDU0:=BARSLAST(DU0);TUDO:=BARSLAST(U

44、DO);DU3:=REF(DU0,1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);UDGLINE:=IF(TDU3TUD3,REF(HHV(HIGH,2),TDU3),REF(LLV(LOW,2),TUD3);JDUO:=REF(CLOSE,1)UDGLINE AND TDU0=REF(UDGLINE,1) AND CLOSEUDGLINE AND TUD0TDU0; JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;JDU2:=JDU1

45、AND REF(BARSLAST(JUD1),1)REF(BARSLAST(JDU1),1);JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)REF(BARSLAST(JDU1),1);JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)REF(BARSLAST(JDU1),1); BSLINE:=IF(BARSLAST(JDU2)=O,O,MACD2,2,1),COLOROOOOFF;STICKLINE(MACD2=0 AND MACD2REF(MACD2,1),O,MACD2,2,O),COLOROOOOFF;STICKLINE(MACD2O,O

46、,MACD2,2,O),COLORFFFFOO;STICKLINE(MACD2REF(MACD2,1),O,MACD2,2,1),COLORFFFFOO; DIF:DIFF, LINETHICK2,COLOROOOOFF;MACD:DEA,COLORFFOOOO;DEF:MACD2,LINETHICKO,COLORFFFFOO; STICKLINE(CLOSEO,O,O,2,O),COLOR8O8O8O;DEFUT:=BARSLAST(CROSS(MACD2,0);DEFDT:=BARSLAST(CROSS(0,MACD2);DEFUL:=IF(MACD2=0,HHV(MACD2,DEFUT+1),REF(HHV(MACD2,DEFUT+1),DEFDT+1 );DEFDL:=IF(MACD20 AND MACD2REF(MACD2,2) AND REF(MACD2,2)REF(MACD2,3),MACD2,2);D

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论