飞狐五彩K线副图指标
-
相关简介:飞狐五彩K线副图指标 源码 DK:=30;LSZ:=100; Var1:=5; Var2:=BARSCOUNT(CLOSE); Var3:=Var2=1; Var4:=MIN(Var2-1, Var1); Var5:=CAPITAL/1000000; Var6:=OPEN; Var7:=CLOSE; Var8:=HIGH; Var9:=LOW; Var10:=Var2; Var11:=MIN(Var10, DK); Var12:=SUM(CLOSE, Var11)/Var11; Var13:=M
-
文章来源:股海网作者:股海网发布时间:2016-02-18浏览次数:
飞狐五彩K线副图指标
源码
DK:=30;LSZ:=100;
Var1:=5;
Var2:=BARSCOUNT(CLOSE);
Var3:=Var2=1;
Var4:=MIN(Var2-1, Var1);
Var5:=CAPITAL/1000000;
Var6:=OPEN;
Var7:=CLOSE;
Var8:=HIGH;
Var9:=LOW;
Var10:=Var2;
Var11:=MIN(Var10, DK);
Var12:=SUM(CLOSE, Var11)/Var11;
Var13:=MIN(Var10, DK*5);
Var14:=SUM(CLOSE, Var13)/Var13;
Var15:=IF(Var10<DK+1, Var12, MA(Var12, 2));
Var16:=IF(Var10<2, Var15, REF(Var15, 1));
Var17:=IF(Var10<3, Var16, REF(Var15, 2));
Var18:=Var15>Var16 OR Var15=Var16 AND Var16>Var17 AND CLOSE>Var15;
Var19:=NOT(Var18);
Var20:=IF(Var10<DK*5+1, Var14, MA(Var14, 2));
Var21:=IF(Var10<2, Var20, REF(Var20, 1));
Var22:=IF(Var10<3, Var21, REF(Var20, 2));
Var23:=Var20>Var21 OR Var20=Var21 AND Var21>Var22 AND CLOSE>Var20;
Var24:=NOT(Var23);
Var25:=Var23 AND (Var12>=Var20 OR Var12<Var20 AND Var18) AND CLOSE>Var20;
Var26:=NOT(Var25);
Var27:=Var23 AND Var18 AND Var25;
Var28:=Var23 AND Var19 AND Var25;
Var29:=Var23 AND Var26;
Var30:=Var24 AND Var18;
Var31:=Var24 AND Var19;
Var32:=Var6;
Var33:=Var7;
Var34:=9;
Var35:=CLOSE<=OPEN;
Var36:=CLOSE>OPEN;
Var37:=Var3 AND Var35;
Var38:=Var3 AND Var36;
Var39:=CLOSE/REF(CLOSE, Var4);
Var40:=Var39>1;
Var41:=NOT(Var40);
Var42:=Var40 AND (LOW>REF(CLOSE, 1)+REF(OPEN, 1))/2 OR CLOSE>=REF(HIGH, 1) OR Var38;
Var43:=NOT(Var42);
Var44:=Var35 AND Var42 OR Var36 AND Var43;
Var45:=NOT(Var44);
Var46:=Var44;
Var47:=Var44;
Var48:=Var44;
Var49:=Var34;
Var50:=NOT(CAPITAL>0);
Var51:=CAPITAL;
Var52:=Var5*OPEN;
Var53:=Var5*CLOSE;
Var54:=Var5*HIGH;
Var55:=Var5*LOW;
STICKLINE(Var51, Var54, Var55, 0.200, Var47), COLORGRAY;
STICKLINE(Var51 AND Var27 AND Var42, Var52, Var53, Var49, Var48), COLORRED;
STICKLINE(Var51 AND Var28 AND Var42, Var52, Var53, Var49, Var48), COLORBROWN;
STICKLINE(Var51 AND (Var27 OR Var28) AND Var43, Var52, Var53, Var49, Var48), COLORGREEN;
STICKLINE(Var51 AND Var29 AND Var42, Var52, Var53, Var49, Var48), COLORYELLOW;
STICKLINE(Var51 AND Var30 AND Var42, Var52, Var53, Var49, Var48), COLORMAGENTA;
STICKLINE(Var51 AND Var31 AND Var43, Var52, Var53, Var49, Var48), COLORBLUE;
STICKLINE(Var51 AND ((Var29 OR Var30) AND Var43 OR Var31 AND Var42), Var52, Var53, Var49, Var48), COLORCYAN;
Var56:=OPEN*LSZ;
Var57:=CLOSE*LSZ;
Var58:=HIGH*LSZ;
Var59:=LOW*LSZ;
STICKLINE(Var50, Var58, Var59, 0.200, Var47), COLORGRAY;
STICKLINE(Var50 AND Var27 AND Var42, Var56, Var57, Var49, Var48), COLORRED;
STICKLINE(Var50 AND Var28 AND Var42, Var56, Var57, Var49, Var48), COLORBROWN;
STICKLINE(Var50 AND (Var27 OR Var28) AND Var43, Var56, Var57, Var49, Var48), COLORGREEN;
STICKLINE(Var50 AND Var29 AND Var42, Var56, Var57, Var49, Var48), COLORYELLOW;
STICKLINE(Var50 AND Var30 AND Var42, Var56, Var57, Var49, Var48), COLORMAGENTA;
STICKLINE(Var50 AND Var31 AND Var43, Var56, Var57, Var49, Var48), COLORBLUE;
STICKLINE(Var50 AND ((Var29 OR Var30) AND Var43 OR Var31 AND Var42), Var56, Var57, Var49, Var48), COLORCYAN;