通达信波段+资金主图指标 源码公式

 

资金主图,可以看 涨跌动因 主力活跃度 主力资金线 大单动向 主力净买
 

N:=20;

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(买线>=卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR000055;
STICKLINE(买线<卖线,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR663300;
DRAWKLINE(H,O,L,C); 
ZKP:=IF(C>REF(C,1),REF(C,1),DRAWNULL);
ZSP:=IF(C>REF(C,1),C,DRAWNULL);
DKP:=IF(C<=REF(C,1),REF(C,1),DRAWNULL);
DSP:=IF(C<=REF(C,1),C,DRAWNULL);
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10);
C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
DRAWRECTREL(0,730,534,999.4,IF(120,RGB(10,0,0),0));
超B:=L2_AMO(0,2)/10000.0;
大B:=L2_AMO(1,2)/10000.0;
中B:=L2_AMO(2,2)/10000.0;
小B:=L2_AMO(3,2)/10000.0;
超S:=-L2_AMO(0,3)/10000.0;
大S:=-L2_AMO(1,3)/10000.0;
中S:=-L2_AMO(2,3)/10000.0;
小S:=-L2_AMO(3,3)/10000.0;
净流入:=(超B+大B+中B+小B)+(超S+大S+中S+小S);
中单:=中B+中S;
大宗净流入:=(超B+大B)+(超S+大S);
三日大宗:=SUM(大宗净流入,3);
十日大宗:=SUM(大宗净流入,10);
超大单:=(超B)+(超S);
大单:=(大B)+(大S);
小单:=(小B)+(小S);
大宗进:=(超B)+(大B);
大宗出:=(超S)+(大S);
非大宗进:=(中B)+(小B);
非大宗出:=(中S)+(小S);
近3日流向:=SUM(净流入,3);
近10日流向:=SUM(净流入,10);
主力买力度:=LARGEINTRDVOL*100/VOL;
主力卖力度:=LARGEOUTTRDVOL*100/VOL;
AAB:=CONST(MAX(ABS(超大单),MAX(ABS(大单),MAX(ABS(中单),ABS(小单)))))*1.5,NODRAW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.009,0.9,0,INTPART(超大单)),COLOR0000FF;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.080,0.9,0,INTPART(大单)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.149,0.9,0,INTPART(中单)),COLOR40FF00;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.218,0.9,0,INTPART(小单)),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.009,1,0,'超大单'),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.078,1,0,'大单'),COLOR0080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.147,1,0,'中单'),COLOR000080;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.216,1,0,'小单'),COLOR00FF00;
AAC:=CONST(MAX(ABS(净流入),MAX(ABS(近3日流向),ABS(近10日流向))))*1.5,NODRAW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.304,0.9,0,INTPART(净流入)),COLOR0000FF;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.386,0.9,0,INTPART(近3日流向)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.461,0.9,0,INTPART(近10日流向)),COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.300,1,0,'净 流 入'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.382,1,0,'三日流向'),COLORFF00FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.458,1,0,'十日流向'),COLORYELLOW;
DDZ:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);
DDY:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);
DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*100/CAPITAL;
DRAWRECTREL(2,745,160,800,IF(CONST(DDZ)>0,RGB(192,17,27),RGB(0,50,0)));
DRAWRECTREL(175,745,343,800,IF(CONST(DDY)>0,RGB(192,17,27),RGB(0,50,0)));
DRAWRECTREL(358,745,520,800,IF(CONST(DDX)>0,RGB(192,17,27),RGB(0,50,0)));
DRAWTEXT_FIX(1,0.005,0.745,0,STRCAT('大单差分:',CON2STR(DDZ,2))),COLORWHITE;
DRAWTEXT_FIX(1,0.184,0.745,0,STRCAT('涨跌动因:',CON2STR(DDY,2))),COLORWHITE;
DRAWTEXT_FIX(1,0.363,0.745,0,STRCAT('大单动向:',CON2STR(DDX,2))),COLORWHITE;
T1Z:=IF (DDZ>0 AND REF(DDZ,1)<0,1,0);
T2Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)<0,2,T1Z);
T3Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)<0,3,T2Z);
T4Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)<0,4,T3Z);
T5Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)<0,5,T4Z);
T6Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)<0,6,T5Z);
T7Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)<0,7,T6Z);
T8Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)>0 AND REF(DDZ,8)<0,8,T7Z);
T9Z:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)>0 AND REF(DDZ,8)>0 AND REF(DDZ,9)<0,9,T8Z);
TZ:=IF (DDZ>0 AND REF(DDZ,1)>0 AND REF(DDZ,2)>0 AND REF(DDZ,3)>0 AND REF(DDZ,4)>0 AND REF(DDZ,5)>0 AND REF(DDZ,6)>0 AND REF(DDZ,7)>0 AND REF(DDZ,8)>0 AND REF(DDZ,9)>0,10,T9Z);
DRAWTEXT_FIX(1,0.112,0.745,0,STRCAT(STRCAT(' ',CON2STR(TZ,0)),' [天] ')),COLORWHITE;
T11:=IF (DDY>0 AND REF(DDY,1)<0,1,0);
T21:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)<0,2,T11);
T31:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)<0,3,T21);
T41:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)<0,4,T31);
T51:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)<0,5,T41);
T61:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)<0,6,T51);
T71:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)<0,7,T61);
T81:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)>0 AND REF(DDY,8)<0,8,T71);
T91:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)>0 AND REF(DDY,8)>0 AND REF(DDY,9)<0,9,T81);
TY1:=IF (DDY>0 AND REF(DDY,1)>0 AND REF(DDY,2)>0 AND REF(DDY,3)>0 AND REF(DDY,4)>0 AND REF(DDY,5)>0 AND REF(DDY,6)>0 AND REF(DDY,7)>0 AND REF(DDY,8)>0 AND REF(DDY,9)>0,10,T91);
DRAWTEXT_FIX(1,0.293,0.755,0,STRCAT(STRCAT(' ',CON2STR(TY1,0)),' [天] ')),COLORWHITE;
T1:=IF (DDX>0 AND REF(DDX,1)<0,1,0);
T2:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)<0,2,T1);
T3:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)<0,3,T2);
T4:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)<0,4,T3);
T5:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)<0,5,T4);
T6:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)<0,6,T5);
T7:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)<0,7,T6);
T8:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)>0 AND REF(DDX,8)<0,8,T7);
T9:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)>0 AND REF(DDX,8)>0 AND REF(DDX,9)<0,9,T8);
T:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)>0 AND REF(DDX,3)>0 AND REF(DDX,4)>0 AND REF(DDX,5)>0 AND REF(DDX,6)>0 AND REF(DDX,7)>0 AND REF(DDX,8)>0 AND REF(DDX,9)>0,10,T9);
DRAWTEXT_FIX(1,0.465,0.755,0,STRCAT(STRCAT(' ',CON2STR(T,0)),' [天] ')),COLORWHITE;
主力净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL);
TMP:=LARGEINTRDVOL-LARGEOUTTRDVOL;
主力活跃度:=(LARGEINTRDVOL+LARGEOUTTRDVOL)*10000/(2*FINANCE(7));
主力资金线:=(L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1))/10000.0;
DRAWRECTREL(2,885,160,818,IF(CONST(主力净买量)>0,RGB(192,17,27),RGB(0,50,0)));
DRAWRECTREL(175,885,343,818,IF(CONST(TMP)>0,RGB(192,17,27),RGB(0,50,0)));
DRAWRECTREL(358,885,520,818,IF(CONST(主力资金线)>0,RGB(192,17,27),RGB(0,50,0)));
DRAWTEXT_FIX(1,0.005,0.825,0,STRCAT('主力净买量:',CON2STR(主力净买量,2))),COLORWHITE;
DRAWTEXT_FIX(1,0.184,0.825,0,STRCAT('主力活跃度:',CON2STR(主力活跃度,2))),COLORWHITE;
DRAWTEXT_FIX(1,0.363,0.825,0,STRCAT('主力资金线:',CON2STR(主力资金线,2))),COLORWHITE;
现手买:=BUYVOL*DYNAINFO(7)*100/10000 COLOR0000FF,NODRAW;
现手卖:=SELLVOL*DYNAINFO(7)*100/10000 COLOR00FF00,NODRAW;
合:=ABS(现手买)+ABS(现手卖)COLOR80FFFF,NODRAW;
差:=ABS(现手买)-ABS(现手卖)COLOR80FFFF,NODRAW;
MPB1:=ABS(现手买)/合*100;
MPB2:=ABS(现手卖)/合*100;
TESTSKIP(NOT(现手买 OR 现手卖 OR 合 OR 差 OR MPB1 OR MPB2)!=0);
DRAWRECTREL(640,940,940,1000,RGB(160,160,190));
DRAWRECTREL(790-现手卖*210/合,940,790,1000,RGB(0,128,0));
DRAWRECTREL(790,940,790+现手买*210/合,1000,RGB(128,0,0));
DRAWRECTREL(789.8,940,790.2,1000,RGB(0,0.0,10));
DRAWRECTREL(639.8,940,640.2,1000,RGB(0,0,10));
DRAWRECTREL(939.8,940,940.2,1000,RGB(0,0,10));
DRAWRECTREL(0,940,1000,940.2,RGB(0,0,10));
DRAWTEXT_FIX(1,0.9,0.88,0,STRCAT(STRCAT('',CON2STR(现手买,1)),'万')),COLOR0000FF;
DRAWTEXT_FIX(1,0.61,0.88,0,STRCAT(STRCAT('',CON2STR(现手卖,1)),'万')),COLOR00FF00;
DRAWTEXT_FIX(1,0.755,0.88,0,STRCAT(STRCAT('',CON2STR(差,1)),'万')),COLOR0080FF;
DRAWTEXT_FIX(1,0.58,0.97,0,STRCAT(STRCAT(' ',CON2STR(MPB2,1)),'%%')),COLOR00FF00;
DRAWTEXT_FIX(1,0.94,0.97,0,STRCAT(STRCAT('',CON2STR(MPB1,1)),'%%')),COLOR0000FF;




