手机版 官方微博
官方微信
扫描关注:理想财富微信公众号
理想论坛App
扫描下载理想论坛App
RSS

请老师帮助合成下分时主图

[通达信]
设置
1780 9 大运旺旺旺 Lv.2 发表于 · 2020-2-15 16:35 举报 显示全部楼层 复制 正序浏览 |
跳转到指定楼层
我发2副主图主要要用的就是圈着的附图
{DRAWGBK(C>0,RGB(1,1,1),RGB(1,1,1),0,'背景图',0);}
{DRAWRECTREL(314.2,470,315.8,530,RGB(255,0,0))NOFRAME;}
{DRAWRECTREL(0,0,999,999,RGB(45,0,45))NOFRAME;
DRAWRECTREL(0,143,999,856,RGB(30,30,0))NOFRAME;
DRAWRECTREL(0,285,999,714,RGB(30,0,0))NOFRAME;
DRAWRECTREL(0,499.5,999,500.5,RGB(255,255,255));
DRAWRECTREL(190,470,192.8,530,RGB(255,0,0))NOFRAME;}

C,COLORWHITE;
均价:=SUM(V*C,0)/SUM(V,0);
C2:="分时引用.C2#DAY";
KF0:=BARSCOUNT(CLOSE)<2000;
成交量:=SUM(VOL*KF0,0),NODRAW;
{均价:IF(KF0<=0,DRAWNULL,SUM(C*VOL,0)*KF0/成交量),COLOR00FFFF;}
DRAWLINE(BARSCOUNT(CLOSE)=210,均价,REF(BARSCOUNT(CLOSE)=210,1),REF(均价,1),1)CIRCLEDOT,COLORFF00FF;
Z1:=主力买卖盘.机构买盘;
Z2:=主力买卖盘.机构卖盘;
Z3:=成交量/CAPITAL;
五日量:="分时引用.VOL5#DAY"/100;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.07,0.9,0,'买入量(1.43-2.6%):'),COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.21,0.9,0,VAR2STR(五日量,0)),COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.26,0.9,0,'追入量(2.6-4.3%):'),COLORLIMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.39,0.9,0,VAR2STR(五日量*2,0)),COLORLIMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.07,0.99,0,'启动量(4.3%-7.1%):'),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.21,0.99,0,VAR2STR(五日量*3,0)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.26,0.99,0,'涨停量(7.1%-10%):'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.39,0.99,0,VAR2STR(五日量*5,0)),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.5,0.94,0,'两天前收盘:'),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.58,0.94,0,VAR2STR(C2,2)),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.63,0.9,0,'主力买盘:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.70,0.9,0,VAR2STR(Z1/10000,2)),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.75,0.9,0,'量比:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.82,0.9,0,VAR2STR(DYNAINFO(17),2)),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.87,0.9,0,'向上7.8%:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.94,0.9,0,VAR2STR(C2*1.078,2)),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.63,0.99,0,'主力卖盘:'),COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.70,0.99,0,VAR2STR(Z2/10000,2)),COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.75,0.99,0,'换手率%:'),COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.82,0.99,0,VAR2STR(Z3*100,2)),COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.87,0.99,0,'向下7.8%:'),COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.94,0.99,0,VAR2STR(C2*0.922,2)),COLORFFFF00;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.8,0.8,0,'今日量能:'),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.9,0.8,0,VAR2STR(SUM(V,0),2)),COLORMAGENTA;

DRAWTEXT(BARSCOUNT(CLOSE)=450,均价,VAR2STR(均价,2)),COLORRED;
DRAWTEXT(BARSCOUNT(CLOSE)=210,均价,VAR2STR(均价,2)),COLORRED;
DIFZ:=EMA(C,5)-EMA(C,25);
DEAZ:=EMA(DIFZ,55);
MACDZ:=2*(DIFZ-DEAZ);
RC:=DYNAINFO( 3);
{量比超2.5:=IF(DYNAINFO(17)>2.5,RC-0.15,DRAWNULL),COLORFF9933;
量比超5:=IF(DYNAINFO(17)>5,RC-0.15,DRAWNULL),COLORBA75FF;
DRAWBAND(量比超2.5,RGB(51,153,255),量比超2.5+0.015,RGB(51,153,255));
DRAWBAND(量比超5,RGB(255,118,188),量比超5+0.015,RGB(255,118,188)); }
S2:=SMA(C,2,1); S6:=SMA(C,6,1);
DK:=2*(S2-S6);
STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED;
STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN;
分时顶:HHV(H,480),COLORRED,DOTLINE;
TT:=IF(HOUR>12,(HOUR-13)*60+MINUTE+120,(HOUR-9)*60+MINUTE-30);
IF(TT>=30,REF(HHV(H,30),TT-30),DRAWNULL),COLOR99CCFF,LINETHICK2;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,CODE),COLORYELLOW;

