以下是珍藏炒股最好用的6个指标公式源码和截图

珍藏炒股最好用的6个指标公式源码:

   BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

   上升:IF(BBI>REF(BBI,1),BBI,DRAWNULL),COLORRED;

   下降:IF(BBI<REF(BBI,1),BBI,DRAWNULL),COLORGREEN;

   VARA12:=SMA(H,10,9);

   VARA13:=SMA(L,10,9);

   卖出价参考:VARA12,COLORRED,NODRAW;

   补仓价参考:VARA13,COLORGREEN,NODRAW;

   炒股:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

   最好用的6个:=SMA(SMA(炒股,3,1),3,1)/28.57;

   指标公式:=EMA(最好用的6个,5);

   edddd1:=3*最好用的6个-2*指标公式;

   edddd2:CROSS(edddd1,最好用的6个)AND最好用的6个<2.1ANDC>O;

   DE:=CONst(LLV(L,90));

   JI:=CONST(HHV(H,90))-DE;

   DE_K:=DE+JI/3*2;

   JI_K:=JI/2;

   RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

   DE_A:=CONST(LLV(RSV,90));

   DD_A:=CONST(HHV(RSV,90))-DE_A;

   R:=(RSV-DE_A)/DD_A;

   RSV1:=R*JI_K+DE_K;

   DE_M:=DE+JI/3;

   JI_M:=JI/2;

   kdL:=CONST(LLV(Ema(C,26),90));

   KDH:=CONST(HHV(EMA(C,26),90))-KDL;

   R_K1:=(EMA(C,12)-KDL)/KDH;

   R_K2:=(EMA(C,26)-KDL)/KDH;

   DIF~:(R_K1-R_K2)*JI*1.5+DE_M;

   DEA~:EMA(DIF~,9);

   macd~:=(DIF~-DEA~)*2+DE_M;

   STICKLINE(MacD~>=DE_M,MACD~,DE_M,0,0),COLORLIBLUE;

   D_1:=MACD~>HANDH>=DE_MANDDE_M>=L;

   D_2:=MACD~>HANDH>=LANDL>DE_M;

   D_3:=H>MACD~ANDMACD~>=LANDL>DE_M;

   D_4:=H>MACD~ANDMACD~>DE_MANDDE_M>=L;

   STICKLINE(D_1>0,H,DE_M,0,0),COLORYELLOW;

   STICKLINE(D_2,H,L,0,0),COLORYELLOW;

   STICKLINE(D_3,MACD~,L,0,0),COLORYELLOW;

   STICKLINE(D_4,MACD~,DE_M,0,0),COLORYELLOW;

   D_5:=MACD~<LANDL<=DE_MANDDE_M<=H;

   D_6:=MACD~<LANDH<DE_M;

   D_7:=L<MACD~ANDMACD~<=HANDH<DE_M;

   D_8:=L<MACD~ANDMACD~<DE_MANDDE_M<=H;

   STICKLINE(MACD~<DE_M,DE_M,MACD~,0,0),COLORAA00AA;

   STICKLINE(D_5,DE_M,L,0,0),COLORYELLOW;

   STICKLINE(D_6,H,L,0,0),COLORYELLOW;

   STICKLINE(D_7,H,MACD~,0,0),COLORYELLOW;

   STICKLINE(D_8,DE_M,MACD~,0,0),COLORYELLOW;

   L_00:DE_K;

   L_20:JI_K/5+DE_K;

   L_80:JI_K*4/5+DE_K;

   L_100:JI_K+DE_K;

   B1:=MA(CLOSE,1);

   B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);

   SMA2:=MA(B2,5);

   DRAWBAND(B2,RGB(255,0,0),SMA2,RGB(0,255,0));

   {FILLRGN(B2,SMA2,B2>SMA2),COLORRED;

   FILLRGN(B2,SMA2,B2<SMA2),COLORGREEN;}

   X:=21;

   TTY:=H;

   AAT:=REF(TTY,X)=HHV(TTY,2*X+1);

   BBT:=FILTER(AAT,X);

   CCT:=BACKSET(BBT,X+1);

   HD10T:=FILTER(CCT,X);

   AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);

   BB1T:=FILTER(AA1T,X);

   CC1T:=BACKSET(BB1T,X+1);

   LD10T:=FILTER(CC1T,X);

   前期高位:REF(H,BArslAST(HD10T)),COLORBLUE,LINETHICK0;

   前期低位:REF(L,BARSLAST(LD10T)),COLORRED,LINETHICK0;

   三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);

   三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));

   三日价涨A:=C>=REF(C,1);

   三日价涨B:=C<REF(C,1);

   三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);

   TIM:=IF(DATE<1140214,1,0);

   缩倍柱:=(vol*1.95<=REF(VOL,1))*TIM;

   百日低量:=(VOL=LLV(VOL,100))*TIM;

   倍量柱:=C>REF(C,1)*1.04AND(VOL>=1.9*REF(VOL,1))*TIM;

   四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;

   四日前高量柱:=(REF(VOL,3)>=REF(VOL,4)ANDREF(VOL,3)<1.9*REF(VOL,4)AND三日量缩)*TIM;

   前三引用不成立:=COUNT(REF(四日前倍量柱,1)AND(REF(三日不破,1)ORREF(三日价涨C,1)),3)=0ANDCOUNT(REF(四日前高量柱,1)AND

   (REF(三日不破,1)ORREF(三日价涨C,1)),3)=0;

   倍量黄金柱:=四日前倍量柱AND三日量缩AND三日不破AND三日价涨AAND前三引用不成立;

   高量黄金柱:=四日前高量柱AND三日量缩AND三日不破AND三日价涨AAND前三引用不成立;

   黄金柱:=倍量黄金柱OR高量黄金柱;

   次倍量黄金柱:=NOT(黄金柱)AND四日前倍量柱AND三日量缩AND三日不破AND三日价涨BAND前三引用不成立;

   次高量黄金柱:=NOT(黄金柱)AND四日前高量柱AND三日量缩AND三日不破AND三日价涨BAND前三引用不成立;

   次黄金柱:=次倍量黄金柱OR次高量黄金柱;

   准倍量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前倍量柱AND((三日量缩AND三日价涨C)OR(COUNT(倍量柱,3)>=1AND三日不破))

   AND前三引用不成立;

   准高量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前高量柱AND(三日量缩AND三日价涨C)AND前三引用不成立;

   准黄金柱:=准倍量黄金柱OR准高量黄金柱;

   倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日前倍量柱AND三日不破AND三日价涨AAND前三引用不成立;

   高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日前高量柱AND三日不破AND三日价涨AAND前三引用不成立;

   将军柱:=倍量将军柱OR高量将军柱;

   BACKSET101:=BACKSET(黄金柱,4);

   FILTER101:=FILTER(BACKSET101,3);

   AAA:=(3*C+H+L+O)/6;

   VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;

   TJ1:=VOL>=HHV(VOL,3)ANDVOL>2*REF(VOL,1)ANDCLOSE>VAR1;

   将军柱1:=FILTER(TJ1,5);

   TJ2:=IF(BARSLAST(将军柱1)=1ANDCLOSE>REF(HIGH,1),1,IF(BARSLAST(将军柱1)=2ANDCLOSE>REF(HIGH,2),1,IF(BARSLAST(将军柱1)=3ANDCLOSE>REF(HIGH,3),1,0)));

   突破:TJ2=1;

   STICKLINE(CLOSE,REF(HIGH,BARSLAST(将军柱1)),REF(HIGH,BARSLAST(将军柱1)),1,0),COLORWHITE;

   STICKLINE(CLOSE,REF(LOW,BARSLAST(将军柱)),REF(LOW,BARSLAST(将军柱)),1,0),COLORYELLOW;

   TJ3:=IF(BARSLAST(将军柱1)=1ANDCLOSE>REF(LOW,1),1,IF(BARSLAST(将军柱1)=2ANDCLOSE>REF(LOW,2),1,IF(BARSLAST(将军柱1)=3ANDCLOSE>REF(LOW,3),1,0)));

   三天法则:=TJ3=1;

   成立:三天法则AND突破;

   条件成立:=FILTER(成立,3);

   DRAWTEXT(条件成立,L*0.99,’将军柱1′),COLORYELLOW;

   高:=REF(HHV(H,80),3);

   低:=REF(LLV(L,80),3);

   H19:=高-(高-低);

   H38:=高-(高-低);

   H中:=高-(高-低);

   H61:=高-(高-低);

   H80:=高-(高-低);

   顶点:REFDATE(高,DATE),POINTDOT,LINETHICK2,COLORWHITE;

   低点:REFDATE(低,DATE),POINTDOT,LINETHICK2,COLORWHITE;

   {DRAWKLINE(H,O,L,C);}

   {主图中的倍量k线如何变黄色}

   V2V:=V/REF(V,1)>=1.9ANDC>REF(C,1);

   STICKLINE(V2V,O,C,-1,0),COLORYELLOW;

   {涨停}

   ZT:=C/REF(C,1)>1.097;

   STICKLINE(ZT,O,C,-1,0),COLORMAGENTA;

   MAXV:=CONST(HHV(VOL,90));

   MAXS:=CONST(HHV(HIGH,90));

   bs:=MAXV/MAXS;

   VOLUME:=VOL/BS*0.10;

   ORIGIN:=CONST(LLV(LOW,0))-CONST(0.5*HHV(VOLUME,0)),;

   STICKLINE(CLOSE>=OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORRED;

   STICKLINE(CLOSE<OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORGREEN;

珍藏炒股最好用的6个指标公式截图

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