版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、共享知识分享快乐MAC指标DIFF : EMACLOSjSHORT)DEA : EMADIFF,M);MACD 2*(DIFF-DEA);Zero :0;-EMACLOSELONG);KDJ指标RSV=CLOSELLV: LOWN)/( a=SMARSV,M1,1);b=SMAa,M2, 1);e=3*a- 2*b;K:a;D:b;J:e;HHVHIGHN)- LLgOWN)* 100;精准买卖V1:=( U2+H+L)/ 4*10;V2:=EMAV1, 13)- EMAV1, 34);V3:=EMAV2, 5); V4:= 2*(V2-V3)* 5.5;主力撤:IF (V4<=0,V4
2、, 0), colorblue ;主力进:IF(V4>=0,V4, 0), C0L0RFF00FFV5:=( HHVINDEXH8)- INDEX% HHVINDEXH8)- LLV( INDEXL 8)* 8;V6:=EMA3*V5-2*SMAV5, 18, 1), 5);V7:=( INDEXGLLV( INDEXL 8)/( HHVINDEXH8)- LLV( INDEXL, 8)* 10;V8:=( INDEXC2+INDEXHHNDEXD/ 4;V9:=EMAV8, 13)- EMAV8, 34);VA:=EMAV9, 3);VB:=(V9-VA)/ 2;大盘资金进场:IF (
3、VB>=0,VB, 0), colorred ;大盘资金撤走:IF (VB<=0,VB, 0), colorgreen ;V11:=3*SMA C-LLV(L, 55)/( HH(H, 55)- LLV L, 55)* 100, 5, 1)- 2*SMASMA G- LLV( L, 55)/( HHVH,55)- LLV; L, 55)* 100,5, 1), 3, 1);趋势线:EMAV11,3);V12:=(趋势线-REF趋势线,1)/ REF趋势线,1)* 100;准备现金:STICKLINE(趋势线 <=13, 0, 20, 5,0), COLORCC9900AA:=
4、(趋势线 v=13) ANDFILTER(趋势线 v=13), 15);DRAWTEXAA, 30,'准备现金'),COLORCC9900买入股票:STICKLINE(趋势线 <=13 ANDV12>13, 0, 50, 5, 0), C0L0R0099FFBB:=(趋势线 <=13 ANDV12>13) ANDFILTER 趋势线 <=13 ANDV12>13), 10);DRAWTEXBB, 60,'买入股票'),C0L0R0099F;F卖临界:STICKLING 趋势线 >90 AND趋势线 >RER 趋势线
5、,1), 100, 95, 15, 1), COLORFFFF00见顶清仓:FILTER(趋势线>90 AND趋势线vREF趋势线,1) AND主力进vREF主力进,1), 8);DRAWTEXT见顶清仓,90,'逃顶'),coloryellow ;CC:=(趋势线 >=90 ANDV12) ANDFILTER(趋势线 >=90 ANDV12), 10);STICKLING 大盘资金进场AND趋势线 <13,0, 30, 10, 0), colorred ;STICKLING 大盘资金撤走AND趋势线 >90,0, 30, 10, 0), colo
6、rgreen ;STICKLINE 主力进 AND 趋势线 <13, 0, 40, 10, 0), COLORFFOOFF STICKLING 主力撤 AND 趋势线 >90, 0, 40, 10, 0), colorblue ;短线窥测VAR1:=(CLOS +HIGH+LOW/ 3;VAR2:=EMAVAR1,10);VAR3:=RERVAR2,1);绿探底震仓:IF (VAR2,10, DRAWNULLcolorgreen , LINETHICK9; 红买:IF (VAR2>VAR3,10, DRAWNULL colorred , LINETHICK9 蓝卖:IF (V
7、AR2<VAR3,10, DRAWNULLCOLORFFFFQLINETHICK9 RSV:=(CLOSELLV( LOW9)/( HHVHIGH9)- LLV: LOW9)* 100; 上穿买:SMARSV,3, 1), colorred ;下穿卖:SMA上穿买,3, 1), COLORFFFF00缠背驰var1:= MACp1)- MAC,P2);IF(var1>= 0),var1, 0), STICK, colorred ;IF (var1< 0),var1,0), STICK, colorgreen ;正:=IF(var1>= 0),var1, 0), colo
8、rred ;负:=IF (var1< 0),var1,0), colorgreen ;zheng:= 0;fu:= 0;var2:= 0;i:= 0;IF (var1> 0) THEN BEGINvar2:=var1;WHILE(var2> 0) DO BEGINzheng:=zheng+var2;i:=i+ 1;var2:= REFvar1,i);IF (i>P3) THENBREAKENDENDELSEBEGINvar2:=var1;WHILE(var2< 0) DOBEGINfu:=fu+var2;i:=i+ 1;var2:= REFvar1,i);IF (
9、i>P3) THENBREAKENDEND涨势面积和:zheng;涨势平均力度:zheng*p4/i, coloryellow ;跌势面积和:fu;跌势平均力度:fu*p4/i, colorwhite中轴:0;100);指点未来VAR1:=( CLOSE LLV(LOW/15)/( HHVHIGH 15) - LLV( LOW/15)*( VAR2:=REVERS(VAR1);VAR3:=SMAVAR1,5, 1);,ColorFFOOOO ;K:=SMAVAR3,3, 1); D:=SMAK, 3, 1);85, STICK, Linethick7 input :N( 1, 110,
10、15);DRAWTEXCROS(K,D) AND(D < DRAWTEXCROS(D,K) AND(D > STICKLINE(K >= D),K,D,6, 0),STICKLINE(K >= D),K,D,5, 0),STICKLINE(K >= D),K,D,4, 0),STICKLINE(K >= D),K,D,3, 0),STICKLINE(K >= D),K,D,2, 0),STICKLINE(K >= D),K,D,1,0),STICKLINE(K <= D),K,D,6, 0),STICKLINE(K <= D),K,D
11、,5, 0),STICKLINE(K <= D),K,D,4, 0),STICKLINE(K <= D),K,D,3, 0),STICKLINE(K <= D),K,D,2, 0),STICKLINE(K <= D),K,D,1,0),见好就收波段操作18), 15,'买'),Color00FF00 ;75), 85,'卖'),ColorFFFFFF;Color0000A8 ;Color0000C0 ;Color0000E0 ;Color0000F0 ;Color0000D0 ;Color8080FF ;Color008800 ;Colo
12、r009900 ;Color00AA00 ;Color00BB00 ;Color00CC00;Color00DD00;生命线:98, linethick1 , coloryellow 生命禁区:95, linethick1, colorred股价泥潭:20, linethick1, colorblue生死线:50, linethick2 , colorwhite C0:=( H+L+C)/ 3;a1:= HHVC0,n);a2:= LLV(C0,n);a3:=a1-a2;a4:= EMA(C0-a2)/a3,2)* 100;b1:= HHVC0, 4*n);b2:= LLV(C0, 4*n);
13、b3:=b1-b2;b4:= EMA(C0-b2)/b3,2)* 100;C1:=HHVC0, 16*n);C2:= LLV(C0, 16*n);C3:=C1-C2;C4:=EMA(C0-C2)/C3, 2)* 100; 短期:a4, colorgreen , linethick1 中期:b4, coloryellow , linethick2 长期:C4, colorred , linethick3 ;DRAWICQCROSS生命禁区,短期)ANDREF短期,1)>短期,短期*1.1 , 11);DRAWTEXCROSS生命禁区,短期)ANDREF 短期,1)>短期,短期 *1.
14、1 ,'卖'),colorcyanDRAWICQCROSS生命线,短期)ANDREF短期,1)> 短期,短期 *1.2 , 12);DRAWTEXCROSS生命线,短期)ANDREF 短期,1)> 短期,短期 *1.2,'卖'),colorcyan ;DRAWTEXCROSS短期,生命禁区),85,'警惕!' ), colorwhite ;DRAWTEXCROSS中期,生命禁区),95,'减磅'),ColorFF6800 ;DRAWTEXCROSS长期,生命禁区),100,'出局'),colormage
15、nta ;DRAWICQCROSS短期,生命禁区),85,4);DRAWICQCROSS中期,生命禁区),95,8);DRAWICOCROSS长期,生命禁区),100, 3);吸筹快慢N:=9;M1:= 3;M2:= 3;P:= 9;RSV:=(CLOSELLV( LOWN)/( HHVHIGHN)- LLV( LOWN)* 100;K:= SMARSV,M1,1), colorred , LINETHICK2;D:=SMAK,M2, 1), COLOR00FFQ0JJ:=P*( 3*D- 2*K), COLOR00FF00J:=( 3 * K) - (2 * D);MAIRU:= CROS(
16、K,D) ANDK<20;MAICHU:= CROS(D,K) ANDD>80;VAR2:=REFFLOW1);VAR3:=SMAABSLOWVAR2), 3, 1)/ SMAMAXLOVWAR2,0), 3, 1)* 100;VAR4:=EMAIF ( CLOSE1.3 ,VAR3*10,VAR3/10), 3);VAR5:=LLV( LOW30);VAR6:=HHVVAR4,30);VAR7:=IF (MACLOSE58), 1,0);VAR8:=EMAIF (LOW=VAR5,(VAR4+VAR62)/ 2, 0), 3)/ 618*VAR7;VAR9:=IF (VAR8&g
17、t;100, 100,VAR8);吸筹:STICKLINE(VAR9>-120, 0,VAR9, 6,1), COLORF00FF0快线:(CLOSELLV( LOWN)/( HHVHIGHN)- LLV: LOWN)* 100, COLORFF937;F慢线:SMA快线,M1, 1), colorred , LINETHICK2空:SMA慢线,M2, 1), COLOR00FFQ0牛股:IF ( BARSLAS(1CROS(S慢线,空)<P ANDBARSLAS(TCROSS空,慢线)<P ANDCROSS慢线,空)AND慢线<20, 90, 0), STICK, C
18、OLORFF937FSTICKLINE 牛股,0, 90, 6, 1), LINETHICK4, STICK COLORFF937FBB:=IF ( BARSLASTCROSS慢线,快线)>=3 ANDCROS(3快线,慢线)AND慢线 <30, 20, 0);买:STICKLINE(BB, 0, 20, 7, 1), coloryellow ;AA:=IF ( BARSLAS(1CROS(3快线,慢线)>=4 ANDCROSS慢线,快线)AND快线 >50, 20, 0);卖:STICKLINE(AA, 80, 100, 7, 1), COLOR00FFQ0DRAWT
19、EXCROSS快线,慢线),快线,始);DRAWTEXCROSS慢线,快线),慢线,'终');同花顺逃顶王VAR2:=LLV(LOW10);VAR3:=HHVHIGH 25);阶段卖出:3.2 , COLORC6C60O3.5 , COLOR0088F;F清仓卖出:3.5 , COLORFF75FF动力线:=EMA( CLOSEVAR2)/(VAR3-VAR2)* 4, 4);STICKLINE 动力线 >REF 动力线,1),动力线,REF 动力线,1), 3 , 1), colorred ;STICKLING 动力线 v=REF 动力线,1),动力线,REF:动力线,
20、1), 3 , 1), C0L0R00FF00加速度:=(动力线-REF动力线,1)* 5;底部:0.2 , COLOR70DB93关注:0.5 , coloryellow ;DRAWICQNFILTER(CROS(3动力线,关注),20),动力线 +0.02 , 1);DRAWICQNFILTER(CROS(S青仓卖出,动力线),20),动力线 +0.02 , 2);DRAWICQNFILTER(CROS(3动力线,底部),20),动力线 +0.02 , 1);DRAWICQNFILTER(CROS(S阶段卖出,动力线),20),动力线 +0.02 , 2);数值:动力线,COLORA8A8
21、A8速度:加速度,colorred ;买卖点雷达LC:=REFCLOSE1);RSI1:=SMAMAXCLOSELC, 0), 6, 1)/ SMAABSCLOSELC), 6, 1)* 100;AR:=SUMHIGHOPEN26)/ SUMOPENLOW26)* 100;卖点雷达:=CROSS85,RSI1)* 30, COLOR00FFQ0.INETHICK2;DRAWTEXCROS(S85,RSI1), 20,'顶'),C0L0R00FF00STICKLINE 卖点雷达,0, 20, 3, 0), COLOR00FFQ0VARB:=SMAMAXCLOSELC, 0), 7
22、, 1)/ SMAABSCLOSELC), 7, 1)* 100;VARC:=SMAMAXCLOSELC, 0), 13, 1)/ SMAABS CLOS圧C), 13, 1)* 100;VARD:=BARSCOUNCLOSE买点雷达:(VARB< 20 ANDVARC< 25 ANDVARD> 50 ANDAR<70)* 30, LINETHICK2 COLOR0078FF BT1:=CROS(RSI1, 25);DRAWTEXBT1,- 80,'底),C0L0R0000FFSTICKLINE(BT1,- 100,- 80, 3, 0), C0L0R0000F
23、;F主力:EMA ( CLOSEMACLOSE7)/ MA CLOSE7)* 480, 2)* 5, LINETHICK1, C0L0R0000FF 散户:EMA ( CLOSEMACLOSE11)/ MA(CLOSE11)* 480, 7)* 5, LINETHICK2, COLORC87800 BT2:=CROS(S主力,散户)AND主力 <-10;DRAWICOCROS(RSI1, 25),主力,26);DRAWICOCROSS主力,散户)AND主力 <-10,主力,23);BT:=FILTER( COUN(BT1 ORBT2, 3)>=2,3);STICKLINE(B
24、T, 0, 50, 4, 1), COLOR0000FFDRAWTEXBT, 50,'金底),COLOR0000FFSTICKLINE(BT2, 0, 20, 3, 0), COLORFF00FFDRAWTEXBT2, 20,'升'),COLORFF00FF底红顶绿LC:=REFCLOSE1);RSI5:=( SMAMA& CLOSE LC), 0), 5,1) / SMAABS( CLOSE LC),5, 1) *100);TR= SUMMAXMA& HIGH- LOW, ABS( HIGH- REF CLOSE1), ABS( LOW REF CLO
25、SED), 10); HD:=(HIGH- REF HIGH 1);LD:=( RERL0W1) - LOW;DMP:=SUMIF (HD > 0) AND(HD > LD),HD, 0), 10);DMM:SUMIF (LD > 0) AND(LD > HD),LD, 0), 10);PDI:=(DMP *100) / TR;MDI:=(DMM * 100) / TR;ADX:=MA( ABS(MDI - PDI) / (MDI + PDI) *100), 5);AV:=(RSI5 + ADX);DXR:=(ADX + REFADX,5) /2) + RSI5);HH
26、VHIGH 10) - LLV: LOW10);0, COLORFF00FFWR10:=(100 * ( HHVHIGH10) - CLOSE) / (NEWVC=(RSI5 - WR10);阶段底部:=(AV + NEWVO;LSTICKLINE(阶段底部 >=0), 0,阶段底部,0.3,1), LINETHICK2COLORCC6600STICKLINE(阶段底部 < 0), 0,阶段底部,0.8, 1), LINETHICK6 colorred ; 趋势线:LLV阶段底部,1), COLORFFFFF FSTICKLINE(趋势线 > 230 ), 250,趋势线,0
27、.8 , 1), LINETHICK6 colorgreen 买点:IF(阶段底部< 0), 1,0);卖点:IF(趋势线 >230), 1,0);230, COLORFFFFF; F突破信号N:=19;VAR1:=HHVHIGHN);VAR2:=LLV( LOWN);阻力线:EMA( CLOS-VAR2)/(VAR1-VAR2), 21)- 0.5, COLORF0F000JNETHICK2; 操作线:EMA( CLOSEVAR2)/(VAR1-VAR2), 5)- 0.5 , colorred , LINETHICK2 DRAWTEXCROSS操作线,阻力线)AND阻力线<
28、;0.1 ,阻力线,'突破'),coloryellow DRAWTEXCROSS阻力线,操作线)AND阻力线>0.25 ,阻力线,'破位'),colorgreen 红绿棒:(操作线-阻力线),COLORSTICK买卖机会VAR1:=EMAC, 2);VAR2:=EMASLOPEC 21)* 20+C, 42);VAR3:=CROSSAR1,VAR2); VAR4:=CROSSAR2,VAR1);VAR5MAC 20), colorgreen , LINETHICK1;CAR6MAC 10), COLORFA05FFJNETHICK2;DRAWTEXVAR3
29、,LOWV0.95 ,'买'),coloryellow , LINETHICK3; DRAWTEXVAR4,HIGF* 1.028 ,'卖'),colorgreen , LINETHICK3 STICKLINE(VAR仁VAR2LOWHIGH Q 0), colorred ;STICKLINE(VAR1>=VAR2CLOSEOPEN2,0), colorred ; STICKLINE(VAR1>=VAR2CLOSEOPEN2,0), colorred ; STICKLINE(VAR1>=VAR2CLOSEOPEN2,0), colorred ;
30、 STICKLINE(VAR1>=VAR2CLOSEOPEN2,0), colorred ; STICKLINE(VAR1<VAR2CLOSEOPEN2, 0), colorgreen ; STICKLINE(VAR1<VAR2CLOSEOPEN2, 0), colorgreen ;STICKLINE(VAR1<VAR2CLOSEOPEN2, 0), colorgreen ;STICKLINE(VAR1<VAR2CLOSEOPEN2, 0), colorgreen ;STICKLINE(VAR1<VAR2LOW/HIGH 0, 0), colorgreen
31、;买卖奇准3来势线:EMACLOSE7)-EMACLOSE21), coloryellow ;福星:EMA来势线,7), COLORSTICItolorred ;VAR1:=CLOSEREFLLV(LOW35), 5)< 1;决策:IF (VAR1,0.5,0), STICK, coloryellow ;必买:IF (TROUGHBARS 15, 1)=0 ANDHIGH>LOV+0.01 ,1,-1), colorred , LINETHICK1 ; 必卖:IF ( PEAKBARS, 15, 1)=1, 1,2), colorgreen , LINETHICK1;趋势线:(EM
32、A WINNERCLOSE 7)- EMAWINNERCLOSE 35)* 5, colorwhite ;逃顶线:EMACLOSEREFHHVCLOSE7), 50), 1), colorcyan , LINETHICK1 ;买卖奇准A6买卖奇准先锋:CLOSEcolorred ;VAR1:=SUMMAXMAXHIGH LOWABS HIGH REF CLOSE1), ABS(LOWREFCLOSE1), 25);绝对值 昨天收盘价日均线VAR2:=HIGH- REF HIGH 1);VAR3:=REF LOVV1)- LOWVAR4:=SUMIF (VAR2>0 ANDVAR2>
33、VAR3,VAR2Q), 25);VAR5:=SUMIF (VAR3>0 ANDVAR3>VAR2,VAR3Q), 25);VAR6:=VAR4100/VAR1;VAR7:=VAR5100/VAR1;VAR8:=MA ABS(VAR7-VAR6)/(VAR7+VAR6)*100, 15);VAR9:=(VAR8+REFVAR8,15)/ 2;A:=(VAR7>VAR6 ANDVAR7>25 ANDVAR6<25);B:=ZIG(3, 51/5)* 100, colorwhite ;G:=MAB, 2), coloryellow ;D:=CROSS(B,G)*100
34、0, colorred ;W:=CROSS(G,B)*1000,colorblue ;E:=REF INDEXC1);F:= SMAMAXINDEXGE, 0), 3, 1)/ SMAABQ INDEXGE), 3, 1);VAR10:=F ANDF<8;VAR11:=(CLOSELLV(LOW9)/( HHVHIGH 9)-LLV(LOW9)* 100;VAR12:=SMAVAR11,3, 1);VAR13:=SMAVAR12,3, 1);VAR14:=VAR13ANDVAR13<20;MM:=A ANDD ANDVAR10 ANDVAR14 ;ABF11:=PEAK3, 4,
35、1)* 0.9;Ba1:=ZIG(3, 4)* 100;Ga1:=MABa1, 2);Da1:=CROS(Ba1,Ga1)* 1000, colorred ;Wa1:=CROS(Ga1,Ba1)* 1000, colorblue ;/*DRAWTEXT(Wa仁1000,B*0.97,'卖 ' ),coloryellow;*/*DRAWTEXT(Da1=1000 AND REF(CLOSE,1)<REF(ABF11,1) ,B*0.97,' 买 '),colormagenta;*/A30:=MAC, 30);angleA30:= ATAN(A30/ RERA
36、30, 1)- 1)* 100)*57.3 ;angle30:=angleA30> 40 ORangleA30<- 48;A10:=MAC 10);angleA10:= ATAN(A10/ REFFA10, 1)- 1)* 100)* 57.3 ;angle10:=angleA10> 20 ORangleA10<- 25 ANDCLOS>MA( CLOSE20);A3010:=angle30 OR angle10;aazt:= C0UN(TCL0S>REFFCL0SE1)* 1.097 , 20)>0;DRAWGBW=1000 ), colorcyan
37、 ;DRAWGBD= 1000 ), color0099FF ;DRAWTEXW=1000 ,买卖奇准先锋,'-DRAWTEXD=1000 ,买卖奇准先锋,'-卖'),colorcyan ; 买'),coloryellow ;DRAWGBW=1000 ANDaazt), colorgreen ;DRAWGBD= 1000 ANDaazt), colorred ;DRAWTEXW=1000 ANDaazt , 买卖奇准先锋,'-卖全仓'),colorgreenDRAWTEXD=1000 ANDaazt , 买卖奇准先锋,'-买全仓'
38、),colorred ;KU1:=IF (HIGH=HHVHIGH 3), 1, 0);KD1:=IF (LOWLLV(LOW3), 1,0);UL:=IF( REFKU1, 2)=1 ANDRERKU1, 1)=0ANDKU1=0, REF HIGH 2), REF HIGH 2+BARSLAS(lREFKU1,2)= 1ANDREFKU1, 1)=0 ANDKU1=0);DL:=IF( REFKD1, 2)=1 ANDRERKD1, 1)=0 ANDKD1=0, REF LOW2), REF LOW2+BARSLAS(TREFKD1,2)=1 ANDREFKD1, 1)=0 ANDKD1=
39、0);HV:=H>UL ANDH>REF H 1);LV:=L<DL ANDLvREF L, 1);GP:=BARSLAS(HV);DP:=BARSLAS(LV);IP:= IF(GP=0,DP,GP)>3;HV1:=HV ANDIP ANDH>=HHVH, BARSLAS(LV);LV1:=LV ANDIP ANDL<=LLV(L, BARSLAS(IHV);DRAWLIN(EV1, LOWHV1, HIGH 0), coloryellow , LINETHICK2;DRAWLIN(HV1, HIGHLV1, LOW0), colormagenta , L
40、INETHICK2 /加入中枢判定/简化版N1:=10;N2:= 10;DISP:= 2;K:= 1;P1:=PEAK1,K*N1, 1);P2:=PEAK1,K*N1, 2);WP1:=PEAKBAF(S,K*N1, 1);WP2:=PEAKBAF(S,K*N1, 2);T1:=TROU(G2,K*N2, 1);T2:=TROU(G2,K*N2, 2);WT1:=TROUGHBARSK*N2, 1);WT2:=TROUGHBARSK*N2, 2);页眉内容TJ1:=P1>T1 ANDP2>T2 ;ZD:=MAX(T1,T2);ZG:=MIN(P1,P2);LL:= MIN(T1,
41、T2);HH:=MAX(P1,P2);TJ2:= FILTER(ZG>ZD,2);TJ3:=ZG=REF(ZG, BARSLAS(TJ2) ORZD=REF(ZD, BARSLAS(TJ2);TJ4:=TJ1 ANDTJ2 ANDNOT(TJ3);TJ5:= BETWEE(NZD, REF(ZD, REF( BARSLAS(TJ4), 1), REF(ZG, REF( BARSLAS(TJ4), 1);TJ6:= BETWEE(NZG, REF(ZD, REF( BARSLAS(TJ4), 1), REF(ZG, REF( BARSLAS(TJ4), 1); TJ7:=ZG>REF
42、(ZG, REF( BARSLAS(TJ4), 1) ANDZD<REF(ZD, REF( BARSLAS(TJ4), 1);TJ8:=TJ4 ANDNOT(TJ5 ORTJ6 ORTJ7);ZSD:=IF (TJ8,ZD, REF(ZD, 1);/,coloryellow;ZSG:=IF (TJ8,ZG, REF(ZG, 1);/,colormagenta;ZSH:=IF (TJ8,HH, REF(HH, 1); /,colorblue;ZSL:=IF (TJ8,LL, REF(LL, 1); /,colorgreen;STICKLINE(TJ8,ZSH,ZSL, 0,- 1), co
43、lormagenta ;STICKLINE(TJ8,ZSD,ZSG, IF(DISP=1,3,0), 1), colormagentaDRAWTEX(DTISP=2,ZSH,'' ), colorwhite ;/ 中枢高中枢高 :ZSG, colormagenta ;POLYLINE(DISP=2,REF(ZSG,BARSLAS(TJ8), CIRCLEDO,Tcolormagenta / 中枢低 :中枢低 :ZSD, coloryellow ;POLYLINE(DISP=2,REF(ZSD,BARSLAS(TJ8), CIRCLEDO,Tcoloryellow / 中枢最高
44、:中枢最高 :ZSH, colorredPOLYLINE(DISP=2,REF(ZSH,BARSLAS(TJ8), POINTDO,Tcolorred / 中枢最低 :中枢最低 :ZSL, colorgreen ;POLYLINE(DISP=2,REF(ZSL, BARSLAS(TJ8),POINTDO,Tcolorgreen/ 趋势高 :/QSGD1:POLYLINE(DISP=3,ZIG(1,K*N1),colorblue;/ 趋势低 :/QSDD1:POLYLINE(DISP=3,ZIG(2,K*N2),colorblue;MA5:MA( CLOSE, 5), COLORFF00F,FL
45、inethick1 ; /COLORFF00FF,LINETHICK2;命真好 :=MA5>REF(MA5,1);命真坏 :=MA5<REF(MA5,1);/ 判定 :PARTLINEEMA5,命真好,coloryellow ,命真坏,colorblue ,MA5, COLORFFOOF)F Iinethick3 /F1:IF(MA5<REF(MA5,1),MA5,NULL),colorwhite,LINETHICK2;B:=ZIG(3,5), colorwhite ;G:=MAB, 2), coloryellow ;D:=CROS(B,G)* 1000, colorred
46、;W:=CROS(G,B)* 1000, colorblue ;aazt:= C0UN(TCL0S>REFFCL0SE1)* 1.097 , 20)>0;K:= BARSLAS(W=1000 ANDaazt ); 买卖奇准先锋:B, colorred ;昨开盘价和收盘价自动划横线STICKLINE(1,REF(O,1),REF(O,1),3,0); STICKLINE(1,REF(C,1),REF(C,1),3,0);均线3/*DB2:=ZIG(0,N2,1);G2:=MAB2, 2);D2:=CROS(B2,G2)* 1000;W2:=CROS(G2,B2)* 1000;线段 5
47、F:B2, colorblue ;/*DRAWTEXT(W2=1000 ,REF(线段 5F,1),''),colorcyan;DRAWTEXT(D2=1000 ,REF(线段5F,1),''),coloryellow;*/B3:=ZIG(0,N3, 1);G3:=MAB3, 2);D3:=CROS(B3,G3)* 1000;W3:=CROS(G3,B3)* 1000;线段 30F:B3, colorwhite ;/*DRAWTEXT(W3=1000,线段 30F,'-卖'),colorcyan;*/ /*DRAWTEXT(D3=1000 ,线段
48、 30F,'-买'),coloryellow;*/B6:=ZIG(0,N4, 1);G6:=MAB6, 2);D6:=CROS(B6,G6)* 1000;W6:=CROS(G6,B6)* 1000;线段仆:B6, colorgreen ;/*DRAWTEXT(W6=1000,线段仆,'- 卖'),colorcyan;*/ /*DRAWTEXT(D6=1000 ,线段 1F,'-买'),coloryellow;*/次日涨停W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,
49、W2);W4:=CROSS(C,REF(W3,1);W4 AND COUNT(W4,5)=1;黄转紫选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;紫柱:MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)vREF(MACD,2);低位金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA)AND DIFFv-0.1
50、;二次金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0);二次金叉:CROSS(DIFF,DEA)AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;绝地反弹(1)VAR1:=REF(LOW,1);VAR2:=SMA(ABS(L0W-VAR1),13,1)/SMA(MAX(L0W-VAR1,0),13,1)*100;VAR3:=EMA(IF(CLOSE*1.2,VAR2
51、*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(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);启动:=IF(XL3,0,VAR7*3),COLORRED;XG:启动 >25;(2)BA
52、CKSET( (REF(CL0SE,1)vREF(0PEN,1) ANDCLOSE>OPEN AND ABS(CL0SE-REF(CL0SE,1)/CL0SE<0.002),2);A2:=FILTER(A1<=V3,10);ND CAPITAL<300000000REF(V,1) = LLV(V,4) AND V >=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)01>0 AND T02>0;1. 三线粘合M:=1;M5:
53、=MA(CLOSE,5);M10:=MA(CL0SE,10);M20:=MA(CL0SE,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)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2 AND A3 AND C>O AND V>
54、; REF(V,1) AND CAPITAL<=3000000 00;2. 三条线粘合N1:=5;N2:=10;N3:=20;M:=1;MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);MAX(MA1,MAX(MA2,MA3)/MIN(MA1,MIN(MA2,MA3)<1+0.01*MAND C>O AND V> REF(V,1) AND FINANCE(7)<=300000000AND A3 AND CAPITAL<=300000000;3. 均
55、线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CL0SE,10);M20:=MA(CL0SE,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.01*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2 AND A3 ;3. 金叉选股
56、指标快线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);慢线:=EMA(REF( 快线,1),2);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:CROSS(快线,慢线)AND C>O ANDV>=MA(V,21) AND V> REF(V,1) AND CAPITAL<=300000000;4. 角度MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:CR0SS(MA5,MA10) AND CR0SS(MA10,MA20) ANDCROSS(MA5,MA20) ;IF
57、(角度 MA3>45 AND 角度 MA5>40 AND 角度 MA10>10AND 角度 MA20>20 AND MA(C,135)>REF(MA(C,135),1),1,0),C0L0R00FF001. 聚宝盆DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE ,L ONG);DEA:=EMA(DIFF,M);MACD2:=2*(DIFF-DEA);HHV(MACD2,4)<0 AND MACD2>REF(MACD2,1) AND REF(MACD2,1)<REF(MACD2,2)REF(MACD2,2)<REF(MACD
58、2,3);2. 强势股SJXXG四均线选股MA3:=MA(C,3);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:=MA(C,3)>REF(MA(C,3),1)AND MA(C,5)>REF(MA(C,5),1)AND C>MA(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(MA5/REF(MA5,1)-1)*100)*180/3.1416;角度 MA10:=ATAN(MA10/REF(MA
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 重庆三峡学院《社会查研究方法》2023-2024学年第一学期期末试卷
- 重庆三峡学院《全媒体新闻策划与编辑实验》2022-2023学年第一学期期末试卷
- 重庆人文科技学院《幼儿园环境创设》2023-2024学年第一学期期末试卷
- 重庆人文科技学院《思想政治教育案例分析》2022-2023学年第一学期期末试卷
- 重庆财经学院《重庆内陆开放高地前沿专题》2022-2023学年第一学期期末试卷
- 重庆三峡学院《家具与软装饰设计》2022-2023学年第一学期期末试卷
- 重庆三峡学院《机械设计课程设计》2022-2023学年第一学期期末试卷
- 安全指挥中心安全技术科科长岗位职责
- 重庆三峡学院《电气控制》2022-2023学年期末试卷
- 重庆人文科技学院《设计》2023-2024学年第一学期期末试卷
- 休克的诊断与鉴别诊断
- 2024年医师定期考核人文医学题库试题+答案
- 学校问题学生处理方案(2篇)
- HYT 069-2005 赤潮监测技术规程
- 计算机应用基础(Windows 10+Office 2019)(第4版)课件 张爱民 单元5、6 Powerpoint 2019的应用、新媒体
- 城市管理大数据平台 第2部分:数据分级分类
- 工程施工合同履约课件
- 医院科研工作计划及实施方案
- 全国初中数学青年教师优质课一等奖《平行线的性质》教学设计
- 眼视光技术职业规划
- 高级综合英语智慧树知到期末考试答案2024年
评论
0/150
提交评论