今开:DYNAINFO(4),COLORCYAN;
K10收价:=CONST(REF(C,FROMOPEN-11));
K10高价:=CONST(REF(HHV(H,10),FROMOPEN-11));
K10低价:=CONST(REF(LLV(L,10),FROMOPEN-11));
K20收价:=CONST(REF(C,FROMOPEN-21));
K20高价:=CONST(REF(HHV(H,10),FROMOPEN-21));
K20低价:=CONST(REF(LLV(L,10),FROMOPEN-21));
K30收价:=CONST(REF(C,FROMOPEN-31));
K30高价:=CONST(REF(HHV(H,10),FROMOPEN-31));
K30低价:=CONST(REF(LLV(L,10),FROMOPEN-31));
先上后下再上:=K10收价>今开&&K10收价>K20收价&&K30收价>K20收价;
DRAWTEXT_FIX(先上后下再上&&K20低价>=K10低价&&K30高价>K10高价,0.03,0.01,0,'先上后下再上:  下跌不新低,上涨新高——一般会大涨小回收阳'),COLORMAGENTA;
DRAWTEXT_FIX(先上后下再上&&K20低价>=K10低价&&K30高价<=K10高价,0.03,0.01,0,'先上后下再上:  下跌没新低,上涨没新高——多头较弱,当天的回档会持续较长时间,收盘不可能为最高点'),COLORMAGENTA;
DRAWTEXT_FIX(先上后下再上&&K20低价<K10低价&&K30高价>K10高价,0.03,0.01,0,'先上后下再上:  下跌新低,上涨新高——表明多空分歧比较大,当天震荡会较大'),COLORMAGENTA;
DRAWTEXT_FIX(先上后下再上&&K20低价<K10低价&&K30高价<=K10高价,0.03,0.01,0,'先上后下再上:  下跌新低,上涨没新高——当天的调整压力较大'),COLORMAGENTA;
先下后上再下:=K10收价<今开&&K20收价>K10收价&&K30收价<K20收价;
DRAWTEXT_FIX(先下后上再下&&K20高价>K10高价&&K30低价>=K10低价,0.03,0.01,0,'先下后上再下:  上涨新高,下跌没新低——多头势力仍较盛,当天有冲高机会,尾盘可能不在最低'),COLORYELLOW;
DRAWTEXT_FIX(先下后上再下&&K20高价<=K10高价&&K30低价>=K10低价,0.03,0.01,0,'先下后上再下:  上涨没新高,下跌没新低——调整,尾盘杀跌'),COLORYELLOW;
DRAWTEXT_FIX(先下后上再下&&K20高价>K10高价&&K30低价<K10低价,0.03,0.01,0,'先下后上再下:  上涨新高,下跌新低——冲高回落'),COLORYELLOW;
DRAWTEXT_FIX(先下后上再下&&K20高价<=K10高价&&K30低价<K10低价,0.03,0.01,0,'先下后上再下:  上涨没新高,下跌新低——探底会比较深'),COLORYELLOW;
先上后上再下:=K10收价>今开&&K10收价<K20收价&&K30收价<K20收价;
DRAWTEXT_FIX(先上后上再下&&K30低价<K10低价,0.03,0.01,0,'先上又上再下:  表明多头势力较强,但空头压力也大,弱势'),COLORRED;
DRAWTEXT_FIX(先上后上再下&&RANGE(K30收价,K10收价,K20收价)&&K30低价<=K20低价,0.03,0.01,0,'先上又上再下:  表明多头势力较强,但空头压力也大,中势'),COLORRED;
DRAWTEXT_FIX(先上后上再下&&K30低价>K20低价,0.03,0.01,0,'先上又上再下:  表明多头势力较强,但空头压力也大,强势'),COLORRED;
先下后下再上:=K10收价<今开&&K20收价<K10收价&&K30收价>K20收价;
DRAWTEXT_FIX(先下后下再上&&K30高价>今开,0.03,0.01,0,'先下又下再上:  则表明空头势力较强,但多头尚有反击余力,可能是出货行情'),COLORLIRED;
DRAWTEXT_FIX(先下后下再上&&RANGE(K30收价,K20收价,K10收价),0.03,0.01,0,'先下又下再上:  则表明空头势力较强,但多头尚有反击余力,中势'),COLORLIRED;
DRAWTEXT_FIX(先下后下再上&&K30低价>K20低价&&K30高价<K20高价,0.03,0.01,0,'先下又下再上:  则表明空头势力较强,但多头尚有反击余力,弱势'),COLORLIRED;
先上后下再下:=K10收价>今开&&K20收价<K10收价&&K30收价<K20收价;
DRAWTEXT_FIX(先上后下再下&&K20低价<K10低价&&K30低价>=K20低价,0.03,0.01,0,'先上后下再下:  第二个下跌波创新低,当天收阴线概率很大'),COLORLIRED;
DRAWTEXT_FIX(先上后下再下&&K20低价<K10低价&&K30低价<K20低价,0.03,0.01,0,'先上后下再下:  第三个下跌又创新低,行情走淡'),COLORLIRED;
DRAWTEXT_FIX(先上后下再下&&K20低价>=K10低价&&K30低价>=K10低价,0.03,0.01,0,'先上后下再下:  第二个下跌和第三个下跌不创新低(开盘价),可能是诱空'),COLORLIRED;
DRAWTEXT_FIX(先上后下再下&&RANGE(K10低价,K30低价,K20低价),0.03,0.01,0,'先上后下再下:  第三个下跌创新低,调整仍有低点'),COLORLIRED;
先下后上再上:=K10收价<今开&&K20收价>K10收价&&K30收价>K20收价;
DRAWTEXT_FIX(先下后上再上&&K20低价<K10低价&&K30低价>K20低价,0.03,0.01,0,'先下后上再上:  开盘后的向下是多头获利回吐的表现,当天行情仍可能走好。'),COLORLIRED;
DRAWTEXT_FIX(先下后上再上&&K20低价<K10低价&&K30低价<K20低价,0.03,0.01,0,'先下后上再上:  开盘后的向下是多头获利回吐的表现,当天行情仍可能走好。'),COLORLIRED;
DRAWTEXT_FIX(先下后上再上&&K20低价>=K10低价&&K30低价>=K10低价,0.03,0.01,0,'先下后上再上:  开盘后的向下是多头获利回吐的表现,当天行情仍可能走好。'),COLORLIRED;
三步高:=K10收价>今开&&K20收价>=K10收价&&K30收价>K20收价;
三步高1:=K10收价>今开&&K20收价>K10收价&&K30收价>=K20收价;
DRAWTEXT_FIX(三步高  OR 三步高1,0.03,0.01,0,'三步高:   盘中打低吸货'),COLORLIRED;
三步低:=K10收价<今开&&K20收价<=K10收价&&K30收价<K20收价;
DRAWTEXT_FIX(三步低,0.03,0.01,0,'三步低:  盘中反弹出货'),COLORLIRED;
DRAWKLINE(IF(TIME=0941,K10高价,DRAWNULL),今开,K10低价,K10收价);
DRAWKLINE(IF(TIME=0942,K20高价,DRAWNULL),K10收价,K20低价,K20收价);
DRAWKLINE(IF(TIME=0943,K30高价,DRAWNULL),K20收价,K30低价,K30收价);
先下后下走平:=K10收价<今开&&K20收价<K10收价&&K30收价=K20收价;
DRAWTEXT_FIX(先下后下走平,0.03,0.01,0,'先下又下走平:  注意箱体方向选择,量能配合'),COLORLIRED;
先下后平再平:=K10收价<今开&&K20收价=K10收价&&K30收价=K20收价;
DRAWTEXT_FIX(先下后平再平,0.03,0.01,0,'先下后平再平:  向下振荡可能性大 '),COLORLIRED;
三平步:=K10收价=今开&&K20收价=K10收价&&K30收价=K20收价;
DRAWTEXT_FIX(三平步,0.03,0.01,0,'三平步:  '),COLORLIRED;
下上平:=K10收价<今开&&K20收价>K10收价&&K30收价=K20收价;
DRAWTEXT_FIX(下上平,0.03,0.01,0,'下上平:  盘整,注意箱体突破方向,量能的配合 '),COLORLIRED;
下平上:=K10收价<今开&&K20收价=K10收价&&K30收价>K20收价;
DRAWTEXT_FIX(下平上,0.03,0.01,0,'下平上:  上涨概率高 '),COLORLIRED;

