以下是同花顺荷蒲阴阳线副图指标

同花顺荷蒲阴阳线副图指标

源码

Var6:=((2*C+H+L+O)/5-LLV(CLOSE,9))/(HHV(HIGH,9)-LLV (CLOSE,9))*100;
Var7:=SMA(Var6,3,1);
Var8:=(HHV(HIGH,9)-(2*C+H+L+O)/5)/(HHV(HIGH,9)-LLV(CLOSE,9)) *100;
Var9:=REF((2*C+H+L+O)/5,1);
VarA:=SMA(MAX((2*C+H+L+O)/5-Var9,0),13,1)/SMA(ABS ((2*C+H+L+O)/5-Var9),13,1)*100;
VarB:=SMA(MAX((2*C+H+L+O)/5-Var9,0),5,1)/SMA(ABS ((2*C+H+L+O)/5-Var9),5,1)*100;
VarD:=MA(INDEXC,3)*100/MA(INDEXC,10)-100;
Var10:=IF(VarD> 10,10,VarD);
Var11:=IF(Var10< -10,-10,Var10);
Var14:=REF(VarD,1);
Var15:=100*((2*C+H+L+O)/5-REF((2*C+H+L+O)/5,1))/REF ((2*C+H+L+O)/5,1);
Var16:=INDEXC;
Var17:=REF(Var16,1);
Var18:=100*(Var16-Var17)/Var16;
Var19:=MA(Var15,3);
Var1A:=MA(Var18,3);
Var1B:=(3*C+H+L+O)/6;
Var1C:=(20*Var1B+19*REF(Var1B,1)+18*REF(Var1B,2)+17*REF (Var1B,3)+16*REF(Var1B,4)+15*REF(Var1B,5)+14*REF(Var1B,6) +13*REF(Var1B,7)+12*REF(Var1B,8)+11*REF(Var1B,9)+10*REF (Var1B,10)+9*REF(Var1B,11)+8*REF(Var1B,12)+7*REF(Var1B,13) +6*REF(Var1B,14)+5*REF(Var1B,15)+4*REF(Var1B,16)+3*REF (Var1B,17)+2*REF(Var1B,18)+REF(Var1B,20))/210;
Var1D:=MA(Var1C,12);
Var1F:=ABS(Var1C-Var1D);
Var20:=REF((2*C+H+L+O)/5,1)*0.015;
Var26:=ZIG(3,10)> REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)< REF (ZIG(3,10),2);
Var27:=ZIG(3,10)< REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)> REF (ZIG(3,10),2);
Var28:=MA(C,26);
Var29:=Var28+2*STD((2*C+H+L+O)/5,26);
Var2A:=Var28-2*STD((2*C+H+L+O)/5,26);
Var2D:=IF(Var26 AND CLOSE< Var2A,1,0);
Var2E:=IF(Var27 AND HIGH> Var29,2,Var2D);
Var2F:=IF(Var2E=1,80,45);
Var30:=IF(Var2E=2,0,Var2F);
阳1:(SMA(Var7,3,1)/2+40)*1.1,colorred;
阴1:SMA(Var8,3,1)/2*1.1, colorblue;

Y1A:SMA(阳1,3,1);
Y2A:SMA(阴1,3,1);

注意短期吃货:IF((CROSS(VarB,Y2A) OR Var30>  45),95,90),STICK,LINETHICK2 , colorred;90,STICK,LINETHICK2 ,  COLOR000000;
注意短期出货:IF((CROSS(Y1A,VarB) OR Var30<  45),85,80),STICK,LINETHICK2 , COLORf0f000;80,STICK,LINETHICK2  , COLOR000000;
个股强于大盘:IF( Var19> Var1A,75,70),STICK,LINETHICK2 ,  COLORF00FF0;70,STICK,LINETHICK2 , COLOR000000;
注意风险:IF( Var14> Var11,65,60), STICK,LINETHICK2,  colorwhite;60,STICK,LINETHICK2 , COLOR000000;
个股弱于大盘:IF( Var1A>=Var19,55,50),STICK,LINETHICK2 ,  COLOR00FF00;50,STICK,LINETHICK2 , COLOR000000;
中期持股待涨:IF( Var1C> Var1D AND Var1F> Var20 AND NOT(CROSS (75,VarA)),45,40),STICK,LINETHICK2 ,  COLOR000999;40,STICK,LINETHICK2 , COLOR000000;
下调减持:IF(Var1C< Var1D AND Var1F> Var20 AND NOT(CROSS (VarB,20)),35,30), STICK,LINETHICK2,  coloryellow;30,STICK,LINETHICK2 , COLOR000000;
盘整阶段:IF(Var1F<=Var20,25,20),STICK,LINETHICK2 ,  colorgreen;20,STICK,LINETHICK2 , COLOR000000;
阳:阳1,colorred;

阴:阴1,colorblue;

Y1:Y1A,,;
Y2:Y2A,,;
滑头:VarB,color00FF00;
主力:VarA,coloryellow;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。