最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 梦的海洋主图指标 (源码)

    正文概述    2024-04-07 07:06:27  
    大行情:(年线-(追涨-年线)),NODRAW,LINETHICK2;
    压力线:MA(LLV(C,9)*1.1,14),COLORBROWN,LINETHICK2;
    支撑线:MA(HHV(C,26)*0.9,14),LINETHICK2;
    多空线:=(压力线+支撑线)/2,LINETHICK2;
    神马线:(压力线+支撑线)/2,COLORRED,LINETHICK2;
    神牛线:MA(LLV(C,9)*1.1,14),COLOR0099FF,LINETHICK2;
    VAR1:=EMA(EMA(CLOSE,13),13);
    控盘:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
    有庄控盘:=控盘 REF(控盘,1) AND 控盘
    SS:=有庄控盘 AND CROSS(均线1,均线2) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018
    OR CROSS(均线1,均线4) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018
    OR CROSS(均线2,均线3) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018
    OR CROSS(均线1,均线3) AND C O AND C REF(C,1) AND C/REF(C,1) =1.018 AND CROSS(均线1,均线4);
    DRAWICON(SS,L-0.04,26);
    DRAWTEXT(CROSS(追涨线,神马线),L*0.99,'↖买进'),COLORRED;
    DRAWTEXT(CROSS(神牛线,大行情),L*0.98,'↖加仓'),COLORF00FF0;
    大牛:追涨 大行情 AND 神马线 大行情 AND 神牛线 大行情,COLORF00FF0,NODRAW,LINETHICK2;
    {股票软件下载网-股票公式网站 www.9m8.cn 九毛八公式指标网}
    ZK1:= KD.K (9,3,3);
    ZD2:= KD.D (9,3,3);
    换手:=V/100,LINETHICK0;
    JCD:=FILTER(CROSS(ZK1,ZD2) AND REF(ZD2,1) 30,13),NODRAW;
    取点:=BARSLAST(JCD);
    吸筹区:=IF(取点 0 AND 取点 61,取点,0);
    ZS1:=吸筹区;
    ZS2:=吸筹区+1;
    ZS3:=换手/5;
    ZSA:=IF(ZS1 0,SUM((ZS3),吸筹区+1),0),NODRAW;
    主力筹码%:ZSA,NODRAW;
    建仓天数:ZS1,NODRAW;
    DRAWICON(JCD,H*1.005,11);
    TYP := (HIGH + LOW + CLOSE)/3;
    CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,6));
    差值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0;
    CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10));
    差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;
    CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20));
    差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;
    CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30));
    差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;
    CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));
    差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;
    CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;
    AAA:=(3*C+H+L+O)/6;
    VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;
    VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;
    VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;
    VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;
    VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;
    下跌:IF(VAR1=VAR6,VAR6, DRAWNULL),COLORGREEN;
    {条件1}
    TJ1:= CCI1
    立桩量:=FILTER(TJ1,0);
    TJ2:=IF(BARSLAST(立桩量)=1 ,1,IF(BARSLAST(立桩量)=2 ,1,
    IF(BARSLAST(立桩量)=3 ,1,0)));
    成立1:=TJ2;
    条件成立1:=FILTER(成立1,5);
    DRAWTEXT(条件成立1,H*1.005,'破红看跌'),COLORDDDD00;
    TJ11:= CCI1 -差值4 ;
    立桩量2:=FILTER(TJ11,0);
    TJ22:=IF(BARSLAST(立桩量2)=1 AND CLOSE REF(HIGH,1),1,
    IF(BARSLAST(立桩量2)=2 AND CLOSE REF(HIGH,2),1,
    IF(BARSLAST(立桩量2)=3 AND CLOSE REF(HIGH,3),1,0)));
    成立2:=TJ22;
    条件成立2:=FILTER(成立2,5);
    DRAWTEXT(条件成立2,L*0.99,'破黑看涨'),COLORDD00DD;
    TJ111:=(ABS(CCI1) CCI AND ABS( 差值1) ABS(差值5));
    立桩量3:=FILTER(TJ111,5);
    TJ222:=IF(BARSLAST(立桩量3)=1 AND CLOSE REF(HIGH,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE REF(HIGH,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE REF(HIGH,3),1,0)));
    突破3:=TJ222=1;
    STICKLINE(CLOSE AND 下跌!= VAR6,REF(HIGH,BARSLAST(立桩量3)),
    REF(HIGH,BARSLAST(立桩量3)),10,1),COLORCYAN;
    STICKLINE(CLOSE AND 下跌!= VAR6,REF(LOW,BARSLAST(立桩量3)),
    REF(LOW,BARSLAST(立桩量3)),10,1),COLORYELLOW;
    TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE REF(LOW,3),1,0)));
    三天法则:=TJ3=1;
    成立:=三天法则 AND 突破3;
    条件成立:=FILTER(成立,5);
    DRAWTEXT(条件成立 AND 下跌!= VAR6,L*0.98,'☆成立');
    STICKLINE(C =O,L,H,0,0),COLORRED;
    STICKLINE(C O,L,H,0,0),COLORFFFF00;
    STICKLINE(C O,C,O,3,0),COLORRED;
    STICKLINE(1,C,O,2.8,0),COLOR454500;
    STICKLINE(1,C,O,2,0),COLOR555500;
    STICKLINE(1,C,O,1.5,0),COLOR656500;
    STICKLINE(1,C,O,1,0),COLOR757500;
    STICKLINE(1,C,O,0.5,0),COLOR858500;
    STICKLINE(立桩量,C,O,2.8,0),COLOR000045;
    STICKLINE(立桩量,C,O,2.8,0),COLOR000065;
    STICKLINE(立桩量,C,O,2,0),COLOR000085;
    STICKLINE(立桩量,C,O,1.5,0),COLOR0000A5;
    STICKLINE(立桩量,C,O,1,0),COLOR0000C5;
    STICKLINE(立桩量,C,O,0.5,0),COLOR0000E5;

    通达信梦的海洋主图指标公式
    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 梦的海洋主图指标 (源码) 加入收藏