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

    正文概述    2024-04-13 20:35:10  

    多空对比副图:N= 1  100   5


    MA30:=EMA(CLOSE,30);
    H1:=MAX(DYNAINFO(3),DYNAINFO(5));
    L1:=MIN(DYNAINFO(3),DYNAINFO(6));
    P1:=H1-L1;
    阻力:L1+P1*7/8,COLORFFFFFF,DOTLINE;
    支撑:L1+P1*0.5/8,COLOR0080FF,DOTLINE;


    VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
    VAR2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
    VAR3:=SMA(VAR2,13,8);
    高抛:100, POINTDOT,COLOR7D7D7D;
    低吸: 0, POINTDOT;
    做多能量: SMA(VAR3,13,8),COLOR000000;
    做空能量: SMA(VAR1,21,8),COLORD2D200,LINETHICK1;

    强弱分界: 50;
    主力资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR000000;
    即将爆发线: 65,COLOR000000;
    爆发线:80,COLOR000000,LINETHICK1;
    DRAWTEXT(CROSS(主力资金,爆发线),主力资金,'★爆点'),COLOR00FFFF;
    爆发警戒线: 50,COLOR000000;
    ★买:20,COLOR000000;
    DRAWTEXT(CROSS(主力资金,抄底),主力资金,'★买'),COLOR00FFFF;
    DRAWTEXT(CROSS(主力资金,爆发警戒线),主力资金,'★加'),COLOR00FFFF;
    DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,'★加'),COLOR00FFFF;
    DRAWTEXT(CROSS(爆发线,主力资金),爆发线,'★减'),COLOR00FF00;
    短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE,LINETHICK1;

    长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR0000FF,LINETHICK3;
    20,POINTDOT,COLOR00F000;
    50,POINTDOT,COLORD0D0FF,LINETHICK2;
    80,POINTDOT,COLOR7D7D7D;
    底:短期<6 AND  长期<6,STICK,COLORFF00FF,LINETHICK2;
    DRAWTEXT(底>0,0.1,'底'),COLORFF0000; 
    针:短期<20 AND 长期>60,STICK,COLOR4080FF,LINETHICK2;
    DRAWTEXT(针>0,18.1,'针'),COLOR4080FF;

    Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
    Q3:=SMA(Q2, 9, 1);
    跨越:=EMA(Q3, 3);
    VAR12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
    机构做空能量线:=SMA(VAR12,3,1);
    大底:=0;
    ★强势区:IF(CROSS(跨越,机构做空能量线) ,大底+35,0),COLOR000000,STICK,LINETHICK1;
    DRAWTEXT(★强势区>0,35.6,'★强势区'),COLOR00FFFF;

    A0:=(L+H+C*2)/4;
    A1:=EMA(A0,N);
    A1X:=(A1-REF(A1,1))/REF(A1,1)*100;
    ☆:IF(A1X<0 AND REF(A1X,1)>=0 ,5,0),STICK,COLOR000000;
    DRAWTEXT(☆>0,95.6,'☆'),COLOR00FF00;
    ★:IF(A1X>=0 AND REF(A1X,1)<0,3,0),STICK,COLOR0000FF;
    DRAWTEXT(★>0,0.6,'★'),COLORFF00FF;
    选股公式   
    单针下20买入★阴线买★

    短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
    中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
    中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
    XG1:短期<20 AND 长期>60;

     

     

    选股公式
    四线归一   ★次日买★下跌中抄底
    短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
    中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
    中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
    长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
    XG1:短期<6 AND 中期<6 AND 中长期<6 AND 长期<6;
     

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信多空对比副图+选股公式源码 加入收藏