最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 牛股启动+望远镜副图(源码、贴图)

    正文概述    2024-04-07 18:53:57  
    {望远镜 副图参数描述: N(1,100,12)M(1,100,20)}
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    STICKLINE(REF(J,7) 0 AND J 1,10,0,10,0),COLOR00FF00;
    VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
    VAR2:=SMA(VAR1,3,1);
    VAR3:=SMA(VAR2,3,1);
    贵:=N,COLOR00FF00;
    VAR4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-
    LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
    VAR5:=CROSS(VAR4,10) AND VAR3
    抄底:IF(VAR5,90,1),COLORRED;
    DRAWICON(VAR5,65,1);
    DRAWTEXT(VAR5,30,'抄底'),COLORYELLOW;
    备钱:IF(CROSS(10,VAR4),40,1),COLORFF00FF;
    DRAWICON(CROSS(10,VAR4),45,1);
    DRAWTEXT(IF(CROSS(10,VAR4),1,0),20,'$备钱'),COLORWHITE;
    危机线: 80,COLORRED,POINTDOT,LINETHICK2;
    中间线: 50,COLORFFCCCC,POINTDOT,LINETHICK2;
    安全线: 10,COLORFF00FF,POINTDOT,LINETHICK2;
    VAR6:=(2*CLOSE+HIGH+LOW)/4;
    VAR7:=LLV(LOW,M);
    VAR8:=HHV(HIGH,M);
    VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
    VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
    战术线: VAR9,COLORYELLOW,LINETHICK2;
    战略线: EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),COLORBLUE;
    STICKLINE(VAR9 VARA,VAR9,VARA,6,0),COLORRED;
    STICKLINE(VAR9 =VARA,VAR9,VARA,6,0),COLOR00FF00;
    VARB:=SUM(IF(CLOSE REF(CLOSE,7),VOL,IF(CLOSE REF(CLOSE,7),0-VOL,0)),0);
    VARC:=SUMBARS(VOL,CAPITAL);
    VARD:=IF(CLOSE LLV(CLOSE,VARC),1,-1);
    VARE:=IF(VARB LLV(VARB,VARC),1,-1);
    VARF:=VARD*VARE;
    VAR10:=IF(VARF=-1,1,0);
    关注:IF(VAR10 AND CLOSE=LLV(CLOSE,20) AND VAR3 N,70,1),COLORFFCC66;
    ---------------
    {牛股启动主图}
    AA05:MA(C,5),COLOR0099CC;五日乖离率:=(C-AA05)/AA05*100;
    BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
    速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
    加速度5:=EMA((速度5-REF(速度5,1)),3);
    AA10:=MA(C,10),COLOR00FF00;AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
    AA30:=MA(C,30);
    三拾日乖离率:=(C-AA30)/AA30*100;
    VAR1:=(AA20-AA30) REF((AA20-AA30),1)
    AND AA20 REF(AA20,1) AND AA30 REF(AA30,1);
    VAR2:=(AA30-AA20) REF((AA30-AA20),1) AND AA20 REF(AA20,1) AND AA30 REF(AA30,1);
    BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
    强势狙击:=FILTER(BB30 30 AND BB10 45 AND CROSS(BB05,60),10);
    加仓:=FILTER(COUNT(CROSS(BB05,30),5) =1 AND AA05 REF(AA05,1)AND 三拾日乖离率 REF(三拾日乖离率,1) AND AA10 REF(AA10,1) AND 加速度5 REF(加速度5,1) AND 速度5 REF(速度5,1),10) ;
    清仓:=FILTER(COUNT(CROSS(30,BB05),5) =1 AND (C AA30 OR O AA30) AND AA05 REF(AA05,1)AND 三拾日乖离率 REF(三拾日乖离率,1) AND AA10 REF(AA10,1),10);
    DRAWTEXT(加仓,LOW*0.98,' 加仓'),COLORRED;
    JC:=CROSS(0,五日乖离率) AND 三拾日乖离率 REF(三拾日乖离率,1) AND AA10 REF(AA10,1) ;
    减仓:=FILTER(JC,10);
    MR:=COUNT(CROSS(五日乖离率,0),3) =1 AND 三拾日乖离率 REF(三拾日乖离率,1) AND AA05 REF(AA05,1) AND (C/REF(C,1)-1)*100 5 AND REF(C,1) AA30;
    买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,' 减仓'),COLORCYAN;
    DRAWTEXT(买入,LOW*0.98,' 买入'),COLORYELLOW;
    DRAWTEXT(清仓 ,HIGH*1.02,' 清仓'),COLORGREEN;
    DRAWTEXT(强势狙击,LOW*0.98,' 牛股启动'),COLORYELLOW;
    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 牛股启动+望远镜副图(源码、贴图) 加入收藏