{顶上发红快速抛出,蓝色凸起抛出
底线发人头,快速购入,绿色凸起购入};
源码
N:=-6;
Var1:=HHV(HIGH,21);
Var2:=LLV(LOW,21);
Var3:=EMA((CLOSE-Var2)/(Var1-Var2)*100,5);
Var4:=EMA((CLOSE-Var2)/(Var1-Var2)*100,20);
IF(CROSS(Var4,Var3) AND Var3>55,100,115);
Var6:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
Var7:=SMA(Var6,3,1);
Var8:=SMA(Var7,3,1);
Var9:=3*Var7-2*Var8;
VarA:=LLV(LOW,5);
VarB:=HHV(HIGH,5);
VarC:=EMA((CLOSE-VarA)/(VarB-VarA)*100,4)*2;
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
VarE:=3*VarC-2*VarD;
VarF:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
Var10:=POW(MA(LOW,5),2)+MA(LOW,5);
Var11:=POW(MA(HIGH,5),2)+MA(HIGH,5);
Var12:=(VarF-LLV(Var10,64))/(HHV(Var11,64)-LLV(Var10,64))*150+65-10;
Var13:=SMA(Var12,3,1)*1.5-100;
Var14:=SMA(Var13,3,1);
Var15:=3*Var13-2*Var14;
Var16:=(HIGH+LOW+CLOSE*2)/4;
Var17:=EMA(Var16,13);
Var18:=STD(Var16,13);
Var19:=(Var16-Var17)*100/Var18;
Var1A:=EMA(Var19,5);
Var1B:=EMA(Var1A,13);
Var1C:=EMA(Var1A,13)+200-100;
Var1D:=EMA(Var1C,10);
Var1E:=3*Var1C-2*Var1D;
Var1F:=Var7+VarC+Var13+Var1C;
Var20:=Var8+VarD+Var14+Var1D;
Var21:=Var9+VarE+Var15+Var1E;
Var22:=(HIGH+LOW+CLOSE)/3;
Var25:=(Var22-MA(Var22,34))/(0.015*AVEDEV(Var22,34));
Var26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
Var27:=(HIGH+LOW+CLOSE+Var22)/4;
Var28:=EMA(Var27,24);
Var29:=STD(Var27,24);
Var2A:=(Var27-Var28)/Var29*100;
Var2B:=(Var22-MA(Var22,24))/(0.015*AVEDEV(Var22,24));
Var2C:=EMA(Var2A,5);
Var2F:=((Var2C+Var2B+Var25)/3+165)/4;
Var30:=(EMA(EMA(EMA(Var2F,15),10),5)-25)*2+Var26;
Var31:=(Var1F+Var20+Var21*30)/32/5-15;
Var32:=EMA(Var31,13);
Var33:=(Var2F+Var31)/2/1.1;
价位线: EMA(Var33,1),colorffff00;
趋势线: EMA((Var30+Var32)/2,2),linethick2;
STICKLINE(趋势线-REF(趋势线,1)>0,趋势线,0,10,0);
STICKLINE(趋势线-REF(趋势线,1)<0,趋势线,0,10,0);
红灯: STICKLINE(趋势线>100,120,110,10,0),colorred ;
Var37:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var39:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var3A:=(Var37+2*Var38+3*Var39)/6;
Var3B:=MA(Var3A,3);
IF(Var3B<N,0,-35);
DRAWICON(FILTER(CROSS(价位线,趋势线) AND COUNT(Var3B<N,2)>=1 OR CROSS(价位线,0) AND COUNT(Var3B<N,1)>=1,3),-5,1);
STICKLINE(CROSS(100,价位线) OR CROSS(趋势线,价位线) AND 趋势线>80,0,趋势线,3,0);
80;