源码
Var1:=VOL/CAPITAL*100;
V0L换手率: Var1, , COLORblue;
Var2:=EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16);
Var3:=1/WINNER(CLOSE);
Var4:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var5:=100-ABS(Var4);
Var6:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
Var7:=SMA(Var6,20,1);
Var8:=SMA(Var7,15,1);
Var9:=100-3*Var7+2*Var8;
VarA:=((EMA(IF(Var9>REF(Var9,1),Var9,Var9-3),3)-50)*(-1)*2/2+50)/10;
VarB:=EMA(AMOUNT,13)/EMA(VOL,13);
VarC:=(VarB/REF(VarB,1)-1)*100;
VarD:=VOL/CAPITAL*100;
VarE:=(HIGH-LOW)/((HIGH+LOW)/2)*100;
VarF:=(VarA+VarD)*VarE*VarC;
Var10:=REF(CLOSE,1);
Var11:=SUM(IF(CLOSE>Var10,VOL,0),26)/SUM(IF(CLOSE<=Var10,VOL,0),26)*100;
Var12:=IF(Var11<70,70,Var11);
Var13:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var14:=SMA(Var13,3,1);
Var15:=SMA(Var14,3,1);
Var16:=3*Var14-2*Var15;
Var17:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Var18:=SMA(Var17,6,1);
Var19:=SMA(Var18,3,1);
Var1A:=3*Var18-2*Var19;
Var1B:=IF(CROSS(Var16,Var1A) AND Var1A<20,-1,0)+IF(CROSS(Var1A,Var16) AND Var1A>80,1,0);
Var1C:=(HIGH+LOW+CLOSE)/3;
Var1D:=(Var1C-MA(Var1C,14))/(0.015*AVEDEV(Var1C,14))/2;
Var1E:=SMA(MAX(CLOSE-Var10,0),6,1)/SMA(ABS(CLOSE-Var10),6,1)*100;
Var1F:=LLV(LOW,36);
Var20:=HHV(HIGH,36);
Var21:=EMA((CLOSE-Var1F)/(Var20-Var1F)*100,9);
Var22:=IF(Var1D>100 AND Var21>50 AND CLOSE>OPEN,0.5,0)+IF(Var1E>80 AND Var21>50 AND CLOSE>OPEN,0.5,0);
Var23:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
Var24:=SMA(Var23,21,1);
Var25:=SMA(Var14,3,1);
Var26:=3*Var24-2*Var25;
Var27:=IF(Var26>80 AND Var1E>88,0.5,0);
Var28:=MA(CLOSE,80)-MA(CLOSE,13)/3;
Var29:=MA((CLOSE-Var28)/Var28,1)*100;
Var2A:=EMA(Var29,12)*0.7;
Var2B:=EMA(Var29,3);
Var2C:=SUM(VOL/CAPITAL,15);
Var2D:=CLOSE/LLV(CLOSE,120)*100;
Var2E:=(CLOSE+OPEN)/2;
Var2F:=(HIGH+LOW)/2;
Var30:=IF(CLOSE>REF(CLOSE,1),MAX(Var2E,Var2F),MIN(Var2E,Var2F));
Var31:=SUM(Var30*VOL,20)/SUM(VOL,20);
Var32:=(Var31-CLOSE)/Var31*100*(-1);
Var33:=EMA(Var32,2);
Var34:=MA(Var32,24);
Var35:=(Var33-Var29)*(-1);
Var36:=EMA(Var29,6)-50;
Var37:=MA(Var35,6)-50;
Var38:=EMA((HIGH+LOW+CLOSE)/3,9);
Var39:=(Var36-Var37)/20+EMA((HIGH+LOW+CLOSE)/3,9);
Var3A:=(Var39-Var38)*200;
Var3B:=IF(Var3A38 AND REF(Var3A,1)>REF(Var3A,2),10,0);
减四分一: IF(VarF>50 AND VarF<100 OR Var1B+Var22+Var27>0,-2.5,0), , COLORblue;
减三分一: IF(VarF>100 AND VarF<200 OR Var3B>0,-3.3,0), ,COLORYELLOW;
减二分一: IF(VarF>200,-5,0), , COLORMAGENTA;
减三分二: IF(Var2>1.1 AND Var2<1.15 AND Var21.15 AND Var2
警示录: MIN(MIN(减四分一,减三分一),MIN(减二分一,减三分二)), , COLORRED;
STICKLINE(CLOSE>OPEN,0,Var1*1,6,0), , COLORYELLOW;
STICKLINE(CLOSE>OPEN,0,Var1*0.8,6,0), , {00010001};
STICKLINE(CLOSE>OPEN,0,Var1*0.6,6,0), , {00010001};
STICKLINE(CLOSE>OPEN,0,Var1*0.4,6,0), , {00010001};
STICKLINE(CLOSE>OPEN,0,Var1*0.2,6,0), , COLORRED;
STICKLINE(CLOSE<=OPEN,0,Var1*1,6,0), , {00010001};
STICKLINE(CLOSE<=OPEN,0,Var1*0.8,6,0), , {00010001};
STICKLINE(CLOSE<=OPEN,0,Var1*0.6,6,0), , {00010001};
STICKLINE(CLOSE<=OPEN,0,Var1*0.4,6,0), , {00010001};
STICKLINE(CLOSE<=OPEN,0,Var1*0.2,6,0), , {00010001};
评论(0)