最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信cys指标公式源码分享

    正文概述    2024-05-04 04:29:05  
    N:=5; CYS:(C-(0.01*EMA(AMOUNT,13)/EMA(V,13)))/(0.01*EMA(AMOUNT,13)/EMA(V,13))*100; 底背离:REF(C,BARSLAST(REF(FILTER(BACKSET(REF(CYS,N)=LLV(CYS,2*N+1),N+1),N)ANDCYS=LLV(CYS,N+1),1))+1) CANDREF(CYS,BARSLAST(REF(FILTER(BACKSET(REF(CYS,N)=LLV(CYS,2*N+1),N+1),N)ANDCYS=LLV(CYS,N+1),1))+1) CYSANDFILTER(BACKSET(REF(CYS,N)=LLV(CYS,2*N+1),N+1),N)ANDCYS=LLV(CYS,N+1),NODRAW; DRAWLINE(FILTER(BACKSET(REF(CYS,N)=LLV(CYS,2*N+1),N+1),N)ANDCYS=LLV(CYS,N+1),CYS,FILTER(底背离 0,5),CYS,0),COLORRED,LINETHICK2; 顶背离:REF(C,BARSLAST(REF(FILTER(BACKSET(REF(CYS,N)=HHV(CYS,2*N+1),N+1),N)ANDCYS=HHV(CYS,N+1),1))+1) CANDREF(CYS,BARSLAST(REF(FILTER(BACKSET(REF(CYS,N)=HHV(CYS,2*N+1),N+1),N)ANDCYS=HHV(CYS,N+1),1))+1) CYSANDFILTER(BACKSET(REF(CYS,N)=HHV(CYS,2*N+1),N+1),N)ANDCYS=HHV(CYS,N+1),NODRAW; DRAWLINE(FILTER(BACKSET(REF(CYS,N)=HHV(CYS,2*N+1),N+1),N)ANDCYS=HHV(CYS,N+1),CYS,FILTER(顶背离 0,5),CYS,0),COLORGREEN,LINETHICK2; 归零:0,COLORYELLOW,DOTLINE,DOTLINE; 负十:-10,COLORWHITE,DOTLINE,DOTLINE; 正十:10,COLORWHITE,DOTLINE,DOTLINE; 负二十:-20,COLORRED,DOTLINE,DOTLINE; LC:=REF(CLOSE,1); 2:=SMA(maX(CLOSE-LC,0),12,1)/SMA(Abs(CLOSE-LC),12,1)*100; RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100; mms:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3); MMM:=EMA(MMS,5); AAA:=MMS-MMM; stICKLINE(AAA =0,0,AAA*5,2.3,0),COLORRED; STICKLINE(AAA 0,0,AAA*5,2.3,0),COLORGREEN; TYP:=(HIGH+LOW+CLOSE)/3; :(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORRED,LINETHICK3; MA(CCI,5),LINETHICK2; cyc13:=0.01*expma(AMOUNT,13)/EXPMA(,13); CYS:=(CLOSE-CYC13)/CYC13*2000; MA(cys,3); 周K:=".K#WEEK"(15,4,2); 周D:="kdJ.D#WEEK"(15,4,2); 周J:="KDJ.J#WEEK"(15,4,2); 月K:="KDJ.K#MONTH"(15,4,2); 月D:="KDJ.D#MONTH"(15,4,2); 月J:="KDJ.J#MONTH"(15,4,2); 月:=crOSS(月K,月D); 周金叉:=CROSS(周K,周D); DRAWTEXT(周金叉,-120,'★'),COLOR0022EE; DRAWTEXT(月金叉,-140,'KD月金叉'),COLORYELLOW; DRAWTEXT(CROSS(月D,月K),140,'KD月死叉'),COLORFFFFFF; DRAWTEXT(周金叉,-150,'KD周金叉'),COLORGREEN; DRAWTEXT(CROSS(周D,周K),125,'KD周死叉'),COLOR00DDBB; -100; 100; F1:=zig(C,8); F3:=IF(F1 =REF(F1,1),0,100); VARP1:=(CLOSE+LOW+HIGH)/3; VARP2:=SUM(((VARP1-REF(LOW,1))-(HIGH-VARP1))*VOL/100000/(HIGH-LOW),0); VARP3:=EMA(VARP2,1); JCS:=VARP3; JCM:=MA(VARP3,10); QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XVL:=(IF(CLOSE OPEN,QJJ*(HIGH-LOW),IF(CLOSE OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-QJJ*(HIGH-LOW),0-VOL/2))); HSL:=(XVL/20)/1.15; 攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)); LLJX:=EMA(攻击流量,3); 流量:=LLJX,COLORRED,LINETHICK2; XXX:=F3=0AND(CROSS(资金流量,0)ANDCROSS(JCS,JCM)); YYY:=(F3=0ANDCROSS(REF(资金流量,1),0)ANDCROSS(JCS,JCM)); ZZZ:=(F3=0ANDCROSS(资金流量,0)ANDCROSS(REF(JCS,1),REF(JCM,1))); DRAWTEXT(XXXORYYYORZZZ,-120,'买入'),COLORYELLOW; MA05:=MA(C,3)LINETHICK3,COLOR00CCFF; MA10:=MA(C,10); MA20:=MA(C,20); MA30:=MA(C,30); 五日乖离率:=(C-MA05)/MA05*100; BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416; 速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1); 加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW; BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416; 三拾日乖离率:=(C-MA30)/MA30*100,NODRAW; VAR111:=(MA20-MA30) REF((MA20-MA30),1)ANDMA20 REF(MA20,1)ANDMA30 REF(MA30,1); VAR22:=(MA30-MA20) REF((MA30-MA20),1)ANDMA20 REF(MA20,1)ANDMA30 REF(MA30,1); BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416; 强势狙击:=FILTER(BB30 30ANDBB10 45ANDCROSS(BB05,60),10); 加仓:=FILTER(COUNT(CROSS(BB05,30),5) =1ANDMA05 REF(MA05,1)AND三拾日乖离率 REF(三拾日乖离率,1)ANDMA10 REF(MA10,1) AND加速度5 REF(加速度5,1)AND速度5 REF(速度5,1),10); 清仓:=FILTER(COUNT(CROSS(30,BB05),5) =1AND(C MA30ORO MA30)ANDMA05 REF(MA05,1)AND三拾日乖离率 REF(三拾日乖离率,1)ANDMA10 REF(MA10,1),10); DRAWTEXT(加仓,-20,'加码'),COLORRED; JC:=CROSS(0,五日乖离率)AND三拾日乖离率 REF(三拾日乖离率,1)ANDMA10 REF(MA10,1); 减仓:=FILTER(JC,10); MR:=COUNT(CROSS(五日乖离率,0),3) =1AND三拾日乖离率 REF(三拾日乖离率,1)ANDMA05 REF(MA05,1)AND(C/REF(C,1)-1)*100 5ANDREF(C,1) MA30; 买入:=FILTER(MR,10); DRAWTEXT(减仓,100,'风险'),COLORCYAN;

    公式解读:

    公式解读:


     

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信cys指标公式源码分享 加入收藏