O5:="分时引用.O5#DAY";
C5:="分时引用.C5#DAY";
H5:="分时引用.H5#DAY";
L5:="分时引用.L5#DAY";
O4:="分时引用.O4#DAY";
C4:="分时引用.C4#DAY";
H4:="分时引用.H4#DAY";
L4:="分时引用.L4#DAY";
O3:="分时引用.O3#DAY";
C3:="分时引用.C3#DAY";
H3:="分时引用.H3#DAY";
L3:="分时引用.L3#DAY";
O2:="分时引用.O2#DAY";
H2:="分时引用.H2#DAY";
L2:="分时引用.L2#DAY";
O1:="分时引用.O1#DAY";
C1:="分时引用.C1#DAY";
H1:="分时引用.H1#DAY";
L1:="分时引用.L1#DAY";
O0:=DYNAINFO(4);
C0:=DYNAINFO(7);
H0:=DYNAINFO(5);
L0:=DYNAINFO(6);
HH1:=MAX(H1,H2);
HH2:=MAX(H3,H4);
HH3:=MAX(MAX(H0,H5),MAX(HH1,HH2));
LL1:=MIN(L1,L2);
LL2:=MIN(L3,L4);
LL3:=MIN(MIN(L0,L5),MIN(LL1,LL2));
HL:=409/(HH3-LL3);
C52:=999-((C5-LL3)*HL);
H52:=999-((H5-LL3)*HL);
L52:=999-((L5-LL3)*HL);
O52:=999-((O5-LL3)*HL);
C42:=999-((C4-LL3)*HL);
H42:=999-((H4-LL3)*HL);
L42:=999-((L4-LL3)*HL);
O42:=999-((O4-LL3)*HL);
C32:=999-((C3-LL3)*HL);
H32:=999-((H3-LL3)*HL);
L32:=999-((L3-LL3)*HL);
O32:=999-((O3-LL3)*HL);
C22:=999-((C2-LL3)*HL);
H22:=999-((H2-LL3)*HL);
L22:=999-((L2-LL3)*HL);  
O22:=999-((O2-LL3)*HL);
C12:=999-((C1-LL3)*HL);
H12:=999-((H1-LL3)*HL);
L12:=999-((L1-LL3)*HL);  
O12:=999-((O1-LL3)*HL);
C02:=999-((C0-LL3)*HL);
H02:=999-((H0-LL3)*HL);
L02:=999-((L0-LL3)*HL);
O02:=999-((O0-LL3)*HL);
DRAWRECTREL(IF(FROMOPEN<=120,579,79),H52,IF(FROMOPEN<=120,579,79),L52,RGB(IF(C5>=O5,900,0),IF(C5>=O5,0,900),0));
DRAWRECTREL(IF(FROMOPEN<=120,574,74),C52,IF(FROMOPEN<=120,584,84),O52,RGB(IF(C5>=O5,728,0),IF(C5>=O5,0,728),0));
DRAWRECTREL(IF(FROMOPEN<=120,591,91),H42,IF(FROMOPEN<=120,591,91),L42,RGB(IF(C4>=O4,900,0),IF(C4>=O4,0,900),0));
DRAWRECTREL(IF(FROMOPEN<=120,586,86),C42,IF(FROMOPEN<=120,596,96),O42,RGB(IF(C4>=O4,728,0),IF(C4>=O4,0,728),0));
DRAWRECTREL(IF(FROMOPEN<=120,603,103),H32,IF(FROMOPEN<=120,603,103),L32,RGB(IF(C3>=O3,900,0),IF(C3>=O3,0,900),0));
DRAWRECTREL(IF(FROMOPEN<=120,598,98),C32,IF(FROMOPEN<=120,608,108),O32,RGB(IF(C3>=O3,728,0),IF(C3>=O3,0,728),0));
DRAWRECTREL(IF(FROMOPEN<=120,615,115),H22,IF(FROMOPEN<=120,615,115),L22,RGB(IF(C2>=O2,900,0),IF(C2>=O2,0,900),0));
DRAWRECTREL(IF(FROMOPEN<=120,610,110),C22,IF(FROMOPEN<=120,620,120),O22,RGB(IF(C2>=O2,728,0),IF(C2>=O2,0,728),0));
DRAWRECTREL(IF(FROMOPEN<=120,627,127),H12,IF(FROMOPEN<=120,627,127),L12,RGB(IF(C1>=O1,900,0),IF(C1>=O1,0,900),0));
DRAWRECTREL(IF(FROMOPEN<=120,622,122),C12,IF(FROMOPEN<=120,632,132),O12,RGB(IF(C1>=O1,728,0),IF(C1>=O1,0,728),0));
DRAWRECTREL(IF(FROMOPEN<=120,639,139),H02,IF(FROMOPEN<=120,639,139),L02,RGB(IF(C0>=O0,900,0),IF(C0>=O0,0,900),0));
DRAWRECTREL(IF(FROMOPEN<=120,634,134),C02,IF(FROMOPEN<=120,644,144),O02,RGB(IF(C0>=O0,728,0),IF(C0>=O0,0,728),0));

