源码
var1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
Var2:=HIGH-REF(HIGH,1);
Var3:=REF(LOW,1)-LOW;
Var4:=SMA(IF(Var2>0 AND Var2>Var3,Var2,0),12,1);
Var5:=SMA(IF(Var3>0 AND Var3>Var2,Var3,0),12,1);
Var6:=Var4*100/Var1;
Var7:=Var5*100/Var1;
Var8:=SMA(ABS(Var7-Var6)/(Var7+Var6)*100,12,1);
Var9:=(Var8+REF(Var8,5))/2;
VarA:=SUM(HIGH-OPEN,12)/SUM(OPEN-LOW,12)*100;
VarB:=SUM(MAX(0,HIGH-REF(CLOSE,1)),12)/SUM(MAX(0,REF(CLOSE,1)-LOW),12)*100;
VarC:=AMOUNT/VOL/100;
VarD:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VarE:=SUM(AMOUNT,5)/VarC/100;
VarF:=SUM(AMOUNT,13)/VarC/100;
Var10:=SUM(AMOUNT,34)/VarC/100;
Var11:=SUM(AMOUNT,209)/VarC/100;
Var12:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4);
Var13:=Var12/CAPITAL;
Var14:=VOL/CAPITAL*VarD+Var13*REF(VarC,1);
Var15:=IF(DATE<1500501,DMA(VarD,VOL/VarE),0);
Var16:=IF(DATE<1500501,DMA(VarD,VOL/VarF),0);
Var17:=IF(DATE<1500501,DMA(VarD,VOL/Var10),0);
Var18:=IF(DATE<1500501,DMA(VarD,VOL/CAPITAL),0);
Var19:=100*(CLOSE-Var15)/Var15;
Var1A:=100*(CLOSE-Var16)/Var16;
Var1B:=100*(CLOSE-Var17)/Var17;
Var1C:=100*(CLOSE-Var18)/Var18;
EMA(Var1A,2);
EMA(Var1A,5);
EMA(Var1A,10);
生命线: EMA(Var1A,60);