Var1:=COST(10)*0.000;
Var2:=BARSSINCE(LLV(LOW, 120));
Var3:=SUM(AMOUNT*0.010, Var2)/SUM(vol, Var2);
Var4:=1;
Var5:=SUMBARS(IF(VOL>CAPITAL*0.5, CAPITAL*0.490, VOL), CAPITAL*0.5);
Var6:=SUMBARS(IF(VOL>CAPITAL, CAPITAL*0.990, VOL), CAPITAL);
Var7:=SUMBARS(IF(VOL>CAPITAL*2, CAPITAL*1.990, VOL), CAPITAL*2);
Var8:=SUMBARS(IF(VOL>CAPITAL*4, CAPITAL*3.990, VOL), CAPITAL*4);
Var9:=MA(SUM(AMOUNT*0.010, Var5)/SUM(VOL, Var5), 5);
Var10:=MA(SUM(AMOUNT*0.010, Var6)/SUM(VOL, Var6), 5);
Var11:=MA(SUM(AMOUNT*0.010, Var7)/SUM(VOL, Var7), 5);
Var12:=MA(SUM(AMOUNT*0.010, Var8)/SUM(VOL, Var8), 5);
Var13:=IF(Var4, 0, IF(SUM(VOL, 0)<CAPITAL*0.600, Var3, Var9));
Var14:=IF(Var4, 0, IF(SUM(VOL, 0)<CAPITAL*1.200, Var3, Var10));
Var15:=IF(Var4, 0, IF(SUM(VOL, 0)<CAPITAL*2.5, Var3, Var11));
Var16:=IF(Var4, 0, IF(SUM(VOL, 0)<CAPITAL*4.800, Var3, Var12));
{ _最新股票指标公式}
短线:IF(Var13=0, AMOUNT*0.010/VOL, Var13);
中线:IF(Var14=0, AMOUNT*0.010/VOL, Var14);
长线:IF(Var15=0, AMOUNT*0.010/VOL, Var15);
强支压:IF(Var16=0, AMOUNT*0.010/VOL, Var16), linethick2;