飞狐逃顶伴侣副图指标
-
相关简介:飞狐逃顶伴侣副图指标 源码 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(Var20 AND Var2Var3, Var2, 0), 12, 1); Var5:=SMA(IF(Var30 AND Var3Var2, Var3, 0), 12, 1);
-
文章来源:股海网作者:股海网发布时间:2016-06-06浏览次数:
飞狐逃顶伴侣副图指标
源码
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;
Var10:=SUM(HIGH-OPEN, 12)/SUM(OPEN-LOW, 12)*100;
Var11:=SUM(MAX(0, HIGH-REF(CLOSE, 1)), 12)/SUM(MAX(0, REF(CLOSE, 1)-LOW), 12)*100;
Var12:=AMOUNT/VOL/100;
Var13:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
Var14:=SUM(AMOUNT, 5)/Var12/100;
Var15:=SUM(AMOUNT, 13)/Var12/100;
Var16:=SUM(AMOUNT, 34)/Var12/100;
Var17:=SUM(AMOUNT, 209)/Var12/100;
Var18:=REF(VOL, 1)+REF(VOL, 2)+REF(VOL, 3)+REF(VOL, 4);
Var19:=Var18/CAPITAL;
Var20:=VOL/CAPITAL*Var13+Var19*REF(Var12, 1);
Var21:=IF(DATE<1500501, DMA(Var13, VOL/Var14), 0);
Var22:=IF(DATE<1500501, DMA(Var13, VOL/Var15), 0);
Var23:=IF(DATE<1500501, DMA(Var13, VOL/Var16), 0);
Var24:=IF(DATE<1500501, DMA(Var13, VOL/CAPITAL), 0);
AA:10*(Var21-Var24),LINETHICK3, COLORRED;
BB:10*(Var22-Var24),LINETHICK3, COLORGREEN;
CC:10*(Var23-Var24),LINETHICK3, COLORBLUE;