小护士指标(大智慧L2)
<p>{小护士指标(大智慧L2)版}</p><p>DRAWTEXTREL(20,5, '理想论坛.谈股论金A提供.'),linethick3,colorRed;<br />
-10,dotline,color888888,PRECIS0;<br />
80,dotline,color888888,PRECIS0;<br />
qw1:=(HIGH+LOW+CLOSE*2)/4;<br />
qw3:=EMA(qw1,10);<br />
qw4:=STD(qw1,10);<br />
qw5:=(qw1-qw3)*100/qw4;<br />
qw6:=EMA(qw5,5);<br />
rk7:=EMA(qw6,10);<br />
涨:EMA(qw6,10)+100/2-5,linethick1,colorred,PRECIS2;<br />
跌:EMA(涨,4),linethick1,colorFFFF34,PRECIS2;<br />
多线:IF(cross(涨,跌) and 跌<-10,30,0),linethick1,COLORFF00FF,PRECIS2;<br />
空线:IF(cross(跌,80),70,100),colorff9900,PRECIS2;<br />
买1:ema(跌,4),colorwhite,PRECIS2;<br />
买2:ema(买1,4),colorgreen,PRECIS2;<br />
买m3:=ema(买2,4);<br />
买m4:=ema(买m3,4);<br />
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),0,0 ),colorwhite,PRECIS0;<br />
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),8,0 ),COLOR008800,PRECIS0;<br />
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),7,0 ),COLOR009900,PRECIS0;<br />
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),6,0 ),COLOR00AA00,PRECIS0;<br />
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),5,0 ),COLOR00BB00,PRECIS0;<br />
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),4,0 ),COLOR00CC00,PRECIS0;<br />
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),3,0 ),COLOR00DD00,PRECIS0;<br />
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),2,0 ),COLOR00EE00,PRECIS0;<br />
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),1,0 ),COLOR00FF00,PRECIS0;</p>
<p>STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF,PRECIS0;<br />
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),8,0) ,COLOR0011FF,PRECIS0;<br />
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),7,0) ,COLOR0022FF,PRECIS0;<br />
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),6,0) ,COLOR0044FF,PRECIS0;<br />
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF,PRECIS0;<br />
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF,PRECIS0;<br />
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF,PRECIS0;<br />
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF,PRECIS0;<br />
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF,PRECIS0;<br />
DRAWICON(多线,30,1);<br />
DRAWICON(cross(跌,80),70,2);<br />
DRAWTEXT(cross(涨,跌) and 跌<20 and 跌>-10,40,'买入'),colorccff99;<br />
DRAWTEXT(多线>0,-20,'看涨'),color0000ff;<br />
Var811:=SUMBARS(VOL,FINANCE2(7)*100);<br />
Var822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);<br />
Var883:=(CLOSE-Var822)/Var822*100;<br />
Var884:=HHV(Var883,Var811);<br />
Var885:=LLV(Var883,Var811);<br />
Var886:=(Var883-Var885)/(Var884-Var885)*100;<br />
K:=SMA(Var886,3,1);<br />
D:=SMA(K,3,1);<br />
J:=3*K-2*D;<br />
MA1:=MA(J,3);<br />
STICKLINE(filter(J>MA1 AND J<=3,5)=1 and 跌<0,涨,涨+20,6,0),coloryellow,PRECIS0;<br />
DRAWTEXT(filter(J>MA1 AND J<=3,5)=1 and 跌<0,60,'考虑买进'),colorffffff;<br />
Var1:=MA(CLOSE,152);<br />
Var2:=MA(CLOSE,194);<br />
Var3:=Var2+2*STD(CLOSE,170);<br />
Var4:=Var1+2*STD(CLOSE,170);<br />
顶:(CLOSE>Var3)*13*10,colorblue,linethick2,PRECIS0;<br />
Var6:=EMA(HHV(HIGH,500),21);<br />
Var7:=EMA(HHV(HIGH,250),21);<br />
Var8:=EMA(HHV(HIGH,90),21);<br />
Var9:=EMA(LLV(LOW,500),21);<br />
VarA:=EMA(LLV(LOW,250),21);<br />
VarB:=EMA(LLV(LOW,90),21);<br />
VarC:=EMA((Var9*0.96+VarA*0.96+VarB*0.96+Var6*0.558+Var7*0.558+Var8*0.558)/6,21);<br />
VarD:=EMA((Var9*1.25+VarA*1.23+VarB*1.2+Var6*0.55+Var7*0.55+Var8*0.65)/6,21);<br />
VarE:=EMA((Var9*1.3+VarA*1.3+VarB*1.3+Var6*0.68+Var7*0.68+Var8*0.68)/6,21);<br />
VarF:=EMA((VarC*3+VarD*2+VarE)/6*1.738,21);<br />
Var10:=REF(LOW,1);<br />
Var11:=SMA(ABS(LOW-Var10),3,1)/SMA(MAX(LOW-Var10,0),3,1)*100;<br />
Var12:=EMA(IF(CLOSE*1.35<=VarF,Var11*10,Var11/10),3);<br />
Var13:=LLV(LOW,30);<br />
Var14:=HHV(Var12,30);<br />
Var15:=IF(MA(CLOSE,58),1,0);<br />
Var16:=EMA(IF(LOW<=Var13,(Var12+Var14*2)/2,0),3)/618*Var15;<br />
Var17:=IF(Var16>50,50,Var16)/3.82*6;<br />
Var18:=HHV(HIGH,30);<br />
Var19:=LLV(LOW,30);<br />
NL:=EMA((CLOSE-Var19)/(Var18-Var19)*100,5)/8*10;<br />
Var1A:=(EMA(AMOUNT,5)/EMA(VOL,5)/100-EMA(AMOUNT,125)/EMA(VOL,125)/100)/(EMA(AMOUNT,5)/EMA(VOL,5)/100)<-0.4;<br />
Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;<br />
Var1C:=SMA(Var1B,3,1);<br />
Var1D:=SMA(Var1C,3,1);<br />
Var1E:=(-100)*(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52));<br />
Var1F:=COUNT(Var1A,5)>=1 AND (Var1E<-99.9 OR Var1D<15 AND Var1C<12);<br />
Var20:=VOL/FINANCE2(7);<br />
Var21:=100*WINNER(CLOSE);<br />
Var22:=MA(Var21,3);<br />
Var23:=MA(Var20,34);<br />
Var24:=Var22<Var23*100 AND Var21<Var20;<br />
Var25:=SUM(IF(CLOSE>REF(CLOSE,1),1,0),0);<br />
Var26:=SUMBARS(VOL,CAPITAL);<br />
Var27:=IF(CLOSE>LLV(CLOSE,Var26),1,-1)*IF(Var25>LLV(Var25,Var26),1,-1);<br />
Var28:=COUNT(IF(Var27=-1,1,0)=1,8)>2;<br />
Var29:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100)))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100))*100<-18;<br />
Var2A:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.01;<br />
Var2B:=Var28 AND Var29 AND Var2A;<br />
Var2C:=VOL/CAPITAL>=0.02 AND VOL/CAPITAL<=0.2 AND OPEN=1.105;<br />
Var2D:=Var2C AND COUNT(Var2C,5)=1;<br />
Var2E:=Var2B OR Var2C;<br />
Var2F:=REF(CLOSE,1);<br />
Var30:=SMA(MAX(CLOSE-Var2F,0),7,1)/SMA(ABS(CLOSE-Var2F),7,1)*100;<br />
Var31:=SMA(MAX(CLOSE-Var2F,0),13,1)/SMA(ABS(CLOSE-Var2F),13,1)*100;<br />
Var32:=Var30<20 AND Var31<25;<br />
Var33:=Var32;<br />
Var34:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);<br />
Var35:=IF(CLOSE>LLV(CLOSE,Var26),1,-1);<br />
Var36:=IF(Var34>LLV(Var34,Var26),1,-1);<br />
Var37:=Var35*Var36;<br />
Var38:=IF(Var37=-1,1,0);<br />
Var39:=Var38 AND CLOSE=LLV(CLOSE,120) AND Var21<Var20;<br />
Var3A:=IF(FILTER(Var1F AND Var24 AND Var2E AND Var33 AND Var39>0,4),70,0);<br />
DRAWTEXT(FILTER(Var24 AND Var2E AND Var33 OR Var33 AND Var39,1),Var2*4-13,'抄底'),colorred;<br />
STICKLINE(IF(Var24 AND Var2E AND Var33 OR Var33 AND Var39,35,0),0,Var2*4-4,15,0),PRECIS0;<br />
Var3B:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;<br />
Var3C:=SMA(Var3B,3,1);<br />
Var3D:=SMA(Var3C,3,1);<br />
Var3E:=SMA(Var3D,3,1);<br />
Var3F:=CROSS(Var3D,Var3E) AND Var3D<20;<br />
Var40:=CROSS(Var3E,Var3D) AND Var3D>80;<br />
Var41:=5;<br />
DRAWTEXT(CROSS(Var41,NL),30,'★做底'),colorwhite;<br />
Var42:="RSI#WEEK"(12,12,12);<br />
Var43:="RSI#WEEK"(55,55,55);<br />
Var44:=REF(CLOSE,1);<br />
Var45:=SMA(MAX(CLOSE-Var44,0),6,1)/SMA(ABS(CLOSE-Var44),6,1)*100;<br />
Var46:=FILTER(Var40,5)=1 AND BARSLAST(CROSS(Var42,Var43) AND Var42<=60)>=20;<br />
STICKLINE(CROSS(Var42,Var43) AND Var42<=60,0,Var2*15+5,3,0),colormagenta,PRECIS0;<br />
{DRAWTEXT(CROSS(Var42,Var43) AND Var42<=60,(Var2*12+3)/1,'加仓'),colormagenta;}<br />
STICKLINE(CROSS(84,Var45),0,Var2*15+3,5,1),colorgreen,PRECIS0;<br />
STICKLINE(Var46,Var2*15+10,10,6,0.3),color009900,PRECIS0 ;<br />
DRAWTEXT(CROSS(84,Var45),70,'防空警报'),colorgreen ;<br />
DRAWTEXT(Var46,50,'减仓'),colorgreen ;</p>
<p>Var47:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);<br />
Var48:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;<br />
Var49:=EMA(CLOSE,2)-EMA(CLOSE,150);<br />
Var4A:=EMA(Var49,100);<br />
Var4B:=2*(Var49-Var4A);<br />
Var4C:=POW(Var4B,3)*0.1+POW(Var4B,1);<br />
Var4D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));<br />
Var4E:=EMA(Var4D*0.97,3);<br />
Var4F:=(HIGH+LOW+CLOSE)/3;<br />
Var50:=(Var4F-MA(Var4F,14))/(0.015*AVEDEV(Var4F,14));<br />
Var51:=IF(Var4B>0.1,Var4C,0)*5;<br />
Var52:=LLV(HIGH,240);<br />
Var53:=100*(CLOSE-Var52)/Var52;<br />
Var54:=AMOUNT/VOL;<br />
Var55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);<br />
Var56:=INDEXC;<br />
Var57:=MA(Var56,5);<br />
Var58:=MA(Var56,20);<br />
Var59:=MA(Var56,30);<br />
Var5A:=Var59>Var57*1.08 AND Var58>Var57*1.055;<br />
Var5B:=Var57>Var56*1.03 AND Var58>Var56*1.13;<br />
Var5C:=Var5B;<br />
Var5D:=IF(FILTER(Var55<6,5)=1,1,0);<br />
Var5E:=(Var5D AND Var53<-2.5 AND Var47<5 AND Var48=0)*60;<br />
Var5F:=Var55<6 AND Var5C;<br />
Var60:=IF(FILTER(Var5F,1)=1,1,0)*80;<br />
Var61:=Var5F AND Var5D*80;<br />
Var62:=CROSS(Var51,2);<br />
Var63:=CROSS(Var51,4);<br />
Var64:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;<br />
Var65:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;<br />
Var66:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;<br />
Var67:=REF(CLOSE,1);<br />
Var68:=SMA(MAX(CLOSE-Var67,0),5,1)/SMA(ABS(CLOSE-Var67),5,1)*100;<br />
Var69:=(HIGH+LOW+CLOSE)/3;<br />
Var6A:=(Var69-MA(Var69,14))/(0.015*AVEDEV(Var69,14));<br />
Var6B:=(Var64>=-15.8 AND Var64<=-12.2 AND Var65<=-20.8 AND Var66<=-27.5 AND Var68<=11.7 AND Var6A<=-145)*100;<br />
Var6C:=Var48=0;<br />
Var6D:=Var48=100;<br />
Var6E:=LLV(HIGH,240);<br />
Var6F:=100*(CLOSE-Var6E)/Var6E;<br />
Var70:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;<br />
Var71:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;<br />
Var72:=0;<br />
Var73:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;<br />
Var74:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;<br />
Var75:=BARSCOUNT(CLOSE);<br />
Var76:=Var73<20 AND Var74<23 AND Var75>35;<br />
Var77:=Var76 AND COUNT(Var76,1)=1;<br />
Var78:=EMA(CLOSE,21)-EMA(CLOSE,8);<br />
Var79:=EMA(Var78,5);<br />
Var7A:=TROUGHBARS(3,6,1)<4 AND CROSS(Var78,Var79);<br />
Var7B:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);<br />
Var7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);<br />
Var7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;<br />
Var7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;<br />
Var7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;<br />
Var80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;<br />
Var81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;<br />
Var82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;<br />
Var83:=(Var7D+Var7E+Var7F+Var80+Var81+Var82)/6;<br />
Var84:=EMA(Var83,3);<br />
Var85:=ABS(Var80-Var82);<br />
Var86:=(Var83+Var85)/2;<br />
Var87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;<br />
Var88:=Var87+Var86;<br />
Var89:=IF(Var7C>0 AND Var88<0,200,0);<br />
Var8A:=IF(Var86<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);<br />
Var8B:=IF(Var88<0 AND Var8A=-50,100,0);<br />
Var8C:=MA(CLOSE,3);<br />
Var8D:=REF(CLOSE,2)*0.865;<br />
Var8E:=REF(CLOSE,13)*0.772;<br />
Var8F:=MIN(Var8D,Var8E);<br />
Var90:=100*VOL/CAPITAL;<br />
Var91:=MA(CLOSE,13);<br />
Var92:=IF((CLOSE-Var8F)/CLOSE<0.03 AND SUM(Var90,5)/5<1.8,1,0);<br />
Var93:=IF(Var92>0 AND (Var8A<0 OR Var7C>0),100,0);<br />
Var94:=Var93;<br />
Var95:=IF(Var89>0 AND Var8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var92>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (Var89>0 AND Var8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var92>0) AND (Var8A<0 OR Var7C>0) AND Var93<10,50,0);<br />
Var96:=(Var89>0 AND Var8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var92>0) AND (Var8A<0 OR Var7C>0);<br />
Var97:=Var89>0 AND Var8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var92>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;<br />
Var98:=Var96 OR Var97;<br />
Var99:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);<br />
Var9A:=HIGH-REF(HIGH,1);<br />
Var9B:=REF(LOW,1)-LOW;<br />
Var9C:=SMA(IF(Var9A>0 AND Var9A>Var9B,Var9A,0),12,1);<br />
Var9D:=SMA(IF(Var9B>0 AND Var9B>Var9A,Var9B,0),12,1);<br />
Var9E:=Var9C*100/Var99;<br />
Var9F:=Var9D*100/Var99;<br />
VarA0:=SMA(ABS(Var9F-Var9E)/(Var9F+Var9E)*100,12,1);<br />
VarA1:=(VarA0+REF(VarA0,5))/2;<br />
VarA2:=SUM(HIGH-OPEN,12)/SUM(OPEN-LOW,12)*100;<br />
VarA3:=SUM(MAX(0,HIGH-REF(CLOSE,1)),12)/SUM(MAX(0,REF(CLOSE,1)-LOW),12)*100;<br />
VarA4:=AMOUNT/VOL/100;<br />
VarA5:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;<br />
VarA6:=SUM(AMOUNT,5)/VarA4/100;<br />
VarA7:=SUM(AMOUNT,13)/VarA4/100;<br />
VarA8:=SUM(AMOUNT,34)/VarA4/100;<br />
VarA9:=SUM(AMOUNT,209)/VarA4/100;<br />
VarAA:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4);<br />
VarAB:=VarAA/CAPITAL;<br />
VarAC:=VOL/CAPITAL*VarA5+VarAB*REF(VarA4,1);<br />
VarAD:=DMA(VarA5,VOL/VarA6);<br />
VarAE:=DMA(VarA5,VOL/VarA7);<br />
VarAF:=DMA(VarA5,VOL/VarA8);<br />
VarB0:=DMA(VarA5,VOL/CAPITAL);<br />
VarB1:=MA(HHV(HIGH,488),18);<br />
VarB2:=MA(HHV(HIGH,220),18);<br />
VarB3:=MA(HHV(HIGH,98),18);<br />
VarB4:=MA(LLV(LOW,488),18);<br />
VarB5:=MA(LLV(LOW,220),18);<br />
VarB6:=MA(LLV(LOW,98),18);<br />
VarB7:=MA((VarB4*0.96+VarB5*0.96+VarB6*0.96+VarB1*0.558+VarB2*0.558+VarB3*0.558)/6,18);<br />
VarB8:=MA((VarB4*1.25+VarB5*1.23+VarB6*1.2+VarB1*0.55+VarB2*0.55+VarB3*0.65)/6,18);<br />
VarB9:=MA((VarB4*1.3+VarB5*1.3+VarB6*1.3+VarB1*0.68+VarB2*0.68+VarB3*0.68)/6,18);<br />
VarBA:=MA((VarB7*3+VarB8*2+VarB9)/6*1.738,18);<br />
VarBB:=IF(DATE<=1021231,VarBA,VarBA*DAY);<br />
VarBC:=LOW;<br />
VarBD:=REF(LOW,1);<br />
VarBE:=SMA(ABS(VarBC-VarBD),3,1)/SMA(MAX(VarBC-VarBD,0),3,1)*100;<br />
VarBF:=MA(IF(CLOSE*1.35<=VarBB,VarBE*10,VarBE/10),3);<br />
VarC0:=LLV(LOW,30);<br />
VarC1:=HHV(VarBF,30);<br />
VarC2:=IF(LOW<=VarC0,(VarBF+VarC1*2)/2,0);<br />
WXBM:(MA(VarC2 AND CLOSE<COST(1),3) AND (CLOSE-VarAE)/VarAE*100<-11)*118,colorred,linethick2,PRECIS0;<br />
STICKLINE(Var7B>0,0,120,2,0),colorwhite,PRECIS0;<br />
STICKLINE(Var60>0,0,80,8,0),colorred,PRECIS0;<br />
{DRAWTEXT(Var61 OR Var98,70,'★大黑马'),coloryellow;<br />
DRAWTEXT(Var60>0,40,'★黑马'),coloryellow;<br />
DRAWTEXT(Var7B>0,60,'★探底'),colorwhite;<br />
DRAWTEXT(WXBM,100,'BM'),colorred ;}<br />
STICKLINE(Var61,0,120,8,0),color006666,PRECIS0;<br />
STICKLINE(Var98,0,90,8,0),color009999 ,PRECIS0 ;<br />
x:=c-ref(ma(c,20),11);<br />
lgl:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,50,0);<br />
wr1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*x;<br />
wr2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;<br />
wr3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*x;<br />
BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;<br />
BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;<br />
BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;<br />
s1:=(wr1+wr2+wr3+bias1+bias2+bias3)/6*x;<br />
s2:=ema(s1,3);<br />
s3:=abs(bias1-bias3);<br />
sx:=(s1+s3)/2;<br />
xc1:=(-1)*(ema(100*(1-WINNER(CLOSE)),1)-50)+50;<br />
ccc:=xc1+sx;<br />
zjz:=IF( lgl>0 and ccc<0,200,0)*x;<br />
lxl:=if(sx<0 and c=llV(c,5) and c/ref(c,1)>0.905 and c/ref(c,1)<1.05 and VOL/CAPITAL*100<5,-50,0);<br />
jbj:=if(ccc<0 and lxl=-50,100,0)*x;<br />
ma3:= ma(c,3);<br />
c0:=ref(c,2)*0.865;<br />
c1:=ref(c,13)*0.772;<br />
bot:=MIN(c0,c1);<br />
hsl:=100*vol/capital*x;<br />
ma13:=ma(c,13)*x;<br />
cxc:=if((c-bot)/c<3/100 and sum(hsl,5)/5<1.8,1,0);<br />
vmc:=if(cxc>0 and (lxl<0 or lgl>0),10,0);<br />
满仓:if((vmc>0),120,0),COLORred,linethick3,PRECIS0;<br />
DRAWTEXT(满仓>0 AND REF(满仓,1)=0,100,'满仓'),COLORred;</p>
<p></p>
<p> </p>
页:
[1]