1、1多空对比指标(源码、副图)2015-07-15 360doc 个人图书馆多空对比(第 1 版本)短期:100*(C-LLV(L,5)/(HHV(C,5)-LLV(L,5),colorwhite;中期:100*(C-LLV(L,10)/(HHV(C,10)-LLV(L,10),coloryellow;长期:100*(C-LLV(L,30)/(HHV(C,30)-LLV(L,30),colorred;DRAWTEXT(短期5,(80),B1),COLORFFFF00;80,pointdot;50,pointdot;20,pointdot;=多空对比(第 2 版本)短期:100*(C-LLV(L,
2、5)/(HHV(C,5)-LLV(L,5),colorwhite;2中期:100*(C-LLV(L,10)/(HHV(C,10)-LLV(L,10),coloryellow;长期:100*(C-LLV(L,30)/(HHV(C,30)-LLV(L,30),colorred,LINETHICK2;强势线:80,POINTDOT,linethick2;弱势线:20,POINTDOT,linethick2;分水岭:50,POINTDOT,linethick2;=多空对比(第 3 版本)短期:100*(C-LLV(L,5)/(HHV(C,5)-LLV(L,5),COLORWHITE;中期:100*(C
3、-LLV(L,10)/(HHV(C,10)-LLV(L,10),COLORYELLOW;中长期:100*(C-LLV(L,20)/(HHV(C,20)-LLV(L,20),COLORMAGENTA;长期:100*(C-LLV(L,30)/(HHV(C,30)-LLV(L,30),COLORRED,LINETHICK2;=我对第 3 个版本的指标进行修改优化,增加了选股功能,现发贴如下, 奉献大家使用:多空对比短期:100*(C-LLV(L,5)/(HHV(C,5)-LLV(L,5),COLORWHITE;中期:100*(C-LLV(L,10)/(HHV(C,10)-LLV(L,10),COLO
4、RYELLOW;中长期:100*(C-LLV(L,20)/(HHV(C,20)-LLV(L,20),COLORMAGENTA;长期:100*(C-LLV(L,30)/(HHV(C,30)-LLV(L,30),3COLORRED,LINETHICK2;高浪日:=REF( 短期,1) 7),(100)*(MA(CLOSE,7)/(LLV(MA(CLOSE,7),7) - 1),1);N:=IF(陡峭度 0.35),6,65);VAR1:=(-(100)*(HHV(HIGH,N) - CLOSE)/(HHV(HIGH,N) - LLV(LOW,N)*(DATE REF(线 ,1) and (线 RE
5、F(线,1),5) = 1) and IF(N = 6),(获利盘 20),20) 0)*(40); VAR1:=EMA(CLOSE,9)-EMA(CLOSE,29);VAR2:=EMA(VAR1,5);VAR3:=2*(VAR1-VAR2);STICKLINE(VAR30,0,VAR3,4,1),colorgreen;STICKLINE(VAR3=REF(VAR3,1)AND VAR30,0,VAR3,4,1),colorred;STICKLINE(VAR3REF(VAR3,1)AND VAR3下线 , 上线,下线 ,2.5, 0),COLORRED,LINETHICK2;STICKLINE
6、(下线 上线,上线,下线,2.5,0),COLORYELLOW,LINETHICK2;7DRAWTEXT( CROSS(上线,下线 ),LOW *0.98,加 ),COLOR00FF00;DRAWTEXT(CROSS(下线 1,上线 1),H*1.02,),COLORYELLOW;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),LINETHICK2;LC:=REF(CLOSE,1)
7、; RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,) ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),LINETHICK2;操作 1:=MA(A7,5)*1.03,LINETHICK2;操作 2:=MA(A7,5)*0.97,LINETHICK2;VAR1:LLV(A7,21),LINETHICK2;VAR2:HHV(A7,21),LINETHICK2;SK:=EMA(A7-VAR1)/(VAR2-
8、VAR1)*100,7); SD:=EMA(0.667*REF(SK,1)+0.333*SK,5); DRAWTEXT(IF(COUNT(CLOSE6/10 AND VOL=1.5*MA(VOL,5) AND COUNT(SK=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,买进) ,COLOR0099FF; DRAWTEXT(IF(COUNT(CLOSE6/10 AND COUNT(SKSD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE=OPEN,4) AND REF(CLOSEOPEN,3) AND
9、 REF(CLOSEOPEN,2) AND REF(OPENCLOSE,1) AND OPENREF(CLOSE,1),1,0),LOW*0.98,买进) ,COLORYELLOW; D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(IF(CLOSEMA(VOL,5)/240 AND CLOSEREF(CLOSE,1)*1.08 AND CLOSEREF(Var2,1);Var7:MA(WINNER(C)*100,5),COLORRED;Var8:MA(WINNER(C)*100,13),COLORYELLOW;Var9:=MA(WINNER(C)*100,34
10、);AA:=BARSLAST(CROSS(Var8,Var7)=7;BB:=Var8REF(Var8,1)AND CROSS(Var7,Var8)AND AA AND Var7REF(Var7,1)AND Var9-Var718 AND Var7REF(Var9,1)AND CROSS(Var7,Var8)AND Var7REF(Var9,1)AND CROSS(Var7,Var8)AND Var7 REF(C,1),Var7,1);DRAWICON(FILTER(Var7REF(Var7,3)OR Var7REF(Var7,2)AND Var718 OR Var785),5),Var7+3,
11、2);IF(CROSS(Var7,Var8)AND Var8REF(Var2,1)OR Var6,10,0),COLORAACCFF,LINETHICK2; 通达信交易机器人主图指标公式来源:Internet ,编辑:股旁网, 2014-01-13H1:EMA(C,8);H2:EMA(H1,20);VAR1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36)*100;VAR2:=SMA(VAR1,5,1);VAR3:=SMA(VAR2,8,1);VAR4:=CROSS(VAR2,VAR3) AND VAR3LLV(C,60)*1.13 AND VAR4;VAR6:=IF(C
12、200,VAR4,VAR5);STICKLINE(H1H2,H1,H2,0,1),COLORRED;STICKLINE(H10,0,VAR3,4,1),colorgreen;STICKLINE(VAR3=REF(VAR3,1)AND VAR30,0,VAR3,4,1),colorred;STICKLINE(VAR3REF(VAR3,1)AND VAR3下线 , 上线,下线 ,2.5, 0),COLORRED,LINETHICK2;STICKLINE(下线 上线,上线,下线,2.5,0),COLORYELLOW,LINETHICK2;DRAWTEXT( CROSS(上线,下线 ),LOW *0.
13、98,加 ),COLOR00FF00;DRAWTEXT(CROSS(下线 1,上线 1),H*1.02,),COLORYELLOW;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),LINETHICK2;LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT( CROSS
14、(82,RSI) , HIGH*1.02,) ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),LINETHICK2;操作 1:=MA(A7,5)*1.03,LINETHICK2;操作 2:=MA(A7,5)*0.97,LINETHICK2;VAR1:LLV(A7,21),LINETHICK2;VAR2:HHV(A7,21),LINETHICK2;SK:=EMA(A7-VAR1)/(VAR2-VAR1)*100,7); SD:=EMA(0.667*REF(SK,1)+0.333*SK,5); DRAWTEXT(IF(COUNT(CLOSE6
15、/10 AND VOL=1.5*MA(VOL,5) AND COUNT(SK=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,买进) ,COLOR0099FF; DRAWTEXT(IF(COUNT(CLOSE6/10 AND COUNT(SKSD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE=OPEN,4) AND REF(CLOSEOPEN,3) AND REF(CLOSEOPEN,2) AND REF(OPENCLOSE,1) AND OPENREF(CLOSE,1),1,0),LOW*0.98,买
16、进) ,COLORYELLOW; D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(IF(CLOSEMA(VOL,5)/240 AND CLOSEREF(CLOSE,1)*1.08 AND CLOSEREF(Var2,1);Var7:MA(WINNER(C)*100,5),COLORRED;Var8:MA(WINNER(C)*100,13),COLORYELLOW;Var9:=MA(WINNER(C)*100,34);AA:=BARSLAST(CROSS(Var8,Var7)=7;BB:=Var8REF(Var8,1)AND CROSS(Var7,Var8)AN
17、D AA AND Var7REF(Var7,1)AND Var9-Var718 AND Var7REF(Var9,1)AND CROSS(Var7,Var8)AND Var7REF(Var9,1)AND CROSS(Var7,Var8)AND Var7 REF(C,1),Var7,1);DRAWICON(FILTER(Var7REF(Var7,3)OR Var7REF(Var7,2)AND Var718 OR Var785),5),Var7+3,2);IF(CROSS(Var7,Var8)AND Var8REF(Var2,1)OR Var6,10,0),COLORAACCFF,LINETHIC
18、K2; 相关标签:抄底逃顶指标源码、通达信估抄底指标源码,大智慧估抄底指标源码,飞狐估抄底指标源码,同花顺估抄底 F 指标源码。使用方法:这个指标是偶三个月前的作品,专用于抄底逃顶。这样使用比较好:红柱后三线是否粘合考虑抄底,绿柱后就走人。通达信估抄底指标源码STICKLINE(C0,0,100,15,0),COLOR7C221C;13RSV1:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;RSV2:=(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*100;WEN:=3*SMA(CLOSE-LLV(LOW
19、,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);J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);W1:=SMA(RSV2,3,1);W2:=SMA(W1,3,1);强弱界线:49,POINTDOT,LINETHICK3,COLOR9966CC;见顶信号:100,COLORCCFF00; 内容来至程序化交易网 CXH99.COM出点准备: IF(CROSS(J2,J1) AND J285,70,100),LIN
20、ETHICK2,COLOR00FF00;趋势线: WEN,LINETHICK2;买点准备:IF(趋势线88,100,趋势线,3,1),COLORGREEN;STICKLINE(趋势线 85,100,80,3,0),COLORGREEN;DRAWICON(CROSS(趋势线,49),趋势线,1);DRAWTEXT_FIX(CO,0.01,0.9,0, WWW.CXH99.COM ),COLORRED;DRAWICON(FILTER(CROSS(G2,G1) AND G281,10),G2*1.05,2);DRAWTEXT(CROSS(趋势线,49),47,转强),COLORRED;DRAWTEX
21、T(CROSS(49,趋势线),52,转弱),COLORGREEN;波段监控 RSV:=(CLOSE-LLV(LOW,7)/(HHV(HIGH,7)-LLV(LOW,7)*100; 短多:SMA(RSV,3,1),COLORRED,LINETHICK1; 短空:SMA(短多,3,1),COLORYELLOW,LINETHICK1; RSV1:=(CLOSE-LLV(LOW,38)/(HHV(HIGH,38)-LLV(LOW,38)*100; 中多:SMA(RSV1,5,1),COLORFF00FF,LINETHICK1;中空:SMA(中多,10,1),COLORGREEN,LINETHICK1
22、; 多方风险线:85,COLORBLUE; 空方风险线:18,COLORWHITE; STICKLINE(短多 短空,短多,短空,1,0),COLORRED; STICKLINE(短多 中空,中多,中空,1,0),COLORFF00FF; STICKLINE(中多 =REF(短多,1),1)AND 短多=REF(中多,1),1)AND 中多85),5,0)COLOR0000FF,LINETHICK3;高卖 11:IF(CROSS(长强势区 11,0.1),105,110),COLORGREEN,LINETHICK3;长强势区 2:=IF(EVERY(短多 短空),5,0)COLOR0000FF
23、,LINETHICK3;低买 2:IF(CROSS(长强势区 2,0.1),100,110),COLOR00FFFF,LINETHICK3;RSV:=(CLOSE-LLV(LOW,7)/(HHV(HIGH,7)-LLV(LOW,7)*100; 短多:SMA(RSV,3,1),COLORRED,LINETHICK1; 短空:SMA(短多,3,1),COLORYELLOW,LINETHICK1; RSV1:=(CLOSE-LLV(LOW,38)/(HHV(HIGH,38)-LLV(LOW,38)*100; 中多:SMA(RSV1,5,1),COLORFF00FF,LINETHICK1;中空:SMA
24、(中多,10,1),COLORGREEN,LINETHICK1; 多方风险线:85,COLORBLUE; 空方风险线:18,COLORWHITE; STICKLINE(短多短空,短多 ,短空,1,0),COLORRED; STICKLINE(短多中空,中多 ,中空,1,0),COLORFF00FF; STICKLINE(中多=REF(短多,1),1)AND 短多=REF(中多,1),1)AND 中多85),5,0)COLOR0000FF,LINETHICK3;高卖 11:IF(CROSS(长强势区 11,0.1),105,110),COLORGREEN,LINETHICK3;长强势区 2:=I
25、F(EVERY(短多短空),5,0)COLOR0000FF,LINETHICK3;低买 2:IF(CROSS(长强势区 2,0.1),100,110),COLOR00FFFF,LINETHICK3;15通达信全景监控波段副图Z:=5;N:=10;HIGH1:=IF(HIGH=(REF(L,1)+REF(L,2)/2,CLOSE,LOW);LOW1:=IF(LOW=REF(LOW,1),CLOSE,LOW);CLOSE1:=IF(CLOSE=REF(CLOSE,1),CLOSE,(HIGH1+LOW2)*0.5);VARA:=IF(CLOSE=CLOSE,(CLOSE+LOW+OPEN+HIGH
26、+HIGH1+LOW2)/6,AMOUNT/(100*VOL);VARU1:=LLV(LOW1,30);VARA1:=HHV(HIGH1,30);VARU2:=LLV(LOW1,21);VARA2:=HHV(HIGH1,21);CC:=MA(VARA-VARU2)/(VARA2-VARU2)*100,11);CC1:=EMA(CC,7),COLOR336699;B:=EMA(VARA-VARU1)/(VARA1-VARU1)*105,13);B1:=EMA(B,8);移动平均 A:STICKLINE(B-B10 ,B*1.03,B1,3,1),COLOR3366AA;移动平均 B:STICKL
27、INE(B-B1=“RSI.RSI3#WEEK“*0.998;周金 R:=“RSI.RSI1#WEEK“=“RSI.RSI2#WEEK“;AA:=STICKLINE(月死 KD BB:=STICKLINE(月金 KD 16K:SMA(RSV,3,1),COLORAA9999,LINETHICK2;D:SMA(K,3,1),COLOR00AA00,LINETHICK2;J:=3*K-2*D,COLORFFAABB,LINETHICK1;STICKLINE(周 CK=周 CD,D,K*1.01,4.2,1),COLOR0000FF;RMA2:=MA(MA(“RSI.RSI2#MONTH“,2),2
28、),COLORGRAY,LINETHICK1;RMA3:=MA(MA(“RSI.RSI3#MONTH“,2),2),COLOR000099,LINETHICK1;STICKLINE(RMA2=RMA3,D*0.999,K*1.03,0.8,0),COLOR0068FF;STICKLINE(RMA2LOW+0.01,0,49,1.6,0),COLORAA00FF;死叉 RSI:=DRAWICON(CROSS(周 CD,周 CK) AND 周死 RSI,99,2);转向:=DRAWICON(CROSS(周 CK,周 CD) AND 周金 RSI),25,5);月金叉:=月 MK月 MD;月周金叉:
29、=IF(CROSS(周 CK,周 CD) AND 月金叉,31,0),LINETHICK1,COLOR3333FF;周金叉 RSI:=STICKLINE(CROSS(“RSI.RSI2#WEEK“,“RSI.RSI3#WEEK“),0,25,3,0),COLOR0038FF;金叉 RSI:=DRAWICON(CROSS(“RSI.RSI2#WEEK“,“RSI.RSI3#WEEK“),18,9);波段升:STICKLINE(CROSS(D1,K1) AND CC=CC1,1,33,0.1,0),COLOR00FFFF;波段下:STICKLINE(CROSS(K1,D1) AND CC=SAR(
30、4,2,20),SAR(4,2,20),DRAWNULL);中线空仓:=IF(CLOSE=2;DXC:=COUNT(CROSS(MACDM,0) OR CROSS(MACDD,0) OR CROSS(MACDA,0) OR CROSS(MACDH,0),20)=2;DXD:=COUNT(CROSS(MACDM,0) OR CROSS(MACDC,0) OR CROSS(MACDH,0) OR CROSS(MACDB,0),20)=2;DXE:=COUNT(CROSS(MACDM,0) OR CROSS(MACDH,0) OR CROSS(MACDB,0) OR CROSS(MACDD,0) O
31、R CROSS(MACDA,0),30)=4;MD:=BACKSET(DEAR=REF(DEAR,1),2);STICKLINE(MACDD0 OR MACDH0) AND 中线持仓 ,0,7,3,1),COLOR0000FF;STICKLINE(MACDC=0 OR MACDH=0) AND 中线持仓 AND (DXB OR DXC OR DXD OR DXE) AND MD,1,12,2.2,0),COLORCC88FF;STICKLINE(MACDD=MCST,12,19,1,1),COLOR00EEFF;全景监控波段副图Z:=5;N:=10;HIGH1:=IF(HIGH=(REF(L,
32、1)+REF(L,2)/2,CLOSE,LOW);LOW1:=IF(LOW=REF(LOW,1),CLOSE,LOW);18CLOSE1:=IF(CLOSE=REF(CLOSE,1),CLOSE,(HIGH1+LOW2)*0.5);VARA:=IF(CLOSE=CLOSE,(CLOSE+LOW+OPEN+HIGH+HIGH1+LOW2)/6,AMOUNT/(100*VOL);VARU1:=LLV(LOW1,30);VARA1:=HHV(HIGH1,30);VARU2:=LLV(LOW1,21);VARA2:=HHV(HIGH1,21);CC:=MA(VARA-VARU2)/(VARA2-VAR
33、U2)*100,11);CC1:=EMA(CC,7),COLOR336699;B:=EMA(VARA-VARU1)/(VARA1-VARU1)*105,13);B1:=EMA(B,8);移动平均 A:STICKLINE(B-B10 ,B*1.03,B1,3,1),COLOR3366AA;移动平均 B:STICKLINE(B-B1=“RSI.RSI3#WEEK“*0.998;周金 R:=“RSI.RSI1#WEEK“=“RSI.RSI2#WEEK“;AA:=STICKLINE(月死 KD BB:=STICKLINE(月金 KD K:SMA(RSV,3,1),COLORAA9999,LINETHI
34、CK2;D:SMA(K,3,1),COLOR00AA00,LINETHICK2;J:=3*K-2*D,COLORFFAABB,LINETHICK1;STICKLINE(周 CK=周 CD,D,K*1.01,4.2,1),COLOR0000FF;RMA2:=MA(MA(“RSI.RSI2#MONTH“,2),2),COLORGRAY,LINETHICK1;RMA3:=MA(MA(“RSI.RSI3#MONTH“,2),2),COLOR000099,LINETHICK1;19STICKLINE(RMA2=RMA3,D*0.999,K*1.03,0.8,0),COLOR0068FF;STICKLIN
35、E(RMA2LOW+0.01,0,49,1.6,0),COLORAA00FF;死叉 RSI:=DRAWICON(CROSS(周 CD,周 CK) AND 周死 RSI,99,2);转向:=DRAWICON(CROSS(周 CK,周 CD) AND 周金 RSI),25,5);月金叉:=月 MK月 MD;月周金叉:=IF(CROSS(周 CK,周 CD) AND 月金叉,31,0),LINETHICK1,COLOR3333FF;周金叉 RSI:=STICKLINE(CROSS(“RSI.RSI2#WEEK“,“RSI.RSI3#WEEK“),0,25,3,0),COLOR0038FF;金叉 RS
36、I:=DRAWICON(CROSS(“RSI.RSI2#WEEK“,“RSI.RSI3#WEEK“),18,9);波段升:STICKLINE(CROSS(D1,K1) AND CC=CC1,1,33,0.1,0),COLOR00FFFF;波段下:STICKLINE(CROSS(K1,D1) AND CC=SAR(4,2,20),SAR(4,2,20),DRAWNULL);中线空仓:=IF(CLOSE=2;DXC:=COUNT(CROSS(MACDM,0) OR CROSS(MACDD,0) OR CROSS(MACDA,0) OR CROSS(MACDH,0),20)=2;20DXD:=COU
37、NT(CROSS(MACDM,0) OR CROSS(MACDC,0) OR CROSS(MACDH,0) OR CROSS(MACDB,0),20)=2;DXE:=COUNT(CROSS(MACDM,0) OR CROSS(MACDH,0) OR CROSS(MACDB,0) OR CROSS(MACDD,0) OR CROSS(MACDA,0),30)=4;MD:=BACKSET(DEAR=REF(DEAR,1),2);STICKLINE(MACDD0 OR MACDH0) AND 中线持仓 ,0,7,3,1),COLOR0000FF;STICKLINE(MACDC=0 OR MACDH=
38、0) AND 中线持仓 AND (DXB OR DXC OR DXD OR DXE) AND MD,1,12,2.2,0),COLORCC88FF;STICKLINE(MACDD=MCST,12,19,1,1),COLOR00EEFF;RSV:=(CLOSE-LLV(LOW,7)/(HHV(HIGH,7)-LLV(LOW,7)*100; 短多:SMA(RSV,3,1),COLORRED,LINETHICK1; 21短空:SMA(短多,3,1),COLORYELLOW,LINETHICK1; RSV1:=(CLOSE-LLV(LOW,38)/(HHV(HIGH,38)-LLV(LOW,38)*1
39、00; 中多:SMA(RSV1,5,1),COLORFF00FF,LINETHICK1;中空:SMA(中多,10,1),COLORGREEN,LINETHICK1; 多方风险线:85,COLORBLUE; 空方风险线:18,COLORWHITE; STICKLINE(短多短空,短多,短空,1,0),COLORRED; STICKLINE(短多中空,中多,中空,1,0),COLORFF00FF; STICKLINE(中多=REF(短多,1),1)AND 短多=REF(中多,1),1)AND 中多85),5,0)COLOR0000FF,LINETHICK3;22高卖 11:IF(CROSS(长强势
40、区 11,0.1),105,110),COLORGREEN,LINETHICK3;长强势区 2:=IF(EVERY(短多短空),5,0)COLOR0000FF,LINETHICK3;低买 2:IF(CROSS(长强势区 2,0.1),100,110),COLOR00FFFF,LINETHICK3;VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);阶段卖出: 3.2,COLORYELLOW;3.5,COLOR0088FF;顶部清仓: 3.5,COLORGREEN,LINETHICK1;动力线:= EMA(CLOSE-VAR2)/(VAR3-VAR2)*4,4);STICK
41、LINE(动力线REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLORRED,LINETHICK1;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(顶部清仓,动力线),20),动力线+0.02,2);DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02
42、,1);DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);23DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWTEXT(CROSS(动力线,关注),关注,买底),COLORWHITE;短期:100*(C-LLV(L,5)/(HHV(C,5)-LLV(L,5),COLORWHITE;中期:100*(C-LLV(L,10)/(HHV(C,10)-LLV(L,10),COLORYELLOW;中长期:100*(C-LLV(L,20)/(HHV(C,20)-LLV(L,20),COLORMAGENTA;长期:100*(C-LLV(L,30)/(HHV(C,30)-LLV(L,30),COLORRED,LINETHICK2;高浪日:=REF(短期,1)2 AND REF(中期,1)2 AND REF(中长期,1)2 AND REF(长期,1)2;高浪日抄底:IF(高浪日,1,0),COLORYELLOW,LINETHICK3;STICKLINE(高浪日抄底,20,40,2,0),COLORMAGENTA,LINETHICK5;DRAWTEXT(高浪日抄底,35,买入 ),COLORYELLOW,LINETHICK3;