上面是一主图缺数据

攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;

攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;

攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;

攻击流量:=攻击量A+攻击量B,COLORSTICK;

攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;

资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));

资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;

资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;

资金出入:=资金流入+资金流出,COLORSTICK;

资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;

资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));

DRAWTEXT_FIX(1,0.250,0.88,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORCYAN;

DRAWTEXT_FIX(1,0.000,0.88,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORCYAN;

XG:HHV(H,480),DOTLINE,COLORRED;

STICKLINE(FILTER(CROSS(C,REF(XG,1)),10) AND C>REF(XG,1),C*0.99,C,8,0),COLORGREEN;

DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10) AND C>REF(XG,1),C*0.99,'突破'),COLORYELLOW;

RQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT))+1;

JY:=BARSLAST((RQ-REF(RQ,1))!=WEEKDAY-REF(WEEKDAY,1) OR TOTALBARSCOUNT-CURRBARSCOUNT=0)+1;

MA1:=REF(C,JY);

MA2:=REF(MA1,JY);

MA3:=REF(MA2,JY);

MA4:=REF(MA3,JY);

MA5:=REF(MA4,JY);

MA6:=REF(MA5,JY);

MA7:=REF(MA6,JY);

MA8:=REF(MA7,JY);

MA9:=REF(MA8,JY);

