e1:=BARSCOUNT(C);
ah:=HHV(H,200);
al:=LLV(L,200);
b0:=(ah-al)/40;
kb1:=H+b0;
kb2:=L-b0;
STICKLINE((e1+0)/34=FLOOR((e1+0)/34),kb2,kb2-3*b0,2,0),coloryellow,LINETHICK3;
DRAWTEXT((e1+0)/34=FLOOR((e1+0)/34),kb2-2*b0,'时间窗'),colorwhite;
{STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFF6C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),colorFF7B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3,0),colorFF9C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),colorFFBE00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2.5,0),colorFFCC00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color070084;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color0000A3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),color0000B7;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0000CD;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),color0000E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),color0754E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),color076EF3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color077BF3;
STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color0726CA;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color0726CA;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorDE9100;
STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorDE9100;}
卖出线:=98;
阶段卖:=96;
趋势4:=3*SMA((CLOSE-LLV(LOW,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);
底部:=10;
买入信号:DRAWICON(CROSS(趋势4,底部),LOW,1);
卖出:DRAWICON(CROSS(卖出线,趋势4),HIGH,2);
顶压:HHV(MA(H,11),50),Color00FF00,LINETHICK3;
短压:HHV(MA(H,11),15),Color0090E0,LINETHICK2;
XL1:=LLV(MA(H,11),1);
趋势3:IF(XL1>=短压,短压,XL1),colorwhite,LINETHICK1;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
Kk1:=REF(RSV,1);Kk2:=REF(RSV,2);ka:=rsv;Kk3:=REF(RSV,3);Kk4:=REF(RSV,4);KK5:=REF(rsv,5);
kk80:=3*80-(POW(2/3,1)*kk1+POW(2/3,2)*kk2+POW(2/3,3)*kk3+POW(2/3,4)*kk4+3*POW(2/3,5)*KK5);
kkk80:=SMA((kk80*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
交叉:=3*SMA(SMA(ka,3,1),3,1)-(POW(2/3,1)*kk1+POW(2/3,2)*kk2+POW(2/3,3)*kk3+POW(2/3,4)*kk4+3*POW(2/3,5)*KK5);
k转折:=3*SMA(ka,3,1)-(POW(2/3,1)*kk1+POW(2/3,2)*kk2+POW(2/3,3)*kk3+POW(2/3,4)*kk4+3*POW(2/3,5)*KK5);
k转折价0:=SMA((k转折*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
日交叉0:=SMA((交叉*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
DRAWTEXT(k转折价0>=kkk80 AND k转折价0>=日交叉0,日交叉0,'●'),COLORff00ff;
趋势:= 3*SMA((CLOSE-LLV(LOW,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),
coloryellow,linethick2;
警戒:=趋势<=5 ;
d1:=C/L>1.05 AND COUNT(警戒,3)>=1 AND C/REF(C,1)>1.01;
DRAWTEXT(d1>0,L,'★长生剑'),Color00FF00;
趋势1:= MA(3*SMA((CLOSE-LLV(LOW,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),5);
买入1:= C/O>1.04 AND COUNT(趋势1<10,3)>=1;
D2:=(买入1);
DRAWTEXT(D2>0,L,'☆孔雀翎'),Colorff00FF;
m1:=(CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100;
K:=SMA(M1,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
dd:=m1<-300;
DA:=C/O>1.04 AND COUNT(m1<-300,3)>=1;
D3:=DA;
DRAWTEXT(D3>0,L,'★碧玉刀'),Color006EFF;
个股:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
D4:=COUNT(个股<-8,3)>=1 AND ( C/L>1.05 ) ;
DRAWTEXT(D4>0,L,'◎多情环'),colorred;
LCa:=REF(CLOSE,1);
E:=-100*(HHV(HIGH,84)-CLOSE)/(HHV(HIGH,84)-LLV(LOW,84));
底:=(( E<-98)*2000);
D5:=( C/L>1.04 AND C>REF(C,1)) AND COUNT(底,2)>=1;
DRAWTEXT(D5>0,L,'Ψ离别钩'),Color0090E0;
DIFFA:=(EEMACCLOSE12) - EEMACCLOSE26))*100+50;
Dc:=CCLL1.03 AANDDIFFA<40;
d6 :=FFILTERDc,5);
DDRAWTEXTD6>0,LL'↑霸王枪'),Color00ff00;
BB1:=LLLVLLOW5)=LLLVLLOW45) AANDCCLOSEOOPEN1.03;
BB2:=(2*CCLOSERREFHHIGH1)+RREFLLOW1))/4;
BB3:=(CCLOSEOOPEN/OOPEN100;
BB4:=RREFCCLOSE1);
BB5:=SSMAMMAXCCLOSEBB4,0),6,1)/SSMAAABSCCLOSEBB4),6,1)*100;
BB6:=CCOUNTBB5<20,20)>=1;
BB108:=BB3>9 AANDBB6;
BB7:=(CCLOSEOOPEN/OOPEN100;
BB8:=RREFCCLOSE1);
BB9:=SSMAMMAXCCLOSEBB8,0),6,1)/SSMAAABSCCLOSEBB8),6,1)*100;
BB10:=CCOUNTBB9<20,20)>=1;
BB109:=BB7>9 AANDBB10;
DDRAWTEXTbb108 OORbb109>0,LL'★拳头'),ccolorwhite
VAR1:=(100 - ((90 * (HHHVHHIGH21) - CCLOSE) / (HHHVHHIGH21) - LLLVLLOW21))));
VAR2:=(100 - ((90 * (HHHVHHIGH21) - CCLOSE) / (HHHVHHIGH21) - LLLVLLOW21))));
VAR3:=(100 - MMA((100 * (HHHVHHIGH6) - CCLOSE) / (HHHVHHIGH6) - LLLVLLOW6))),34));
DDRAWICONCCROSSVAR2,MMAVAR3,6)),(LLOW* 0.998),8);
DDRAWICONCCROSSMMAVAR3,6),VAR1),(HHIGH* 1.013),9);
DDRAWTEXTCCROSSVAR2,MMAVAR3,6)),(LLOW* 0.984),'B '),color4440FF;
DDRAWTEXTCCROSSMMAVAR3,6),VAR1),(HHIGH* 1.035),'S '),colorFFFF34;
年:MMACCLOSE26),ccolorgreen
SSTICKLINECC=年 AANDCC=OOCCOO7,0),ccolorred
SSTICKLINECC=年 AANDCC=OOHHLL0,0),ccolorred
SSTICKLINECC=年 AANDCCOOCCOO7,1),ccolorred
SSTICKLINECC=年 AANDCCOOOOHH0,0),ccolorred
SSTICKLINECC=年 AANDCCOOCCLL0,0),ccolorred
SSTICKLINECC年 AANDCCOOCCOO7,1),COLORffff00;
SSTICKLINECC年 AANDCC=OOCCOO7,1),COLORffff00;
SSTICKLINECC年 AANDCC=OOHHLL0,1),COLORffff00;
SSTICKLINECC年 AANDCCOOCCHH0,1),COLORffff00;
SSTICKLINECC年 AANDCCOOOOLL0,1),COLORffff00;