通达信20个主升浪指标与思路 总有一个是你需要的 源码
公式源码:
=========专捕主升浪1
R4:=(2*C+H+L)/4;
R5:=LLV(L,94);
R6:=HHV(H,89);
快:EMA((C-R5)/(R6-R5)*100,8);
慢:EMA(0.667*REF(快,1)+0.333*快,10),colorcyan;
==========专捕主升浪2
{N,1,100,38 N1,1,100,5  N2,1,100,13专捕主升浪}
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
A: SMA(VAR1,7,1),LINETHICK2;
VAR2:=SMA(A,5,1);
B: IF(CROSS(A,VAR2) AND CROSS(MA(C,N1),MA(C,N2) AND A>50) ,VAR2*2,VAR2),COLORYELLOW;
VAR4:= EMA(CLOSE,8);
VAR5:= EMA(CLOSE,20);
草原:IF(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND A-B>2 AND VAR4>VAR5 ,VAR2*2,VAR2),COLORGREEN;
买入:=(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND A-B>2 AND VAR4>VAR5 );
STICKLINE(A>VAR2,A,B,0,0);
STICKLINE(A>VAR2,A,VAR2,0,0), ,COLORGREEN ;
==========专捕主升浪3,简单明了*
RSV:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*200-100)/2;
K:SMA(SMA( RSV,3,1),3,1),LINETHICK2;
D:MA(EMA(K,3),3),LINETHICK2;
J:=3*K-2*D,COLORSTICK,LINETHICK3;
STICKLINE(CROSS(K,D),K+33,K+2,0.5,0),COLORRED;
==========专捕主升浪4
R:=AMOUNT/100000000;
R1:=IF(CLOSE>REF(CLOSE,1),R,0);
R3:=SUM(R1,8);
JJ:=R3*CLOSE;
AA:=MA(JJ,3);
A:SMA(AA,3,1),COLORRED,LINETHICK1;
B:SMA(SMA(AA,3,1),3,1),COLORWHITE;
平衡位:MA(JJ,34),COLORGREEN,LINETHICK1;
==============专捕主升浪5,带主升浪K线*
X1:=MA(C,1);X2:=SMA(SMA(SMA(X1,2,1),2,1),2,1);X3:=MA(X2,3);X4:=(L+H+C*4)/6;
X5:=EMA(X4,12);X6:=EMA(X4,19);X7:=(X5-REF(X5,1))/REF(X5,1)*100;X9:=(X6-REF
(X6,1))/REF(X6,1)*100;G:=BARSLAST(CROSS(X7,0));X8:=REF(X4,G);A2:=3*EMA((C-LLV
(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV
(L,30))*100,5);A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;A5:=EMA(CLOSE,12)-
EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5-A6);STICKLINE(X9>=0
AND MA(CLOSE,20)>REF
(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)>REF
(MA(CLOSE,120),1),HIGH,LOW-0.02,0,0),COLOR0000CD;STICKLINE(X9>=0
AND MA(CLOSE,20)
>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)>
REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,3,0),COLOR070084;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,2,0),COLOR0000A3;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000B7;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000CD;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000E9;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,0.5,0),COLOR0754E9;
STICKLINE(X9>=0
AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,60)>REF(MA(CLOSE,60),1)
AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE,OPEN-0.001,0.2,0),COLOR68B8FF;
Z1:MA(CLOSE,5),COLOR00FFFF;Z2:MA(CLOSE,55),COLOR00FF00,LINETHICK2;
======================
{zsl主升浪1}
DNA1:=(close-llv(low,13))/(hhv(high,13)-llv(low,13 ))*100;
DNA2:=sma(DNA1,20,1);
浪花:sma(DNA2,13,1);
浪涛:sma(浪花,10,1),linethick2;
0;20;50;80;100;
================================================== ====================
{zsl主升浪2}
MID:=MA(CLOSE,26);
UPPER:=MID+2*STD(CLOSE,26);
LOWER:=MID-2*STD(CLOSE,26);
布林截距:=(UPPER-LOWER)*100-200;
主升浪选股:=IF(CROSS(布林截距,-20) AND MID>REF(MID,1),11,0),COLORgray;
主升浪:IF(布林截距>0 AND MID>REF(MID,1) AND REF(MID,1)>REF(MID,2),
布林截距,0),COLORRED,linethick3;
DRAWICON(CROSS(布林截距,-20) AND MID>REF(MID,1),0,4);
末跌段:IF(布林截距>0 AND MID
布林截距,0)*-1,COLORff9900,linethick3;
================================================== ======================
{zsl主升浪3}
VAR3:=LLV(HIGH,240);
VAR4:=((100 * (CLOSE - VAR3)) / VAR3);
VAR5:=REF(LLV(CLOSE,480),1);
VAR6:=REF(HHV(CLOSE,480),1);
VAR7:=(100 * (CLOSE - VAR5))/(VAR6 - VAR5);
VAR8:=((CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)- LLV(CLOSE,981))) * 100;
VAR9:=((CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)- LLV(CLOSE,393))) * 100;
VARA:=((CLOSE-LLV(LOW,981))/(HHV(HIGH,981)- LLV(LOW,981))) * 100;
VARB:=((CLOSE-LLV(LOW,393))/(HHV(HIGH,393)- LLV(LOW,393))) * 100;
VARC:=EMA(((100*(CLOSE-LLV(LOW,100)))/(HHV(HIGH,10 0)-LLV(LOW,100))),5)/4;
VARE:=VARC<1;
VAR10:=((VAR4<0) AND (VAR7 < 0));
VAR12:=((((HIGH + LOW) + (CLOSE * 2)) / 4));
VAR13:=EMA(VAR12,21);
VAR14:=STD(VAR12,21);
VAR15:=((((((VAR12 - VAR13) / VAR14) * 100) + 200) / 4));
VAR16:=(EMA(VAR15,) - 25) * 1.56;
VAR17:=EMA(VAR16,5) * 1.22;
VAR18:=EMA(VAR17,3);
VAR19:=3*VAR17 - 2*VAR18;
VAR1A:=IF(((CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18)) AND CROSS(VAR17,VAR18)),1,0);
VAR1B:=IF(((CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19)) AND CROSS(VAR18,VAR17)),1,0);
买点:IF((FILTER(((((VAR8=0) AND VARE) AND VAR10) AND VAR1A),5) = 1),10,0),COLOR0000FF;
卖点:IF(FILTER(VAR8=100 AND VAR1B,5)=1,10,0),COLOR00FF00;
VAR1C:=(EMA(((100*(CLOSE-LLV(LOW,100)))/(HHV(HIGH, 100)-LLV(LOW,100))),13) / 4);
VAR1D:=(EMA(CLOSE,2) - EMA(CLOSE,));
VAR1E:=EMA(VAR1D,30);
VAR1F:=((2 * (VAR1D - VAR1E)) * 10);
VAR20:=((POW(VAR1F,3) * 0.1) + POW(VAR1F,2));
VAR21:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));
VAR22:=EMA((VAR21 * 0.97),3);
VAR23:=(((HIGH + LOW) + CLOSE) / 3);
VAR24:=((VAR23 - MA(VAR23,14)) / (0.015 * AVEDEV(VAR23,14)));
VAR25:=(IF(((YEAR < 2008) AND (VAR1F > 0.015)),VAR20,0) / 45);
庄拉线:VAR25,COLOR00FFFF;
VAR26:=(EMA(CLOSE,2) - EMA(CLOSE,150));
VAR27:=EMA(VAR26,100);
VAR28:=(2 * (VAR26 - VAR27));
VAR29:=((POW(VAR28,3) * 0.1) + POW(VAR28,1));
VAR2A:=SQRT(SQRT((LOW * HIGH * OPEN * CLOSE)));
VAR2B:=EMA(VAR2A * 0.97,3);
VAR2C:=(HIGH + LOW + CLOSE) / 3;
VAR2D:=(VAR2C - MA(VAR2C,14)) / (0.015 * AVEDEV(VAR2C,14));
黑马线:IF((VAR28 > 0.1),VAR29,0) * 5,COLOR0000FF;
量价线
VAR2E:=IF(FILTER(量价线>0 AND 量价线<3,5)=1,12,0);
涨幅前兆:IF(FILTER(庄拉线>0 AND 庄拉线<0.5 AND VAR2E AND VAR1C<3,10)=1,10,0),COLORFFFFFF;
选股利器:IF(FILTER(VAR2E>0 AND VAR1C<2 AND 庄拉线>0 AND 庄拉线<1 AND 黑马线>0 AND 黑马线<1.5 AND VAR2E>0,5)=1,10,0),COLORFF00FF;
量价先行:7*CROSS(量价线,0),COLOR00FF00;
拉升开始:12*(庄拉线>0.1 AND COUNT(庄拉线>0.1,2)=1 AND CLOSE>=OPEN AND VOL>REF(VOL,1) AND VOL/CAPITAL>0.003 AND 量价线>1 AND 量价线>黑马线),LINETHICK2,COLOR00FFFF;
量价主升浪:18*FILTER(CROSS(量价线,黑马线) AND 庄拉线>0.5,7),LINETHICK3,COLOR00FF00;
庄拉主升浪:20*(CROSS(庄拉线,黑马线) AND 黑马线>0 AND 量价线>0),LINETHICK3,COLOR0000FF;
DRAWICON((买点 > 0),10,1);
DRAWICON((卖点 > 0),10,2);{
DRAWICON((涨幅前兆 > 0),10,1);
DRAWICON((选股利器 > 0),10,1);
DRAWICON(量价先行 > 0,10,10);}
DRAWICON(拉升开始 > 0,15,10);
DRAWICON(量价主升浪> 0,20,9);
DRAWICON(庄拉主升浪 > 0,30,9);
================================================== ====================
{zsl主升浪4}
顶:=85;
中:=50;
底:=20;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60 ))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VARA:=IF(VAR9>100,VAR9-100,0);
VARB:=HHV(HIGH,34);
AA:= VARA*2;
BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
CC:SMA(VAR5,20,1),COLORRED;
CC1:SMA(CC,5,1),COLORGREEN;
STICKLINE(CC>CC1,CC,CC1,1,0),COLORRED;
STICKLINE(CC1>CC,CC,CC1,1,0),COLORGREEN;
出击:IF((CROSS(CC,CC1) AND (CC1 < 顶) ),80,0),COLORRED;
DRAWICON(CC < REF(CC,1) AND REF(CC,1) < REF(CC,2) AND CC > CC1,100,2);
DRAWICON(CROSS(CC1,CC),100,15);
0;20;50;80;100;
================================================== ======================================
{zsl主升浪5}
A:=80.9*(Ema(C,20)/Ema(C,40)-0.96);
B:=Ema(A,5);
AA:Ema(A,10),Coloryellow,LINETHICK2;
BB:Ema(A,18),Colorff9900,LINETHICK2;
================================================== ===================================
{zsl主升浪6}
RSV:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,1 00))*100;
FASTK:=SMA(RSV,3,1);
K:SMA(FASTK,3,1);
D:SMA(FASTK,11,1);
0;20;50;80;100;
================================================== ======================================
{zsl主升浪7}
Varq1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
Varq2:=SMA(ABS(LOW-Varq1),13,1)/SMA(MAX(LOW-Varq1, 0),10,1);
Varq3:=EMA(Varq2,10);
Varq4:=LLV(LOW,33);
Varq5:=EMA(IF(LOW<=Varq4,Varq3,0),3)*100;
主力进场:STICKLINE(Varq5>REF(Varq5,1),0,Varq5,7,0 ),COLORffff00;
Var1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24 ))*100;
Var2:=SMA(Var1,3,1);
Var3:SMA(Var2,3,1)*var1, linethick2,COLORred;
Var4:SMA(Var3,3,1),linethick2,COLORYELLOW;
Var9:=CROSS(Var4,Var3) AND Var3>80;
STICKLINE(Var9,Var3-5,100,1,1), , linethick2,COLORYELLOW;
DRAWTEXT(Var9 AND COUNT(Var9,10)=1,Var3-15,'PL'), , linethick2,COLORYELLOW;
AA:=SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0 ),30,1);
TP:EMA(IF(L<=LLV(l,30),AA,0),3)*1000,COLORFF00FF,LI NETHICK2;
0;2000;5000;8000;10000;
================================================== =================================
{zsl主升浪8}
Var1A:=EMA(CLOSE,5)*0.900*100;
Var2A:=VOL/CAPITAL*100;
Var3A:=Var1A-Var2A;
Var4A:=Var3A<1;
Var5A:=Var3A>=1 AND Var3A<5;
Var6A:=Var3A>=5 AND Var3A<10;
Var7A:=Var3A>=10 AND Var3A<25;
Var8A:=Var3A>=25;
极弱股:IF(Var4A, (-10), 0),COLORff3399, STICK;
弱势股:IF(Var5A, (-5), 0),coloryellow, STICK;
转型股:IF(Var6A, 5, 0),COLOR0066FF, STICK;
强势股:IF(Var7A, 10, 0),colorgreen, STICK;
主升浪:IF(Var8A, 15, 0),colorffff00, STICK;
{中期见顶原码 }
庄筹估算:EMA(WINNER(C)*70,5) ;
散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5) ;
cc:=FILTER( (CROSS(5,庄筹估算) and 散筹估算<20 )*60,10 );
抄底:cc,coloryellow;
DRAWTEXT(cc ,11 ,'抄底' ) ,coloryellow;
aa:= ref(庄筹估算,30)>40 or ref(庄筹估算,20)>40;
bb:=CROSS(28,庄筹估算) and 散筹估算>40 and aa=1 {and LLV(l ,60 )>LLV(l ,250 )};
洗盘:IF(bb ,30 ,60 );
DRAWTEXT(FILTER(bb,4) ,66 ,'洗盘' ) ;
DRAWTEXT(庄筹估算>60,58,'★'),colorred;
stickline(庄筹估算<散筹估算 and 散筹估算<60,散筹估算,55,1,0),colorgreen;
stickline(庄筹估算>散筹估算,散筹估算,50,1,0),colorred;
stickline(庄筹估算<散筹估算,庄筹估算,0,0,0),coloryellow;
Var1:=EMA(EMA(CLOSE,13),13);
控盘:=(Var1-REF(Var1,1))/REF(Var1,1)*1000,colorffcccc, pointdot;
STICKLINE(控盘<0,控盘,0,4,0),colorwhite;
无庄控盘:控盘<0,colorwhite;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,4,1),colorred;
有庄控盘: 控盘>REF(控盘,1) AND 控盘>0,colorred;
Var2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盘0,控盘,0,4,0),color00ff00;
主力出货: 控盘0,color00ff00;
STICKLINE(Var2>50 AND COST(85)0,控盘,0,4,0),colorff00ff;
高度控盘: Var2>50 AND COST(85)0,colorff00ff;
a10:=CROSS(控盘,0);
开始控盘:if(a10,6,0),coloryellow;
{解读一下3个副图指标的用途
1. 指标能反应出强势股的特征,结合均线金叉原理找买进点(日线均线参数10-30-60-120-250-500).在操作中要用指标的起点,不要用在发现指标的尾段
2.避免了在长期均线(日线120-250-500)压制下的股票操作
3.3个副图指标要一起用,用在找股票是很好的,发现启动点后,实际操作用30-60分钟波段指标,更为准确
4用这3个指标可以查一下你手上操作股票,就能知道是强势还是弱势股票}
================================================== ========================
{ZSL主升浪9}
VAR3:=LLV(HIGH,240);
VAR4:=((100 * (CLOSE - VAR3)) / VAR3);
VAR5:=REF(LLV(CLOSE,480),1);
VAR6:=REF(HHV(CLOSE,480),1);
VAR7:=((100 * (CLOSE - VAR5)) / (VAR6 - VAR5));
VAR8:=(((CLOSE - LLV(CLOSE,981)) / (HHV(CLOSE,981) - LLV(CLOSE,981))) * 100);
VAR9:=(((CLOSE - LLV(CLOSE,393)) / (HHV(CLOSE,393) - LLV(CLOSE,393))) * 100);
VARA:=(((CLOSE - LLV(LOW,981)) / (HHV(HIGH,981) - LLV(LOW,981))) * 100);
VARB:=(((CLOSE - LLV(LOW,393)) / (HHV(HIGH,393) - LLV(LOW,393))) * 100);
VARC:=(EMA(((100 * (CLOSE - LLV(LOW,100))) / (HHV(HIGH,100) - LLV(LOW,100))),5) / 4);
VARD:=IF((DATE < 1031231),IF((VARC > 23.16),VARC,0),0);
VARE:=(VARC < 1);
VARF:=VARD;
VAR10:=((VAR4 < 0) AND (VAR7 < 0));
VAR11:=1;
VAR12:=((((HIGH + LOW) + (CLOSE * 2)) / 4) * VAR11);
VAR13:=EMA(VAR12,21);
VAR14:=STD(VAR12,21);
VAR15:=((((((VAR12 - VAR13) / VAR14) * 100) + 200) / 4) * VAR11);
VAR16:=(((EMA(VAR15,) - 25) * 1.56) * VAR11);
VAR17:=((EMA(VAR16,5) * 1.22) * VAR11);
VAR18:=(EMA(VAR17,3) * VAR11);
VAR19:=((3 * VAR17) - ((2 * VAR18) * VAR11));
VAR1A:=IF(((CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18)) AND CROSS(VAR17,VAR18)),1,0);
VAR1B:=IF(((CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19)) AND CROSS(VAR18,VAR17)),1,0);
买点:IF((FILTER(((((VAR8 = 0) AND VARE) AND VAR10) AND VAR1A),5) = 1),10,0),colorred;
卖点:IF((FILTER((((VAR8 = 100) AND VARF) AND VAR1B),5) = 1),10,0),colorgreen;
VAR1C:=(EMA(((100 * (CLOSE - LLV(LOW,100))) / (HHV(HIGH,100) - LLV(LOW,100))),13) / 4);
VAR1D:=(EMA(CLOSE,2) - EMA(CLOSE,));
VAR1E:=EMA(VAR1D,30);
VAR1F:=((2 * (VAR1D - VAR1E)) * 10);
VAR20:=((POW(VAR1F,3) * 0.1) + POW(VAR1F,2));
VAR21:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));
VAR22:=EMA((VAR21 * 0.97),3);
VAR23:=(((HIGH + LOW) + CLOSE) / 3);
VAR24:=((VAR23 - MA(VAR23,14)) / (0.015 * AVEDEV(VAR23,14)));
VAR25:=(IF(((YEAR < 2008) AND (VAR1F > 0.015)),VAR20,0) / 45);
庄拉线:VAR25,coloryellow;
VAR26:=(EMA(CLOSE,2) - EMA(CLOSE,150));
VAR27:=EMA(VAR26,100);
VAR28:=(2 * (VAR26 - VAR27));
VAR29:=((POW(VAR28,3) * 0.1) + POW(VAR28,1));
VAR2A:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));
VAR2B:=EMA((VAR2A * 0.97),3);
VAR2C:=(((HIGH + LOW) + CLOSE) / 3);
VAR2D:=((VAR2C - MA(VAR2C,14)) / (0.015 * AVEDEV(VAR2C,14)));
黑马线
量价线
VAR2E:=IF((FILTER(((量价线 > 0) AND (量价线 < 3)),5) = 1),12,0);
涨幅前兆:IF((FILTER(((((庄拉线 > 0) AND (庄拉线 < 0.5)) AND VAR2E) AND (VAR1C < 3)),10) = 1),10,0),colorFFFFFF;
选股利器:IF((FILTER((((((((VAR2E > 0) AND (VAR1C < 2)) AND (庄拉线 > 0)) AND (庄拉线 < 1)) AND (黑马线 > 0)) AND (黑马线 < 1.5)) AND (VAR2E > 0)),5) = 1),10,0),colorFF00FF;
DRAWICON((买点 > 0),10,1);
DRAWICON((卖点 > 0),10,2);
DRAWICON((涨幅前兆 > 0),10,1);
DRAWICON((选股利器 > 0),10,1);
量价先行
DRAWICON((量价先行 > 0),10,11);
拉升开始
DRAWICON((拉升开始 > 0),15,10);
量价主升浪
DRAWICON((量价主升浪 > 0),20,8);
庄拉主升浪
DRAWICON((庄拉主升浪 > 0),30,8);
================================================== ================================
{ZSL主升浪10}
VAR1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LL V(LOW,19))*100,8,1),3);
STICKLINE(VAR1>20 AND VAR1<80,VAR1,VAR1,10,1),COLORRED;
STICKLINE(VAR1
STICKLINE(VAR1>80,VAR1,VAR1,8,1),COLOR00FF00;
STICKLINE(VAR1<20,VAR1,VAR1,8,1),COLORYELLOW;
主升浪:IF(WINNER(C*0.9)*100-V/CAPITAL*100>=25,10,0),COLOR YELLOW,POINTDOT;
STICKLINE(主升浪,10,0,1,1),COLORYELLOW;
0;20;50;80;100;