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

    正文概述    2024-04-13 16:49:07  

    {kdj月金}
    月K:="kdJ.K#MONTH"(9,3,3);
    月J:="KDJ.J#MONTH"(9,3,3);
    {KDJ周金}
    周K:="KDJ.K#WEEK"(9,3,3);
    周J:="KDJ.J#WEEK"(9,3,3);
    {KDJ日金}
    日K:="KDJ.K#DAY"(9,3,3);
    日J:="KDJ.J#DAY"(9,3,3);
    STICKLINE(日J<150,-60,60,4,1),COLOR008000;{绿色}
    STICKLINE(月J>月K,40,60,4,0),COLOR0000FF;{红色晴天};
    STICKLINE(月J>月K AND 月J>100,60,40,4,0),COLORYELLOW;{黄色晴天}
    STICKLINE(月J>100 AND 月J STICKLINE((REF(月J,1)<0 AND 月J>0) OR (REF(月J,1)<20 AND 月J>20),40,60,4,0),COLORWHITE;{白色抄底}
    DRAWTEXT(ISLASTBAR,60,'KDJ月金'),COLORFF00FF;
    { _最新股票指标公式}
    STICKLINE(周J>周K,40,20,4,0),COLOR0000B9;{红色晴天};
    STICKLINE(周J>周K AND 周J>100,40,20,4,0),COLORYELLOW;{黄色风险天}
    STICKLINE(周J>100 AND 周J STICKLINE((REF(周J,1)<0 AND 周J>0) OR (REF(周J,1)<20 AND 周J>20),40,20,4,0),COLORWHITE;{白色抄底}
    DRAWTEXT(ISLASTBAR,40,'KDJ周金'),COLORRED;
    STICKLINE(日J>日K,20,0,4,0),COLOR000084;{红色晴天}
    STICKLINE(日J>日K AND 日J>100,0,20,4,0),COLORYELLOW;{黄色风险};
    STICKLINE(日J>100 AND 日J STICKLINE((REF(日J,1)<0 AND 日J>0) OR (REF(日J,1)<10 AND 日J>10),0,20,4,0),COLORWHITE;{白色抄底}
    DRAWTEXT(ISLASTBAR,20,'KDJ日金'),COLORWHITE;
    {吸筹}
    VAR2Q:=REF(LOW,1);
    VAR3Q:=SMA(Abs(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
    VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
    VAR5Q:=LLV(LOW,30);
    VAR6Q:=HHV(VAR4Q,100);
    VAR7Q:=IF(MA(CLOSE,58),1,0);
    VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;
    VAR9Q:=IF(VAR8Q>100,100,VAR8Q);
    吸筹:STICKLINE(VAR9Q>-120,0,VAR9Q,6,-1),COLORBLUE;
    {庄影难逃}
    趋势线T:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
    AAT:=((REF(趋势线T,1)=REF(趋势线T,1)) OR (REF(crOSS(-30,趋势线T),1) AND CROSS(趋势线T,-30)) OR 趋势线T=-30;
    BBT:=((REF(趋势线T,1)-25) AND 趋势线T>=REF(趋势线T,1)) OR (REF(CROSS(-20,趋势线T),1) AND CROSS(趋势线T,-20));
    CCT:=((REF(趋势线T,1)-30) AND 趋势线T>=REF(趋势线T,1)) OR (REF(CROSS(-25,趋势线T),1) AND CROSS(趋势线T,-25));
    底部快显:=CROSS(-20,趋势线T);
    机会来临:=CROSS(-25,趋势线T);
    砸锅卖田等:=CROSS(-30,趋势线T);
    砸锅卖田买:=AAT;
    见底信号:=BBT;
    莫错失机会:=CCT;
    庄影:IF((底部快显 OR 机会来临 OR 砸锅卖田等 OR 砸锅卖田买 OR 见底信号 OR 莫错失机会),60,0),COLORRED;{庄影难逃}
    {macd日金}
    日DIF:="MacD.DIF#DAY"(8,17,6);
    日DEA:="MACD.DEA#DAY"(8,17,6);
    {MACD周金}
    周DIF:="MACD.DIF#WEEK"(6,13,4.5);
    周DEA:="MACD.DEA#WEEK"(6,13,4.5);
    {MACD月金}
    月DIF:="MACD.DIF#MONTH"(6,13,4.5);
    月DEA:="MACD.DEA#MONTH"(6,13,4.5);
    STICKLINE(日DIF>日DEA AND 日DIF>-0.05,0,-20,4,0),COLOR000084;{红色晴天}
    DRAWTEXT(ISLASTBAR,-1,'MACD日金'),COLORWHITE;
    STICKLINE(周DIF>周DEA AND 周DIF>-0.05,-20,-40,4,0),COLOR0000B9;{红色晴天}
    DRAWTEXT(ISLASTBAR,-21,'MACD周金'),COLORRED;
    STICKLINE(月DIF>月DEA AND 月DIF>-0.05,-60,-40,4,0),COLOR0000FF;{红色晴天}
    DRAWTEXT(ISLASTBAR,-41,'MACD月金'),COLORFF00FF;
    {日线洗盘}
    STICKLINE((月J>月K) AND (周J>周K) AND (月DIF>月DEA) AND (周DIF>周DEA) AND (日J<日K),20,0,4,0),COLORGRAY;{青色备钱}
    STICKLINE((月J>月K) AND (周J>周K) AND (月DIF>月DEA) AND (周DIF>周DEA) AND (日DIF<日DEA),-20,0,4,0),COLORGRAY;{青色备钱}
    {长中短牛}
    VAR1L:=C-REF(C,1);
    VAR2L:=100*EMA(EMA(VAR1L,6),6)/EMA(EMA(ABS(VAR1L),6),6);
    MA5:=EMA(C,5);
    MA13:=EMA(C,13);
    UP:=DRAWLINE(L=LLV(L,BArslAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0),COLOR0000FF;
    DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0),COLOR00FF00;
    BT:=(LLV(VAR2L,2)=LLV(VAR2L,7) AND COUNT(VAR2L<0,2) AND CROSS(VAR2L,MA(VAR2L,2))) AND REF(DOWN,1)REF(DOWN,1);
    TJ1:=REF(DOWN,1)REF(DOWN,1) AND C HR:=HHV(HIGH,55);
    HRY:=LLV(LOW,55);
    HRY11:=HR*HRY;
    HRY33:=SQRT(HRY11);
    TJ2:=REF(DOWN,1)REF(DOWN,1) AND C {短牛}
    STICKLINE(BT AND (TJ2 OR TJ1),-20,60,2,0),COLOR000088;
    STICKLINE(BT AND (TJ2 OR TJ1),-20,60,1,0),COLOR0000CC;
    STICKLINE(BT AND (TJ2 OR TJ1),-20,60,0,0),COLOR0000FF;
    {中牛}
    STICKLINE(TJ1,20,-20,4,0),COLORAA00AA;
    STICKLINE(TJ1,20,-20,2,0),COLORCC00CC;
    STICKLINE(TJ1,20,-20,1,0),COLORFF00FF;
    {长牛}
    STICKLINE(TJ2,-60,-20,6,0),COLOR008888;
    STICKLINE(TJ2,-60,-20,4,0),COLOR00AAAA;
    STICKLINE(TJ2,-60,-20,2,0),COLOR00CCCC;
    STICKLINE(TJ2,-60,-20,1,0),COLOR00FFFF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信小助手指标公式 加入收藏