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

    正文概述    2024-04-13 13:24:50  

    走势:=MA(CLOSE,1);
    阿花:=expma(C,5);
    观望:EXPMA(C,9),LINETHICK2,COLORYELLOW;
    AT:=IF(DATE 1110208,1,1);
    持股:(IF(观望 REF(观望,1),观望,DRAWNULL))*AT,LINETHICK2,COLORMAGENTA;
    持币:(IF(观望 REF(观望,1),观望,DRAWNULL))*AT,LINETHICK2,COLORBLUE;
    桥:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    开怀畅饮:(20*桥+19*REF(桥,1)+18*REF(桥,2)+17*REF(桥,3)+
    16*REF(桥,4)+15*REF(桥,5)+14*REF(桥,6)+
    13*REF(桥,7)+12*REF(桥,8)+11*REF(桥,9)+
    10*REF(桥,10)+9*REF(桥,11)+8*REF(桥,12)+
    7*REF(桥,13)+6*REF(桥,14)+5*REF(桥,15)+
    4*REF(桥,16)+3*REF(桥,17)+2*REF(桥,18)+REF(桥,20))/210,POINTDOT,COLORRED;
    弱:=EXPMA(开怀畅饮,6)*AT;
    水平线:EXPMA(EMA(CLOSE,72)*1.01,10)*AT,LINETHICK2,POINTDOT,COLOR7EA321;
    M:=60;
    散值:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*AT;
    C2:=REF(C,1)*AT;
    涨停:=IF((C-C2)*100/C2 =(10-0.01*100/C2),1,0);
    STICKLINE(涨停,OPEN,CLOSE,3,0),COLORMAGENTA;
    跌停:=IF((C2-C)*100/C2 =(10-0.01*100/C2),1,0);
    STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
    STICKLINE(跌停,H,L,0,1),COLORGREEN;
    宝:=C-REF(C,1)*AT;
    月:=100*EMA(EMA(宝,6),6)/EMA(EMA(Abs(宝),6),6)*AT;
    SHORT:=7; LONG:=19*AT;
    RMA:=EMA(CLOSE,SHORT)*AT;
    NMA:=EMA(CLOSE,LONG)*AT;
    UP:=DRAWLINE(L=LLV(L,BArslAST(crOSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0)*AT;
    DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0)*AT;
    机会:=(LLV(月,2)=LLV(月,7) AND COUNT(月 0,2) AND CROSS(月,MA(月,2))) AND REF(DOWN,1) REF(DOWN,2) AND UP REF(DOWN,1)*AT;
    DRAWTEXT(机会 0,L*0.94,'全仓'),COLORMAGENTA;
    DRAWICON(机会=1,L*0.97,1);
    WY:=C
    昨阴:=REF(WY,1)*AT;
    前阴:=REF(WY,2)*AT;
    风险:=MA(LOW,20)*1.2*AT;
    强势:=MA(LOW,20)*1.05*AT;
    弱势:=MA(HIGH,20)*0.9*AT;
    安全:=MA(HIGH,20)*0.8*AT;
    强度:=IF(C 强势,IF(C 风险,4,3),IF(C 弱势 AND C 强势,2,IF(C 安全,0,1)));
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100*AT;
    彩:=SMA(RSV,3,1)*AT;
    虹:=SMA(彩,3,1)*AT;
    飘:=3*彩-2*虹*AT;
    走:=EMA(CLOSE,12)-EMA(CLOSE,26)*AT;
    辅:=EMA(走,9)*AT;
    要求:=COUNT(CROSS(走,辅),BARSLAST(辅 =0));
    加仓:=(CROSS(走,辅) AND 辅 0 AND COUNT(要求=2,21)=1);
    DRAWTEXT(加仓 AND 散值 78,L*0.96,'加仓'),COLORRED;
    DRAWICON(加仓 AND 散值 84,L*0.98,1);
    条件:=COUNT(CROSS(走势,开怀畅饮),BARSLAST(辅 =0));
    拉:=(CROSS(走势,开怀畅饮) AND COUNT(条件=4,30)=1);
    黑:=(拉 AND 飘 30 AND 走 -0.50 AND 走 0.05);
    DRAWTEXT(黑 AND 散值 80,L*0.93,'黑马启动'),COLORD17283;
    上穿:=CROSS(走势,开怀畅饮);
    突破:=上穿 AND 强度=3 AND 走 辅 AND 走 0.25 AND 走 -0.45;
    STICKLINE(突破,OPEN,CLOSE,1,0),COLORYELLOW;
    DRAWICON(突破,L*0.98,1);
    件:=CROSS(阿花,弱);
    逢低买:=(件 AND 强度=3 AND 辅 -0.65 AND 辅 0.1);
    DRAWTEXT(逢低买,L*0.93,'★逢低做多'),COLORMAGENTA;
    STICKLINE(((C = 开怀畅饮) AND (C = O)),O,C,2,1),COLOR839CE7;
    STICKLINE(((C 弱) AND (C = O)),O,C,2,1),COLORGREEN;
    DRAWICON(CROSS(观望,弱) AND 前阴,L*0.96,9);
    VAR40:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1)*AT;
    VAR41:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1)*AT;
    VAR42:=VAR40 REF(VAR41,1) ANDvol REF(VOL,1) AND CLOSE REF(CLOSE,1)*AT;
    马吃草:=(VAR42 AND COUNT(VAR42,22)=1,18,0)*AT;
    DRAWTEXT(VAR42 AND COUNT(VAR42,22)=1,H*1.06,'先短后长'),COLORD17283;
    DRAWICON(VAR42 AND COUNT(VAR42,22)=1,H*1.04,1);
    VAR51:=MA(CLOSE,27)*AT;
    VAR52:=(CLOSE-VAR51)/VAR51*100*AT;
    VARAA:=MA(VAR52,2);
    VARBB:=BARSLAST(CROSS(-10,VARAA)=1)*AT;
    VARCC:=BARSLAST(CROSS(VARAA,10)=1)*AT;
    VARDD:=VARAA -10 AND VARBB 3*AT;
    VAREE:=VARAA 10 AND VARCC 3*AT;
    坑:=IF(VARDD,VARAA,0);
    金坑:=REF(坑,1)
    等建仓:=金坑 AND 坑=0,NODRAW,COLOR3A8958;
    DRAWTEXT(金坑 AND 坑=0,L*0.92,'等建仓'),COLOR3A8958;
    PP3:=EMA(C,3),COLORRED;
    PP5:=EMA(C,5),COLOR00FF00;
    PPP:=EMA(PP5,5),COLORWHITE;
    NX:=MA(C,250),COLORRED;
    AAA1:=MA(C,5);
    BBB1:=MA(C,15);
    AF:=CROSS(AAA1,BBB1);
    好:STICKLINE(AF,LLV(L,4),LLV(L,4),50,1),COLORGREEN,LINETHICK3;

    通达信线上持股主图指标公式源码

    通达信线上持股主图指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信线上持股主图指标公式源码 加入收藏