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

    正文概述    2024-04-13 13:26:42  

    请设置计算参数:

    周期高: Param#0 (0.00--1000.00)

    周期低: Param#1 (0.00--1000.00)

    测幅价: Param#2 (0.00--1000.00)

    TJ360:=C=HHV(C,150);{黑马线}

    TS360:=BARSLAST(TJ360);

    HHC360:=REF(C,TS360);

    RHHC360:=REF(HHC360,1);

    TJ1360:=H L AND C RHHC360 ;

    CS1360:=BARSLASTCOUNT(TJ1360);

    CSS:=COUNT(CS1360=1,60);

    MR:=CS1360=1 AND CSS=1;

    HMXTS:=BARSLAST(MR);

    黑马线:CONST(REF(C,HMXTS)),COLORFFFF00,LINETHICK2;

    STICKLINE((BARSLAST(MONTH!=REF(MONTH,1) OR DATETODAY(DATE)=1))+1=1,H#MONTH,L#MONTH,0,-1),COLORGREEN;

    月:REF(O,BARSLAST(MONTH!=REF(MONTH,1))),COLORRED,NODRAW;

    STICKLINE(C 月,月,月,5,0),COLORRED;

    STICKLINE(C 月,月,月,5,0),COLORFFFF00;

    STICKLINE(C=月,月,月,5,0),COLORWHITE;

    MCST:DMA(AMOUNT/(100*V),V/CAPITAL),COLORFC9F99;

    缩量连阴:=COUNT((C REF(C,1) OR L REF(L,1)) AND V =REF(V,1),6)

    阳盖阴:=REF(C O,1) AND C REF(O,1) AND C REF(C,1) AND C

    低位:=C LLV(L,250)*1.5;

    近底:=C =HHV(H,20)*0.82;

    低位阳盖阴:=REF(缩量连阴,1) AND 低位 AND 阳盖阴;

    CC:=REF(L,BARSLAST(低位阳盖阴));

    妖线:EMA(EMA(C,9)*1.11,5),COLORLIMAGENTA,LINETHICK2;

    日:=25;昨前:=3;

    AA:=REF(HHV(H,日),昨前);

    BB:=REF(LLV(L,日),昨前);

    AAA:=BARSLAST(AA);

    BBB:=BARSLAST(BB);

    CCC:=BARSLAST(低位阳盖阴);

    测幅时:=CCC AAA AND CCC

    侧幅位:=低位阳盖阴 AND 测幅时;

    H1:=测幅价+(周期高-周期低)*0.618;

    H2:=测幅价+(周期高-周期低)*1;

    H3:=测幅价+(周期高-周期低)*1.618;

    高:REFDATE(周期高,DATE),COLORRED;

    底:REFDATE(周期低,DATE),COLORGREEN;

    目标1:REFDATE(H1,DATE),COLORWHITE;

    目标2:REFDATE(H2,DATE),COLORYELLOW;

    目标3:REFDATE(H3,DATE),COLORLIMAGENTA;

    DRAWNUMBER(ISLASTBAR,周期高,周期高),COLORRED;

    DRAWNUMBER(ISLASTBAR,周期低,周期低),COLORGREEN;

    DRAWNUMBER(ISLASTBAR,H1,H1),COLORWHITE;

    DRAWNUMBER(ISLASTBAR,H2,H2),COLORYELLOW;

    DRAWNUMBER(ISLASTBAR,H3,H3),COLORLIMAGENTA;

    DRAWICON(低位阳盖阴,L,23);

    STICKLINE(低位阳盖阴,O,C,2,0),COLOR00FFCC;

    高D:=REF(HHV(H,72),5);

    龙门:REFDATE(高D,DATE),COLORWHITE,LINETHICK2;

    Z1:=STRCAT(HYBLOCK,' ');

    Z2:=STRCAT(Z1,DYBLOCK);

    Z3:=STRCAT(Z2,' ');

    DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORWHITE;

    板块所属:DRAWTEXT_FIX(1,0.5,0,0,'板块所属:'),COLORYELLOW;

    DRAWTEXT_FIX(1,0.56,0,0,FGBLOCK),COLORYELLOW;

    DRAWTEXT_FIX(ISLASTBAR,0,0.9,0,STRCAT(' ',ZDBLOCK)),COLORFFFF00;

    DRAWTEXT(CURRBARSCOUNT=1,L*0.995,EXTERNSTR(0,4)); { 涨停原因}

    {量学理论}

    金线:=1;

    临界点:=0;

    比系数:=1.3;

    均价:=(3*C+L+3*O+H)/8;

    RV1:=REF(V,1);

    RV2:=REF(V,2);

    RV3:=REF(V,3);

    RC1:=REF(C,1);

    RC2:=REF(C,2);

    RC3:=REF(C,3);

    RC4:=REF(C,4);

    RO1:=REF(O,1);

    RO2:=REF(O,2);

    RO3:=REF(O,3);

    RO4:=REF(O,4);

    不破价顶:=(C =RC3) AND RC1 =RC3 AND RC2 =RC3;

    不破价底:=L RO3 AND REF(L,1) RO3 AND REF(L,2)

    RJ1:=REF(均价,1);

    RJ2:=REF(均价,2);

    阳柱:=C =O OR (C O AND 均价 RC1);

    三日二阳:=COUNT(阳柱,3)

    基价柱阳:=RC3

    价渐升:=(均价 =RJ1 OR C RC1) AND (RJ1 =RJ2 OR RC1 =RC2);

    均价升:=(C+RC1+RC2)/3

    量渐升:=V RV1 AND RV1

    量渐减:=V RV1 AND RV1 =RV2;

    均量减:=((V+RV1+RV2)/3) =RV3;

    日价量比:=C/V;

    日价量比升:=日价量比 =REF(日价量比,1) AND REF(日价量比,1) =REF(日价量比,2);

    均价升幅:=(C+RC1+RC2)/3/RC3;

    均量升幅:=(V+RV1+RV2)/3/RV3;

    价量比:=比系数*均价升幅/均量升幅

    基前跳空:=RO3 RC4 AND RC4

    黄金柱1T:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空;

    BACKSET101T:=BACKSET(黄金柱1T,5);

    FILTER101T:=FILTER(BACKSET101T,4);

    黄金柱1:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 ;

    BACKSET101:=BACKSET(黄金柱1,4);

    FILTER101:=FILTER(BACKSET101,3);

    黄金柱11:=黄金柱1 AND REF(黄金柱1,1);

    BACKSET1011:=BACKSET(黄金柱11,4);

    FILTER1011:=FILTER(BACKSET1011,3);

    黄金柱12:=黄金柱1 AND REF(黄金柱1,2);

    BACKSET1012:=BACKSET(黄金柱12,4);

    FILTER1012:=FILTER(BACKSET1012,3);

    黄金柱13:=黄金柱1 AND REF(黄金柱1,3);

    BACKSET1013:=BACKSET(黄金柱13,4);

    FILTER1013:=FILTER(BACKSET1013,3);

    黄金柱2T:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T);

    BA201T:=BACKSET(黄金柱2T,5);

    FILTER201T:=FILTER(BA201T,4);

    黄金柱2:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱1T);

    BACKSET201:=BACKSET(黄金柱2,4);

    FILTER201:=FILTER(BACKSET201,3);

    黄金柱21:=黄金柱2 AND REF(黄金柱2,1);

    BACKSET2011:=BACKSET(黄金柱21,4);

    FILTER2011:=FILTER(BACKSET2011,3);

    黄金柱22:=黄金柱2 AND REF(黄金柱2,2);

    BACKSET2012:=BACKSET(黄金柱22,4);

    FILTER2012:=FILTER(BACKSET2012,3);

    黄金柱23:=黄金柱2 AND REF(黄金柱2,3);

    BACKSET2013:=BACKSET(黄金柱23,4);

    FILTER2013:=FILTER(BACKSET2013,3);

    黄金柱3T:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);

    BACKSET301T:=BACKSET(黄金柱3T,5);

    FILTER301T:=FILTER(BACKSET301T,4);

    黄金柱3:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);

    BACKSET301:=BACKSET(黄金柱3,4);

    FILTER301:=FILTER(BACKSET301,3);

    黄金柱31:=黄金柱3 AND REF(黄金柱3,1);

    BACKSET3011:=BACKSET(黄金柱31,4);

    FILTER3011:=FILTER(BACKSET3011,3);

    黄金柱32:=黄金柱3 AND REF(黄金柱3,2);

    BACKSET3012:=BACKSET(黄金柱32,4);

    FILTER3012:=FILTER(BACKSET3012,3);

    黄金柱33:=黄金柱3 AND REF(黄金柱3,3);

    BACKSET3013:=BACKSET(黄金柱33,4);

    FILTER3013:=FILTER(BACKSET3013,3);

    黄金柱4T:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T) AND NOT(黄金柱2) AND NOT(黄金柱2T) AND NOT(黄金柱3) AND NOT(黄金柱3T);

    BACKSET401T:=BACKSET(黄金柱4T,5);

    FILTER401T:=FILTER(BACKSET401T,4);

    黄金柱4:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T);

    BACKSET401:=BACKSET(黄金柱4,4);

    FILTER401:=FILTER(BACKSET401,3);

    黄金柱41:=黄金柱4 AND REF(黄金柱4,1);

    BACKSET4011:=BACKSET(黄金柱41,4);

    FILTER4011:=FILTER(BACKSET4011,3);

    黄金柱42:=黄金柱4 AND REF(黄金柱4,2);

    BACKSET4012:=BACKSET(黄金柱42,4);

    FILTER4012:=FILTER(BACKSET4012,3);

    黄金柱43:=黄金柱4 AND REF(黄金柱4,3);

    BACKSET4013:=BACKSET(黄金柱43,4);

    FILTER4013:=FILTER(BACKSET4013,3);

    黄金柱5T:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);

    BACKSET501T:=BACKSET(黄金柱5T,5);

    FILTER501T:=FILTER(BACKSET501T,4);

    黄金柱5:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);

    BACKSET501:=BACKSET(黄金柱5,4);

    FILTER501:=FILTER(BACKSET501,3);

    黄金柱51:=黄金柱5 AND REF(黄金柱5,1);

    BACKSET5011:=BACKSET(黄金柱51,4);

    FILTER5011:=FILTER(BACKSET5011,3);

    黄金柱52:=黄金柱5 AND REF(黄金柱5,2);

    BACKSET5012:=BACKSET(黄金柱52,4);

    FILTER5012:=FILTER(BACKSET5012,3);

    黄金柱53:=黄金柱5 AND REF(黄金柱5,3);

    BASET5013:=BACKSET(黄金柱53,4);

    FILTER5013:=FILTER(BASET5013,3);

    黄金柱6T:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);

    BACKSET601T:=BACKSET(黄金柱6T,5);

    FILTER601T:=FILTER(BACKSET601T,4);

    黄金柱6:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);

    BACKSET601:=BACKSET(黄金柱6,4);

    FILTER601:=FILTER(BACKSET601,3);

    黄金柱61:=黄金柱6 AND REF(黄金柱6,1);

    BACKSET6011:=BACKSET(黄金柱61,4);

    FILTER6011:=FILTER(BACKSET6011,3);

    黄金柱62:=黄金柱6 AND REF(黄金柱6,2);

    BACKSET6012:=BACKSET(黄金柱62,4);

    FILTER6012:=FILTER(BACKSET6012,3);

    黄金柱63:=黄金柱6 AND REF(黄金柱6,3);

    BACKSET6013:=BACKSET(黄金柱63,4);

    FILTER6013:=FILTER(BACKSET6013,3);

    FIL1:=(FILTER101 AND NOT(REF(FILTER101,4))) OR (FILTER1011 AND NOT(REF(FILTER1011,4))) OR (FILTER1012 AND NOT(REF(FILTER1012,4))) OR (FILTER1013 AND NOT(REF(FILTER1013,4)));

    FIL2:=(FILTER201 AND NOT(REF(FILTER201,4))) OR (FILTER2011 AND NOT(REF(FILTER2011,4))) OR (FILTER2012 AND NOT(REF(FILTER2012,4))) OR (FILTER2013 AND NOT(REF(FILTER2013,4)));

    FIL3:=(FILTER301 AND NOT(REF(FILTER301,4))) OR (FILTER3011 AND NOT(REF(FILTER3011,4))) OR (FILTER3012 AND NOT(REF(FILTER3012,4))) OR (FILTER3013 AND NOT(REF(FILTER3013,4)));

    FIL4:=(FILTER401 AND NOT(REF(FILTER401,4))) OR (FILTER4011 AND NOT(REF(FILTER4011,4))) OR (FILTER4012 AND NOT(REF(FILTER4012,4))) OR (FILTER4013 AND NOT(REF(FILTER4013,4)));

    FIL5:=(FILTER501 AND NOT(REF(FILTER501,4))) OR (FILTER5011 AND NOT(REF(FILTER5011,4))) OR (FILTER5012 AND NOT(REF(FILTER5012,4))) OR (FILTER5013 AND NOT(REF(FILTER5013,4)));

    FIL6:=(FILTER601 AND NOT(REF(FILTER601,4))) OR (FILTER6011 AND NOT(REF(FILTER6011,4))) OR (FILTER6012 AND NOT(REF(FILTER6012,4))) OR (FILTER6013 AND NOT(REF(FILTER6013,4)));

    FIL1T:=(FILTER101T AND NOT(REF(FILTER101T,5)));

    FIL2T:=(FILTER201T AND NOT(REF(FILTER201T,5)));

    FIL3T:=(FILTER301T AND NOT(REF(FILTER301T,5)));

    FIL4T:=(FILTER401T AND NOT(REF(FILTER401T,5)));

    FIL5T:=(FILTER501T AND NOT(REF(FILTER501T,5)));

    FIL6T:=(FILTER601T AND NOT(REF(FILTER601T,5)));

    FILT:=FIL1T OR FIL2T OR FIL3T OR FIL4T OR FIL5T OR FIL6T;

    STICKLINE(FILT AND NOT(REF(FILT,5)),OPEN,CLOSE,2.5,0),COLORYELLOW;

    STICKLINE(FILT AND NOT(REF(FILT,5)),OPEN,CLOSE,1,0),COLORFF00FF;

    DRAWTEXT (FILT AND NOT(REF(FILT,5)),MIN(C,O)*0.973,'↖元帅柱'),COLOR0000FF;

    K2:=SUMBARS(FILT AND NOT(REF(FILT,5)),1);

    STICKLINE(K2 AND 金线=1,REF(C,K2-1),REF(C,K2-1),5,0),COLOR9900FF;

    TM:=120082399;

    涨停:IF(DATE TM,ZTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORRED;

    跌停:IF(DATE TM,DTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORGREEN;

    明涨停:IF(DATE TM,C*IF(CODELIKE('688'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)),C*(IF(CODELIKE('688') OR CODELIKE('300'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)))),NODRAW,COLORLIMAGENTA;

    明跌停:IF(DATE TM,C*IF(CODELIKE('688'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)),C*(IF(CODELIKE('688') OR CODELIKE('300'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)))),NODRAW,COLORFFFF00;

    ZT:=C =涨停 AND PERIOD=5 AND H=C;

    ZT1:=H =涨停 AND PERIOD=5 AND H

    DT:=C =跌停 AND PERIOD=5 AND L=C;

    DT1:=L =跌停 AND PERIOD=5 AND L

    DRAWTEXT(DT1,L-0.09,'撬'),COLORCC00CC;{从涨停到跌停};

    DRAWTEXT(ZT1,H+0.03,'炸'),COLOR00CC00;{从涨停到跌停};

    LB:=REF(EVERY(ZT,3),2) AND REF(H=HHV(H,20),1) AND H REF(H,1);

    LBQ:=BARSLAST(LB);

    打折:REF(H,LBQ+1)*0.65,NODRAW,COLORWHITE;

    STICKLINE(打折,打折,打折,5,0),COLORFFFF44;

    Q3:=STRCAT(CON2STR(打折,2),'打折线');

    DRAWTEXT(ISLASTBAR,打折,VARCAT(VARCAT('打折价',VAR2STR(打折,2)),'元'))COLORFFFF00;

    连阴:=COUNT((C REF(C,1) OR L REF(L,1)),10)

    间谍:=EXIST(连阴,3) AND (DT OR DT1) AND 近底;

    卧龙根价:DRAWLINE(间谍,(C+O)/2,REF(间谍,1),REF((C+O)/2,1),1),COLOR55FFCC;

    卧龙根上:=DRAWLINE(间谍,H,REF(间谍,1),REF(H,1),1),COLOR55FFCC,DOTLINE;

    卧龙根下:=DRAWLINE(间谍,L,REF(间谍,1),REF(L,1),1),COLOR55FFCC,DOTLINE;

    {曾涨跌停打开K线颜色设置}

    STICKLINE(ZT1,C,(O+C)/2,3,0),COLORFF00FF;

    STICKLINE(ZT1,C,(O+C)/2,2.2,0),COLORFF00FF;

    STICKLINE(ZT1,C,(O+C)/2,1.5,0),COLOR0000FF;

    STICKLINE(ZT1,O,(O+C)/2,3,0),COLOR999999;

    STICKLINE(ZT1,O,(O+C)/2,2.2,0),COLORBBBBBB;

    STICKLINE(ZT1,O,(O+C)/2,1.5,0),COLORDDDDDD;

    STICKLINE(DT1,O,(O+C)/2,3,0),COLOR888888;

    STICKLINE(DT1,O,(O+C)/2,2.2,0),COLORBBBBBB;

    STICKLINE(DT1,O,(O+C)/2,1.5,0),COLORDDDDDD;

    STICKLINE(DT1,C,(O+C)/2,3,0),COLOR009900;

    STICKLINE(DT1,C,(O+C)/2,2.2,0),COLOR00BB00;

    STICKLINE(DT1,C,(O+C)/2,1.5,0),COLOR00DD00;

    STICKLINE(DT1,C,(O+C)/2,0.5,0),COLOR00FF00;

    {涨停K线颜色设置}

    STICKLINE(ZT,C,(O+C)/2,3,0),COLOR000099;

    STICKLINE(ZT,C,(O+C)/2,2.2,0),COLOR0000CC;

    STICKLINE(ZT,C,(O+C)/2,1.5,0),COLOR0000FF;

    STICKLINE(ZT,C,(O+C)/2,0.5,0),COLORCC66FF;

    STICKLINE(ZT,O,(O+C)/2,3,0),COLOR999999;

    STICKLINE(ZT,O,(O+C)/2,2.2,0),COLORBBBBBB;

    STICKLINE(ZT,O,(O+C)/2,1.5,0),COLORDDDDDD;

    STICKLINE(ZT,O,(O+C)/2,0.5,0),COLORFFFFFF;

    STICKLINE(DT,O,(O+C)/2,3,0),COLOR999999;

    STICKLINE(DT,O,(O+C)/2,2.2,0),COLORBBBBBB;

    STICKLINE(DT,O,(O+C)/2,1.5,0),COLORDDDDDD;

    STICKLINE(DT,O,(O+C)/2,0.5,0),COLORFFFFFF;

    STICKLINE(DT,C,(O+C)/2,3,0),COLOR009900;

    STICKLINE(DT,C,(O+C)/2,2.2,0),COLOR00BB00;

    STICKLINE(DT,C,(O+C)/2,1.5,0),COLOR00DD00;

    STICKLINE(DT,C,(O+C)/2,0.5,0),COLOR00FF00;

    假阴:=REF(C =O,1) AND AMOUNT/V/100 REF(C,1) AND C

    假阳:=REF(C =O,1) AND H REF(O,1) AND C (REF(O-C,1))/3+REF(C,1) AND AMOUNT/V/100 REF(C,1) AND C

    STICKLINE(假阴,O,C,0.2,0),COLORRED;{假阴柱};

    STICKLINE(假阳,O,C,0.7,0),COLORLIGREEN;{假阳柱};

    WWW70822COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

    跟庄看盘:DRAWNULL,COLOR0088FF;

    现价:REFDATE(C,DATE),DOTLINE,COLORLIGRAY;

    A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));

    A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1);

    金线王:EMA(A2,200)*1.118,LINETHICK2,COLORYELLOW;

    金线王2:EMA(A2,200)*1.118,LINETHICK1,COLORRED;

    首板:=ZT AND COUNT(ZT,2)=1;

    二板:=REF(首板,1) AND ZT;

    三板:=REF(二板,1) AND ZT;

    四板:=REF(三板,1) AND ZT;

    五板:=REF(四板,1) AND ZT;

    六板:=REF(五板,1) AND ZT;

    七板:=REF(六板,1) AND ZT;

    八板:=REF(七板,1) AND ZT;

    九板:=REF(八板,1) AND ZT;

    十板:=REF(九板,1) AND ZT;

    DRAWTEXT(首板,0.1+(C+O)/2,'1'),COLORWHITE;

    DRAWTEXT(二板,0.1+(C+O)/2,'2'),COLORYELLOW;

    DRAWTEXT(三板,0.1+(C+O)/2,'3'),COLOR00CC99;

    DRAWTEXT(四板,0.1+(C+O)/2,'4'),COLORGREEN;

    DRAWTEXT(五板,0.1+(C+O)/2,'5'),COLORLIGRAY;

    DRAWTEXT(六板,0.1+(C+O)/2,'6'),COLORLIRED;

    DRAWTEXT(七板,0.1+(C+O)/2,'7'),COLORLIBLUE;

    DRAWTEXT(八板,0.1+(C+O)/2,'8'),COLORBLUE;

    DRAWTEXT(九板,0.1+(C+O)/2,'9'),COLORWHITE;

    DRAWTEXT(十板,0.1+(C+O)/2,'10'),COLORYELLOW;

    LY:=COUNT(L REF(L,1) OR C REF(C,1),10)

    CYDZ:=L HHV(H,30)*0.75 AND EXIST(LY,3) AND L=LLV(L,20) AND O C AND C/REF(C,1) 0.965 AND (V/REF(V,1)*0.6 OR (V REF(V,1)*1.2 AND V HHV(V,5)*0.381));

    ZQ:=BARSLAST(CYDZ);

    GF:=CROSS(C,REF(O,ZQ));

    DRAWLINE(CYDZ,O,REF(CYDZ,1),REF(O,1),1),COLORWHITE,DOTLINE;

    {分析家公式网 WWW.70822.COM 整理}

    VAR121:=ZIG(3,6) REF(ZIG(3,6),1) AND REF(ZIG(3,6),1) =REF(ZIG(3,6),2) AND REF(ZIG(3,6),2) =REF(ZIG(3,6),3);

    VAR141:=ZIG(3,25) REF(ZIG(3,25),1) AND REF(ZIG(3,25),1) =REF(ZIG(3,25),2) AND REF(ZIG(3,25),2) =REF(ZIG(3,25),3);

    VAR161:=ZIG(3,55) REF(ZIG(3,55),1) AND REF(ZIG(3,55),1) =REF(ZIG(3,55),2) AND REF(ZIG(3,55),2) =REF(ZIG(3,55),3);

    VAR181:=ZIG(3,72) REF(ZIG(3,72),1) AND REF(ZIG(3,72),1) =REF(ZIG(3,72),2) AND REF(ZIG(3,72),2) =REF(ZIG(3,72),3);

    卖:=VAR121+VAR141+VAR161+VAR181;

    DRAWLINE(卖,H,BARSLAST(卖) =1,REF(H,BARSLAST(卖)),1),COLORYELLOW,LINETHICK2;

    A11:=EMA(C,12)-EMA(C,25);

    A12:=EMA(A11,6);

    获利回吐:=(A12 =0)*A12,COLORWHITE,LINETHICK0;

    大黑马:=(A12 0)*A12,COLORD4FF7F,LINETHICK0;

    坚绝做空:=(A11 0)*A11,COLORB00058,LINETHICK0;

    买入持股:=(A11 =0)*A11,COLORRED,LINETHICK0;

    VAR8:=VOL 2*MA(VOL,30);

    VARB:=CLOSE MA(CLOSE,30) AND CLOSE MA(CLOSE,30)*1.04;

    VARC:=MA(CLOSE,30) REF(MA(CLOSE,30),1);

    VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))) BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5)));

    VARF:=TROUGHBARS(3,15,1)

    VAR10:=EMA(CLOSE,30) REF(EMA(CLOSE,30),2);

    VAR11:=IF(VARF=1,50,0);

    多空:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;

    STICKLINE(FILTER(VARF=1,5) AND 多空 -10,C,O,2.8,0),COLORF00FF0;

    STICKLINE(FILTER(VARF=1,5),(C+O)*0.5-0.04,(C+O)*0.5+0.04,2,0),COLORBLACK;

    DRAWTEXT(FILTER(VARF=1,3),L,'黑马'),COLORRED ;

    通达信庄姿测幅主图公式主图源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信庄姿测幅主图公式主图源码 加入收藏