无敌趋势
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; RSV2:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100; J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1); 趋势线:3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1),LINETHICK2,COLORFF84FF; K:SMA(RSV2,3,1),LINETHICK2,COLORWHITE; D:SMA(K,3,1),LINETHICK2,COLORF408F4;
DI:IF(趋势线<=10,30,0),LINETHICK2,COLORYELLOW;
KI:IF(CROSS(J2,J1) AND J2>85,70,100),LINETHICK2,COLOR00FF00; 强弱界线:49,POINTDOT,LINETHICK3,COLOR99AACC; STICKLINE(趋势线>88,100,趋势线,4,1),COLORGREEN; STICKLINE(趋势线<=10,0,趋势线,4,1),COLORYELLOW; STICKLINE(COUNT(趋势线 STICKLINE(CROSS(J2,J1) AND J2>85,100,80,4,0),COLORGREEN; DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED; DRAWICON(FILTER(CROSS(D,K) AND D>88,10),D*1.05,2); DRAWTEXT(CROSS(趋势线,49),47,'转强'),COLORRED; DRAWTEXT(CROSS(49,趋势线),52,'转弱'),COLORGREEN; 粉K线 STICKLINE(CROSS(C,(HHV((H+L)/2,120))),O,C,12,1),COLOR33DDDD; {历史新高:}STICKLINE(HHV(CLOSE,0)=CLOSE,O,C,10,0),COLORYELLOW; STICKLINE(C>=O,CLOSE,OPEN,8,0),COLORRED; STICKLINE(C>=O,CLOSE,OPEN,7,0),COLORRED; STICKLINE(C>=O,CLOSE,OPEN,6,0),COLOR0000BB; STICKLINE(C>=O,CLOSE,OPEN,5,0),COLOR0000CC; STICKLINE(C>=O,CLOSE,OPEN,4,0),COLOR0000DD; STICKLINE(C>=O,CLOSE,OPEN,3,0),COLOR0000EE; STICKLINE(C>=O,CLOSE,OPEN,2,0),COLOR0000FF; STICKLINE(C>=O,LOW,HIGH,1,0),COLORRED; 无敌精灵 空方:=(EMA(CLOSE,24)-EMA(CLOSE,4))/2*0.95; 0;多方:=(EMA(CLOSE,4)-EMA(CLOSE,24))/2*0.95; 多头:多方,COLORYELLOW; 空头:空方,,COLORFFFF00; 引路精灵:(多方-空方),COLORRED,LINETHICK2; STICKLINE(多方>空方 ,0,多方 ,0.8 , 1),COLOREEAAFE; STICKLINE(空方>多方 ,0,空方 ,0.8 , 1),COLORFFFF00; STICKLINE(多方>空方 ,0 ,空方 ,0.8 , 1),COLOREEAAFE; STICKLINE(空方>多方,0 ,多方 ,0.8 , 1),COLORFFFF00; DRAWICON(CROSS(引路精灵 ,0 ) ,引路精灵+0.3,1 ); 买卖航标 VAR1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; 操盘线:SMA(VAR1,5,1),LINETHICK2,COLORRED; 趋势线:SMA(操盘线,3,1),LINETHICK2,COLORYELLOW; 买入航标:IF(CROSS(操盘线,趋势线) AND 趋势线<25,50,0),LINETHICK2,COLORRED; DRAWTEXT(买入航标>0,50,'买入'),LINETHICK1,COLORRED; 卖出时间:IF(CROSS(趋势线,操盘线)AND操盘线>70,80,100),COLORGREEN; DRAWTEXT(卖出时间<100,80,'卖出'),LINETHICK1,COLOR00FF00; 天风地火 {天风地火 N:1 100 3 M:1 100 30} VAR0:=(3*CLOSE+LOW+OPEN+HIGH)/6; 多头 线:(20*VAR0+19*REF(VAR0,1)+18*REF(VAR0,2)+17*REF(VAR0,3)+16*REF(VAR0,4)+15*REF(VAR0,5)+14*REF(VAR0,6)+13*REF(VAR0,7)+12*REF(VAR0,8)+11*REF(VAR0,9)+10*REF(VAR0,10)+9*REF(VAR0,11)+8*REF(VAR0,12)+7*REF(VAR0,13)+6*REF(VAR0,14)+5*REF(VAR0,15)+4*REF(VAR0,16)+3*REF(VAR0,17)+2*REF(VAR0,18)+REF(VAR0,20))/210,CIRCLEDOT,COLORRED,LINETHICK2; 空头线: MA(多头线,10), CIRCLEDOT,COLORGREEN,LINETHICK2; STICKLINE(多头线>空头线,多头线,空头线,10,10),COLORRED; STICKLINE(多头线<空头线,多头线,空头线,10,10), COLORGREEN; STICKLINE(C>O,O,C,7,0),COLORRED; STICKLINE(C>O,O,C,4,0),COLORB0B0FF; STICKLINE(C>O,O,C,2,0),COLORYELLOW; STICKLINE(C>O,L,H,0.1,0),COLORYELLOW; STICKLINE(C< O,O,C,7,0),COLORFF2020; STICKLINE(C< O,O,C,4,0),COLORFF6600; STICKLINE(C< O,O,C,2,0),COLORFFCC66; STICKLINE(C< O,L,H,0.1,0),COLORFFCC66; STICKLINE(C=O ANDC>=REF(C,1),O,C,7,0),COLORRED; STICKLINE(C=O ANDC>=REF(C,1),O,C,4,0),COLORB0B0FF; STICKLINE(C=O ANDC>=REF(C,1),O,C,2,0),COLORYELLOW; STICKLINE(C=O ANDC>=REF(C,1),L,H,0.1,0),COLORYELLOW; STICKLINE(C=O AND C 无影手 A1:EMA((EMA(CLOSE,1)+EMA(CLOSE,3)+EMA(CLOSE,5))/3,3),COLORRED; A2:EMA((EMA(CLOSE,3)+EMA(CLOSE,5)+EMA(CLOSE,7))/3,3),COLORRED; A3:EMA((EMA(CLOSE,5)+EMA(CLOSE,7)+EMA(CLOSE,9))/3,3),COLORRED; A4:EMA((EMA(CLOSE,7)+EMA(CLOSE,9)+EMA(CLOSE,11))/3,3),COLORRED; A5:EMA((EMA(CLOSE,9)+EMA(CLOSE,11)+EMA(CLOSE,13))/3,3),COLORRED; A6:EMA((EMA(CLOSE,11)+EMA(CLOSE,13)+EMA(CLOSE,15))/3,3),COLORRED; A7:EMA((EMA(CLOSE,13)+EMA(CLOSE,15)+EMA(CLOSE,17))/3,3),COLORRED; A8:EMA((EMA(CLOSE,15)+EMA(CLOSE,17)+EMA(CLOSE,19))/3,3),COLORRED; A9:EMA((EMA(CLOSE,17)+EMA(CLOSE,19)+EMA(CLOSE,21))/3,3),COLORYELLOW; A10:EMA((EMA(CLOSE,19)+EMA(CLOSE,21)+EMA(CLOSE,23))/3,3),COLORYELLOW; A11:EMA((EMA(CLOSE,21)+EMA(CLOSE,23)+EMA(CLOSE,25))/3,3),COLORYELLOW; A:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3),COLORYELLOW; B:=REF(A,1); DRAWTEXT(A>B,(A+B)/2,'★'), COLORFF00FF; DRAWTEXT(A<=B,(A+B)/2,'☆'), COLORGREEN; {STICKLINE(A>B,A,B,8,0),COLORFF00FF; STICKLINE(A<=B,A,B,8,1),COLORFF0000;} A15:A-(A1-A*0.997),COLORFF1010; A16:A-(A2-A),COLORFF2010; A17:A-(A3-A),COLORFF3010; A18:A-(A4-A),COLORFF4010; A19:A-(A5-A),COLORFF5010; A20:A-(A6-A),COLORFF6010; A21:A-(A7-A),COLORFF7010; A22:A-(A8-A),COLORFF8010; A23:A-(A9-A),COLORFF9010; A24:A-(A10-A),COLORFFC010; A25:A-(A11-A*0.997),COLORFFE010; STICKLINE(OPEN>=CLOSE ,O,C,9,0 ),COLORAAAAAA; STICKLINE(OPEN>=CLOSE ,O,C,6,0 ),COLORBBBBBB; STICKLINE(OPEN>=CLOSE ,O,C,2.4,0),COLORCCCCCC; STICKLINE(OPEN>=CLOSE ,O,C,1.1,0),COLORDDDDDD; STICKLINE(CLOSE>OPEN,O,C,9,0 ),COLOR6666CC; STICKLINE(CLOSE>OPEN,O,C,6 ,0 ),COLOR7777DD; STICKLINE(CLOSE>OPEN,O,C,2.4 ,0 ),COLOR8888EE; STICKLINE(CLOSE>OPEN,O,C,1.1 ,0 ),COLOR9999FF; STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0),COLOR1199FF; STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0),COLOR1199FF; STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0),COLORCCCCCC; STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0),COLORCCCCCC; VAR31:=(ZIG(3, 19)>REF(ZIG(3,19),1) ANDREF(ZIG(3,19), 1) STICKLINE(VAR31=2,L*0.95,L*0.98,8,0),COLOR0000FF; DRAWTEXT(VAR31=2,L*0.95,'3天'),COLORYELLOW; STICKLINE(VAR31=4,H*1.05,H*1.02,8,0),COLOR9966FF; DRAWTEXT(VAR31=4,H*1.06,'5天'),COLORYELLOW; STICKLINE(VAR31=7,L*0.95,L*0.98,8,0),COLOR00FFFF; DRAWTEXT(VAR31=7,L*0.95,'8天'),COLORYELLOW; STICKLINE(VAR31=12,H*1.05,H*1.02,8,0),COLORFF33FF; DRAWTEXT(VAR31=12,H*1.06,'13天'),COLORYELLOW; STICKLINE(VAR31=20,L*0.95,L*0.98,8,0),COLOR0066FF; DRAWTEXT(VAR31=20,L*0.95,'21天'),COLORYELLOW; STICKLINE(VAR31=33,H*1.05,H*1.02,8,0),COLORFFFF00; DRAWTEXT(VAR31=33,H*1.06,'34天'),COLORYELLOW; STICKLINE(VAR31=54,L*0.95,L*0.98,8,0),COLOR006600; DRAWTEXT(VAR31=54,L*0.95,'55天'),COLORYELLOW; STICKLINE(VAR31=88,H*1.05,H*1.02,8,0),COLOR00FF00; DRAWTEXT(VAR31=88,H*1.06,'89天'),COLORYELLOW; STICKLINE(VAR31=143,L*0.95,L*0.98,8,0),COLORCCFFFF; DRAWTEXT(VAR31=143,L*0.95,'144天'),COLORYELLOW; STICKLINE(VAR31=232 ,H*1.05,H*1.02,8,0),COLORFF0033; DRAWTEXT(VAR31=232,H*1.06,'233天'),COLORYELLOW; STICKLINE(VAR31=376,L*0.95,L*0.98,8,0),COLORFF9966; DRAWTEXT(VAR31=376,L*0.95,'377天'),COLORYELLOW; 合并即涨 Var0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; Var3:=SMA(Var0,3,1); Var1:=SMA(Var3,4,1)-10; Var4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100; Var5:=SMA(Var4,3,1); Var2:=SMA(Var5,4,1)-90; STICKLINE(REF(Var1,1) STICKLINE(REF(Var1,1)>Var1,Var1,REF(Var1,1),5,0),COLOR00ff00; STICKLINE(REF(Var2,1)>Var2,Var2,REF(Var2,1),10,0),COLOR0000FF; STICKLINE(REF(Var2,1) 顶底奇准 买:=MA(CLOSE,1); 卖:=(LOW+HIGH+CLOSE)/3; 奇:= MA(卖,5); 准:= HHV(奇,10); 急卖奇准:IF(HHV((买<准),5),50,10),COLORFF6699; STICKLINE(急卖奇准=10,50,10,1,1),COLORFF6699; 短卖奇准:IF(HHV((买<准),10),50,20),COLORGREEN;