七剑下天山(大智慧)
<p>e1:=BARSCOUNT(c);<br />ah:=hhv(h,200);<br />
al:=llv(l,200);<br />
b0:=(ah-al)/40;<br />
kb1:=h+b0;<br />
kb2:=l-b0;<br />
stickline((e1+0)/34=FLOOR((e1+0)/34),kb2,kb2-3*b0,2,0),COLOryellow,LINETHICK3;<br />
drawtext((e1+0)/34=FLOOR((e1+0)/34),kb2-2*b0,'时间窗'),COLORwhite;<br />
STICKLINE((OPEN >=<br />
CLOSE),CLOSE,OPEN,5,0),colorFF6C00;<br />
STICKLINE((OPEN >=<br />
CLOSE),CLOSE,OPEN,4,0),colorFF7B00;<br />
STICKLINE((OPEN >=<br />
CLOSE),CLOSE,OPEN,3,0),colorFF9C00;<br />
STICKLINE((OPEN >=<br />
CLOSE),CLOSE,OPEN,2,0),colorFFBE00;<br />
STICKLINE((OPEN >=<br />
CLOSE),CLOSE,OPEN,2.5,0),colorFFCC00;<br />
STICKLINE((OPEN >=<br />
CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;<br />
STICKLINE((CLOSE >=<br />
OPEN),CLOSE,OPEN,6,0),color070084;<br />
STICKLINE((CLOSE >=<br />
OPEN),CLOSE,OPEN,5,0),color0000A3;<br />
STICKLINE((CLOSE >=<br />
OPEN),CLOSE,OPEN,4,0),color0000B7;<br />
STICKLINE((CLOSE >=<br />
OPEN),CLOSE,OPEN,3,0),color0000CD;<br />
STICKLINE((CLOSE >=<br />
OPEN),CLOSE,OPEN,2,0),color0000E9;<br />
STICKLINE((CLOSE >=<br />
OPEN),CLOSE,OPEN,2,0),color0754E9;<br />
STICKLINE((CLOSE >=<br />
OPEN),CLOSE,OPEN,1.5,0),color076EF3;<br />
STICKLINE((CLOSE >=<br />
OPEN),CLOSE,OPEN,1,0),color077BF3;<br />
STICKLINE((CLOSE ><br />
OPEN),OPEN,LOW,1,0),color0726CA;<br />
STICKLINE((CLOSE ><br />
OPEN),CLOSE,HIGH,1,0),color0726CA;<br />
STICKLINE((OPEN ><br />
CLOSE),CLOSE,LOW,1,0),colorDE9100;<br />
STICKLINE((OPEN ><br />
CLOSE),OPEN,HIGH,1,0),colorDE9100;<br />
卖出线:=98;<br />
阶段卖:=96;<br />
趋势4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA<br />
<br />
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);<br />
底部:=10;<br />
买入信号:drawicon(CROSS(趋势4,底部),low,1);<br />
卖出:drawicon(cross(卖出线,趋势4),high,2);<br />
顶压:HHv(ma(h,11),50),Color00FF00,LINETHICK3;<br />
短压:HHv(ma(h,11),15),Color0090E0,LINETHICK2;<br />
XL1:=llv(ma(h,11),1);<br />
趋势3:IF(XL1>=短压,短压,XL1),Colorwhite,LINETHICK1;<br />
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;<br />
Kk1:=ref(RSV,1);Kk2:=ref(RSV,2);ka:=rsv;Kk3:=ref(RSV,3);Kk4:=ref(RSV,4);kk5:=ref(rsv,5);<br />
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);<br />
kkk80:=sma((kk80*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);<br />
交叉:=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);<br />
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);<br />
k转折价0:=sma((k转折*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);<br />
日交叉0:=sma((交叉*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);<br />
DRAWTEXT(k转折价0>=kkk80 and<br />
k转折价0>=日交叉0,日交叉0,'●'),COLORff00ff;<br />
趋势:=<br />
3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)</p>
<p>-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),<br />
COLORYELLOW,linethick2;<br />
警戒:=趋势<=5 ;<br />
d1:=c/l>1.05 and count(警戒,3)>=1 and<br />
c/ref(c,1)>1.01;<br />
DRAWTEXT(d1>0,L,'★长生剑'),Color00FF00;<br />
趋势1:=<br />
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);</p>
<p>买入1:= c/o>1.04 and count(趋势1<10,3)>=1;<br />
D2:=(买入1);<br />
DRAWTEXT(D2>0,L,'☆孔雀翎'),Colorff00FF;<br />
m1:=(CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100;<br />
K:=SMA(M1,3,1);<br />
D:=SMA(K,3,1);<br />
J:=3*K-2*D;<br />
dd:=m1<-300;<br />
DA:=c/o>1.04 and count(m1<-300,3)>=1;<br />
D3:=DA;<br />
DRAWTEXT(D3>0,L,'★碧玉刀'),Color006EFF;<br />
个股:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;<br />
D4:=count(个股<-8,3)>=1 and ( c/l>1.05 ) ;<br />
DRAWTEXT(D4>0,L,'◎多情环'),Colorred;<br />
LCa:=REF(CLOSE,1);<br />
E:=-100*(HHV(HIGH,84)-CLOSE)/(HHV(HIGH,84)-LLV(LOW,84));</p>
<p>底:=(( E<-98)*2000);<br />
D5:=( c/l>1.04 and c>ref(c,1)) and<br />
count(底,2)>=1;<br />
DRAWTEXT(D5>0,L,'Ψ离别钩'),Color0090E0;<br />
DIFFA:=(EMA(CLOSE,12) - EMA(CLOSE,26))*100+50;<br />
Dc:=c/L>1.05 and DIFFa<40;<br />
d6 :=filter(Dc,5);<br />
DRAWTEXT(D6>0,L,'↑霸王枪'),Color00ff00;<br />
BB1:=LLV(LOW,5)=LLV(LOW,45) AND<br />
CLOSE>=OPEN*1.035 ;<br />
BB2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;<br />
BB3:=(CLOSE-OPEN)/OPEN*100;<br />
BB4:=REF(CLOSE,1);<br />
BB5:=SMA(MAX(CLOSE-BB4,0),6,1)/SMA(ABS(CLOSE-BB4),6,1)*100;</p>
<p>BB6:=COUNT(BB5<20,20)>=1;<br />
BB108:=BB3>9 AND BB6;<br />
BB7:=(CLOSE-OPEN)/OPEN*100;<br />
BB8:=REF(CLOSE,1);<br />
BB9:=SMA(MAX(CLOSE-BB8,0),6,1)/SMA(ABS(CLOSE-BB8),6,1)*100;</p>
<p>BB10:=COUNT(BB9<20,20)>=1;<br />
BB109:=BB7>9 AND BB10;<br />
DRAWTEXT(bb108 or bb109>0,L,'★拳头'),Colorwhite;</p>
<p></p>
<p> </p>
页:
[1]