来函数检测结果如下
该公式包含未来函数:BACKSET
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
该公式包含未来函数:DVOL

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

N赋值:20
买线赋值:收盘价的2日指数移动平均
卖线赋值:收盘价的21日线性回归斜率*20+收盘价的42日指数移动平均
当满足条件买线>=卖线时,在日期日130日内最高价的最高值和日期日130日内最低价的最低值位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR000055
当满足条件买线<卖线时,在日期日130日内最高价的最高值和日期日130日内最低价的最低值位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR663300
K线
ZKP赋值:如果收盘价>1日前的收盘价,返回1日前的收盘价,否则返回无效数
ZSP赋值:如果收盘价>1日前的收盘价,返回收盘价,否则返回无效数
DKP赋值:如果收盘价<=1日前的收盘价,返回1日前的收盘价,否则返回无效数
DSP赋值:如果收盘价<=1日前的收盘价,返回收盘价,否则返回无效数
TY赋值:收盘价
A1赋值:10日前的TY=2*10+1日内TY的最高值
B1赋值:A1的10日过滤
C1赋值:若B1则将最近10+1周期置为1
HD赋值:C1的10日过滤
A2赋值:10日前的TY=2*10+1日内TY的最低值
B2赋值:A2的10日过滤
C2赋值:若B2则将最近10+1周期置为1
LD赋值:C2的10日过滤
相对位置上画矩形
超B赋值:成交额分档/10000.0
大B赋值:成交额分档/10000.0
中B赋值:成交额分档/10000.0
小B赋值:成交额分档/10000.0
超S赋值:-成交额分档/10000.0
大S赋值:-成交额分档/10000.0
中S赋值:-成交额分档/10000.0
小S赋值:-成交额分档/10000.0
净流入赋值:(超B+大B+中B+小B)+(超S+大S+中S+小S)
中单赋值:中B+中S
大宗净流入赋值:(超B+大B)+(超S+大S)
三日大宗赋值:大宗净流入的3日累和
十日大宗赋值:大宗净流入的10日累和
超大单赋值:(超B)+(超S)
大单赋值:(大B)+(大S)
小单赋值:(小B)+(小S)
大宗进赋值:(超B)+(大B)
大宗出赋值:(超S)+(大S)
非大宗进赋值:(中B)+(小B)
非大宗出赋值:(中S)+(小S)
近3日流向赋值:净流入的3日累和
近10日流向赋值:净流入的10日累和
主力买力度赋值:逐笔买入大单成交量*100/成交量(手)
主力卖力度赋值:逐笔卖出大单成交量*100/成交量(手)
AAB赋值:超大单的绝对值和大单的绝对值和中单的绝对值和小单的绝对值的较大值的较大值的较大值的最后一日取值设为常数*1.5,NODRAW
当满足条件到最后交易的周期=1时,在横轴0.009纵轴0.9位置书写数字,COLOR0000FF
当满足条件到最后交易的周期=1时,在横轴0.080纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.149纵轴0.9位置书写数字,COLOR40FF00
当满足条件到最后交易的周期=1时,在横轴0.218纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.009纵轴1位置书写文字,COLOR0000FF
当满足条件到最后交易的周期=1时,在横轴0.078纵轴1位置书写文字,COLOR0080FF
当满足条件到最后交易的周期=1时,在横轴0.147纵轴1位置书写文字,COLOR000080
当满足条件到最后交易的周期=1时,在横轴0.216纵轴1位置书写文字,COLOR00FF00
AAC赋值:净流入的绝对值和近3日流向的绝对值和近10日流向的绝对值的较大值的较大值的最后一日取值设为常数*1.5,NODRAW
当满足条件到最后交易的周期=1时,在横轴0.304纵轴0.9位置书写数字,COLOR0000FF
当满足条件到最后交易的周期=1时,在横轴0.386纵轴0.9位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.461纵轴0.9位置书写数字,COLORFFFF00
当满足条件到最后交易的周期=1时,在横轴0.300纵轴1位置书写文字,画黄色
当满足条件到最后交易的周期=1时,在横轴0.382纵轴1位置书写文字,COLORFF00FF
当满足条件到最后交易的周期=1时,在横轴0.458纵轴1位置书写文字,画黄色
DDZ赋值:如果总成交单数>0,返回(逐笔买入大单成交单数-逐笔卖出大单成交单数)/总成交单数*100,否则返回0
DDY赋值:如果总成交单数>0,返回(逐笔卖出成交单数-逐笔买入成交单数)*100/总成交单数,否则返回0
DDX赋值:(逐笔买入大单成交量-逐笔卖出大单成交量)*100/当前流通股本(手)
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
当满足条件1时,在横轴0.005纵轴0.745位置书写文字,画白色
当满足条件1时,在横轴0.184纵轴0.745位置书写文字,画白色
当满足条件1时,在横轴0.363纵轴0.745位置书写文字,画白色
T1Z赋值:如果DDZ>0ANDREF(DDZ,1)<0,返回1,否则返回0
T2Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)<0,返回2,否则返回T1Z
T3Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)<0,返回3,否则返回T2Z
T4Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)<0,返回4,否则返回T3Z
T5Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)<0,返回5,否则返回T4Z
T6Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)<0,返回6,否则返回T5Z
T7Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)>0ANDREF(DDZ,7)<0,返回7,否则返回T6Z
T8Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)>0ANDREF(DDZ,7)>0ANDREF(DDZ,8)<0,返回8,否则返回T7Z
T9Z赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)>0ANDREF(DDZ,7)>0ANDREF(DDZ,8)>0ANDREF(DDZ,9)<0,返回9,否则返回T8Z
TZ赋值:如果DDZ>0ANDREF(DDZ,1)>0ANDREF(DDZ,2)>0ANDREF(DDZ,3)>0ANDREF(DDZ,4)>0ANDREF(DDZ,5)>0ANDREF(DDZ,6)>0ANDREF(DDZ,7)>0ANDREF(DDZ,8)>0ANDREF(DDZ,9)>0,返回10,否则返回T9Z
当满足条件1时,在横轴0.112纵轴0.745位置书写文字,画白色
T11赋值:如果DDY>0ANDREF(DDY,1)<0,返回1,否则返回0
T21赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)<0,返回2,否则返回T11
T31赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)<0,返回3,否则返回T21
T41赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)<0,返回4,否则返回T31
T51赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)<0,返回5,否则返回T41
T61赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)>0ANDREF(DDY,6)<0,返回6,否则返回T51
T71赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)>0ANDREF(DDY,6)>0ANDREF(DDY,7)<0,返回7,否则返回T61
T81赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)>0ANDREF(DDY,6)>0ANDREF(DDY,7)>0ANDREF(DDY,8)<0,返回8,否则返回T71
T91赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)>0ANDREF(DDY,6)>0ANDREF(DDY,7)>0ANDREF(DDY,8)>0ANDREF(DDY,9)<0,返回9,否则返回T81
TY1赋值:如果DDY>0ANDREF(DDY,1)>0ANDREF(DDY,2)>0ANDREF(DDY,3)>0ANDREF(DDY,4)>0ANDREF(DDY,5)>0ANDREF(DDY,6)>0ANDREF(DDY,7)>0ANDREF(DDY,8)>0ANDREF(DDY,9)>0,返回10,否则返回T91
当满足条件1时,在横轴0.293纵轴0.755位置书写文字,画白色
T1赋值:如果DDX>0ANDREF(DDX,1)<0,返回1,否则返回0
T2赋值:如果DDX>0ANDREF(DDX,1)>0ANDREF(DDX,2)<0,返回2,否则返回T1
T3赋值:如果DDX>0ANDREF(DDX,1)>0ANDREF(DDX,2)>0ANDREF(DDX,3)<0,返回3,否则返回T2
T4赋值:如果DDX>0ANDREF(DDX,1)>0ANDREF(DDX,2)>0ANDREF(DDX,3)>0ANDREF(DDX,4)<0,返回4,否则返回T3
T5赋值:如果DDX>0ANDREF(DDX,1)>0ANDREF(DDX,2)>0ANDREF(DDX,3)>0ANDREF(DDX,4)>0ANDREF(DDX,5)<0,返回5,否则返回T4
T6赋值:如果DDX>0ANDREF(DDX,1)>0ANDREF(DDX,2)>0ANDREF(DDX,3)>0ANDREF(DDX,4)>0ANDREF(DDX,5)>0ANDREF(DDX,6)<0,返回6,否则返回T5
T7赋值:如果DDX>0ANDREF(DDX,1)>0ANDREF(DDX,2)>0ANDREF(DDX,3)>0ANDREF(DDX,4)>0ANDREF(DDX,5)>0ANDREF(DDX,6)>0ANDREF(DDX,7)<0,返回7,否则返回T6
T8赋值:如果DDX>0ANDREF(DDX,1)>0ANDREF(DDX,2)>0ANDREF(DDX,3)>0ANDREF(DDX,4)>0ANDREF(DDX,5)>0ANDREF(DDX,6)>0ANDREF(DDX,7)>0ANDREF(DDX,8)<0,返回8,否则返回T7
T9赋值:如果DDX>0ANDREF(DDX,1)>0ANDREF(DDX,2)>0ANDREF(DDX,3)>0ANDREF(DDX,4)>0ANDREF(DDX,5)>0ANDREF(DDX,6)>0ANDREF(DDX,7)>0ANDREF(DDX,8)>0ANDREF(DDX,9)<0,返回9,否则返回T8
T赋值:如果DDX>0ANDREF(DDX,1)>0ANDREF(DDX,2)>0ANDREF(DDX,3)>0ANDREF(DDX,4)>0ANDREF(DDX,5)>0ANDREF(DDX,6)>0ANDREF(DDX,7)>0ANDREF(DDX,8)>0ANDREF(DDX,9)>0,返回10,否则返回T9
当满足条件1时,在横轴0.465纵轴0.755位置书写文字,画白色
主力净买量赋值:(逐笔买入大单成交量-逐笔卖出大单成交量)
TMP赋值:逐笔买入大单成交量-逐笔卖出大单成交量
主力活跃度赋值:(逐笔买入大单成交量+逐笔卖出大单成交量)*10000/(2*流通股本(股))
主力资金线赋值:(成交额分档+成交额分档-成交额分档-成交额分档)/10000.0
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
当满足条件1时,在横轴0.005纵轴0.825位置书写文字,画白色
当满足条件1时,在横轴0.184纵轴0.825位置书写文字,画白色
当满足条件1时,在横轴0.363纵轴0.825位置书写文字,画白色
现手买赋值:外盘*现价*100/10000 COLOR0000FF,NODRAW
现手卖赋值:内盘*现价*100/10000 COLOR00FF00,NODRAW
合赋值:现手买的绝对值+现手卖的绝对值COLOR80FFFF,NODRAW
差赋值:现手买的绝对值-现手卖的绝对值COLOR80FFFF,NODRAW
MPB1赋值:现手买的绝对值/合*100
MPB2赋值:现手卖的绝对值/合*100
如果满足条件取反不等于0,公式返回
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
相对位置上画矩形
当满足条件1时,在横轴0.9纵轴0.88位置书写文字,COLOR0000FF
当满足条件1时,在横轴0.61纵轴0.88位置书写文字,COLOR00FF00
当满足条件1时,在横轴0.755纵轴0.88位置书写文字,COLOR0080FF
当满足条件1时,在横轴0.58纵轴0.97位置书写文字,COLOR00FF00
当满足条件1时,在横轴0.94纵轴0.97位置书写文字,COLOR0000FF

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图