CK:REFDATE((C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10,DATE),COLORAC59FF,CIRCLEDOT;

DRAWTEXT(ISLASTBAR,CK,' 参考线'),COLOR0000FF;

DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))+DYNAINFO(3);

DEA:=EMA(DIF,9);

MACD1:=10*(DIF-DEA);

MACD2:=EMA(MACD1,2);

STICKLINE(MACD1>=MACD2 AND MACD1>=0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR0000B4;

STICKLINE(MACD1<MACD2 AND MACD1>0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR00B400;

STICKLINE(MACD1>=MACD2 AND MACD1<0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR5151A2;

STICKLINE(MACD1<MACD2 AND MACD1<0,DYNAINFO(3),MACD1+DYNAINFO(3),0,0),COLOR88743A;

XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));

主力:=EXPMA(CLOSE/XX,20);大户:=EXPMA(CLOSE/XX,60);散户:=EXPMA(CLOSE/XX,120);

底:=1;1.02,NODRAW;高:=1.03;

DRAWTEXT(CROSS(主力,1.02),C*0.999,'-拉升'),COLORCYAN;

DRAWICON(CROSS(主力,1.04),C,24);

DRAWTEXT(CROSS(主力,1.04),C*0.999,'-冲涨停'),COLORLIMAGENTA;

A1:=(VOL/CLOSE)/3;

A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);

