Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
Var2:=SMA(SMA(Var1,3,1),3,1);
Va3:=EMA(Var2,5);
Var2;
91.307;
6.788;
49.048;
BB:Va3;
先锋:3*Var2-2*Va3;
STICKLINE(crOSS(先锋,Var2) AND 先锋<21,Var2-5,Var2+15,8,0),Color0000FF;
STICKLINE(CROSS(Var2,先锋) AND 先锋>55,Var2-5,Var2+15,8,0),ColorFFBE00;
DRAWTEXT(CROSS(先锋,Var2) AND 先锋<21,Var2-3,'理想'),Color00FFFF;
DRAWTEXT(CROSS(Var2,先锋) AND 先锋>55,Var2+15,'顶峰');
Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
Var4:=(CLOSE-LLV(CLOSE,30))/(HHV(CLOSE,30)-LLV(CLOSE,30))*100;
Var5:=EMA(CLOSE,2)-EMA(CLOSE,150);
Var6:=EMA(Var5,100);
Var7:=2*(Var5-Var6);
Var8:=POW(Var7,3)*0.1+POW(Var7,1);
Var9:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VarA:=EMA(Var9*0.97,3);
VarB:=(HIGH+LOW+CLOSE)/3;
VarC:=(VarB-MA(VarB,14))/(0.015*AVEDEV(VarB,14));
VarG:=IF(Var7>0.1,Var8,0)*5;
VarD:=LLV(HIGH,240);
VarE:=100*(CLOSE-VarD)/VarD;
VarF:=AMOUNT/vol;
VarG:=IF(Var7>0.1,Var8,0)*5;
Var10:=EMA(((CLOSE*1.1)-(CLOSE*0.9))*80,5);
Var11:=INDEXC;
Var12:=MA(Var11,5);
Var13:=MA(Var11,20);
Var14:=MA(Var11,30);
Var15:=Var14>Var12*1.08 AND Var13>Var12*1.055;
Var16:=Var12>Var11*1.03 AND Var13>Var11*1.13;
{-股票公式网站 }
Var17:=Var16;
Var18:=IF(FILTER(Var10<6,5)=1,1,0);
Var19:=Var10<6 AND Var17;
理想:IF(FILTER(Var19,1)=1,1,0)*80,STICK,COLORFF6666,LINETHICK3;
爱理想:Var19 AND Var18*80,STICK,LINETHICK2,COLORFF9966;
Var1A:=CROSS(VarG,2);
Var1B:=CROSS(VarG,4);
理想先锋:IF(FILTER((Var1A OR Var1B) AND Var4<40 AND Var3<40,5)=1,35,0),COLORRED,LINETHICK2;