A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);

A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);

A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);

A6:=((A2+A3)+A4)+A5;

A7:=IF((BARSTATUS=2),((100*A2)/A6),0);

A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));

A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));

A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));

机构买盘:=(A2),LINETHICK2;

机构卖盘:=(A3),LINETHICK2;

散户买盘:=(A4);

散户卖盘:=(A5);

DRAWTEXT_FIX(1,0.000,1-0.05,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),'万')),COLORRED;

DRAWTEXT_FIX(1,0.250,1-0.05,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),'万')),COLOR00FF00;

DRAWTEXT_FIX(1,0.500,1-0.05,0,STRCAT(STRCAT('【散户买盘】',CON2STR(散户买盘,2)),'万')),COLORRED;

DRAWTEXT_FIX(1,0.745,1-0.05,0,STRCAT(STRCAT('【散户卖盘】',CON2STR(散户卖盘,2)),'万')),COLOR00FF00;

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:=L1+P1*7/8,COLORGREEN;

支撑:=L1+P1*0.5/8,COLORMAGENTA;

DRAWTEXT(LONGCROSS(支撑,C,2),C,'买'),COLORYELLOW;

DRAWTEXT(LONGCROSS(C,阻力,2),C,'卖'),COLORGREEN;

量价:=(VOL/CLOSE)/3;

B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);

B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);

B6:=B2+B3;DD1:=1;比:=B2/B3;


BBB1:=STRCAT(STRCAT('买= ',CON2STR((100*B2)/B6,0)),'%');
BBB2:=STRCAT(STRCAT('卖= ',CON2STR((100*B3)/B6,0)),'%');
BBB3:=STRCAT(STRCAT('差= ',CON2STR((100*(B2-B3))/B6,0)),'%');
DRAWTEXT_FIX(DD1=1,0.01,0.01,0,BBB1),COLORRED;
DRAWTEXT_FIX(DD1=1,0.01,0.05,0,BBB2),COLORGREEN;
DRAWTEXT_FIX(DD1=1,0.01,0.10,0,BBB3),COLOR00FFFF;辛苦老师以下面这幅图加我圈的图 YA}4P]TDV%2TU%`D0TZJGSA.png
本主题由 任务系统 于 2020-2-15 19:53 审核通过
天才咸蛋
Lv.2
发表于 2020-2-16 13:19 复制 查看全部楼层
主图1引用指标给一个 谢谢
天才咸蛋
Lv.2
发表于 2020-2-16 12:56 复制 查看全部楼层
大运旺旺旺 发表于 2020-2-15 16:49
辛苦老师把这图里。追量,启动量等着圈里的加上副主图里。谢谢了

能给一下 你第一个主图的源码吗
许昌舍得
Lv.6
发表于 2020-2-15 21:52 复制 查看全部楼层
主图缺少 被调用的指标
大运旺旺旺
Lv.2
发表于 2020-2-15 16:49 复制 查看全部楼层
辛苦老师把这图里。追量,启动量等着圈里的加上副主图里。谢谢了
大运旺旺旺
Lv.2
发表于 2020-2-15 16:47 复制 查看全部楼层
上传了几次了

附件

30ZU3W1@A~8@92AJKL56LMP.png
大运旺旺旺
Lv.2
发表于 2020-2-15 16:44 复制 查看全部楼层
这幅图圈的关键
大运旺旺旺
Lv.2
发表于 2020-2-15 16:40 复制 查看全部楼层
老师以上面主图加这幅图里圈的
大运旺旺旺
Lv.2
发表于 2020-2-15 16:39 复制 查看全部楼层
老师以上面主图加这幅图里圈的
大运旺旺旺
Lv.2
发表于 2020-2-15 16:37 复制 查看全部楼层
辛苦老师了

附件

YA}4P]TDV%2TU%`D0TZJGSA.png
您需要登录后才可以回帖 免费注册登录

本版积分规则

回顶部 到页底
快速回复 返回顶部 返回列表