平安短线 用着顺手和大家一起分享
DRAWGBK(C>0,RGB(150,50,175),RGB(0,25,100),0,' ',0);
布林轨:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORRED,LINETHICK2;
MA3:=MA(CLOSE,20),COLORMAGENTA,LINETHICK2;
DRAWBAND(布林轨,RGB(250,125,50),MA3,RGB(0,150,250));
MA1:MA(CLOSE,5),COLORWHITE;
MA2:MA(CLOSE,10),COLORYELLOW;
IF(布林轨<MA3 OR C<布林轨,布林轨,DRAWNULL),COLORBLUE,LINETHICK2;
涨势线:IF(布林轨>MA3,MA3,DRAWNULL),COLORMAGENTA,LINETHICK3;
跌势线:IF(布林轨<=MA3,MA3,DRAWNULL),COLORLIBLUE,LINETHICK1;
MA4:MA(CLOSE,60),COLORGREEN;
HLCO:=(C+H+L+O)/4;
MAHC:=MA((CLOSE*2+H)/3,5),COLOR0000FF;
MAHO:=MA((O*2+H)/3,5),COLOR00FF00;
MALC:=MA((C+L*2)/3,5),COLORFFFFFF;
MALO:=MA((O+L*2)/3,5),COLOR00FFFF;
CO:=O+(C-O)/2;
DRAWKLINE(H,O,L,C);
STICKLINE("DMI.PDI">"DMI.MDI",C,O,2.9,0),COLOR000099;
STICKLINE("DMI.PDI">"DMI.MDI",C,O,1.5,0),COLOR0000CC;
STICKLINE("DMI.PDI">"DMI.MDI",C,O,0.1,0),COLOR9966FF;
STICKLINE(MAHC>=MAHO,C,O,2.9,0),COLOR000099;
STICKLINE(MAHC>=MAHO,C,O,1.5,0),COLOR0000CC;
STICKLINE(MAHC>=MAHO,C,O,0.1,0),COLOR9966FF;
STICKLINE(MAHC<MAHO AND "DMI.PDI"<"DMI.MDI",C,O,2.9,0),COLOR999900;
STICKLINE(MAHC<MAHO AND "DMI.PDI"<"DMI.MDI",C,O,1.5,0),COLORCCCC00;
STICKLINE(MAHC<MAHO AND "DMI.PDI"<"DMI.MDI",C,O,0.1,0),COLORFFFF66;
STICKLINE(MAHC>=MAHO AND C<MAHO,CO,MAX(O,C),2.8,0),COLORMAGENTA;
{STICKLINE(LC>MAHC,CO,MAX(C,O),2.8,0),COLORRED;
STICKLINE(LC<MAHC,CO,MIN(C,O),2.8,0),COLORCYAN;}
STICKLINE(CROSS(MAHC,MAHO),C,O,2.8,0),COLORYELLOW;
STICKLINE(MAHC<MAHO AND (CROSS(C,MALO) OR CROSS(HLCO,MALO)),CO,MIN(C,O),2.8,0),COLORWHITE;
STICKLINE(CROSS(MAHO,MAHC) AND C<O AND "DMI.PDI"<"DMI.MDI",C,O,2.8,0),COLORFF3300;
{STICKLINE(REF(C,1)<LC AND C>=LC AND CROSS(C,MAX(MAHC,MAHO)),CO,MIN(C,O),2.8,0),COLORYELLOW;}
{STICKLINE(REF(C,1)<LC AND C>=LC AND CROSS(C,MAHC) AND MAHC>MAHO,C,O,2.8,0),COLORYELLOW;}
TAR1:=REF(OPEN,1);
TAR2:=SMA(MAX(OPEN-TAR1,0),6,1)/SMA(ABS(OPEN-TAR1),6,1)*100;
TAR3:=REF(CLOSE,1);
TAR4:=SMA(MAX(CLOSE-TAR3,0),6,1)/SMA(ABS(CLOSE-TAR3),6,1)*100;
TAR5:=REF(HIGH,1);
TAR6:=SMA(MAX(HIGH-TAR5,0),6,1)/SMA(ABS(HIGH-TAR5),6,1)*100;
TAR7:=REF(LOW,1);
TAR8:=SMA(MAX(LOW-TAR7,0),6,1)/SMA(ABS(LOW-TAR7),6,1)*100;
TAR9:=(MIN(OPEN,CLOSE)-LOW)/LOW*100>VOL/CAPITAL*0.001 ;
TAR10:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100;
TAR11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
TAR12:=EMA(TAR11,8)*10<-26;
TAR13:=IF(TAR9 AND MA(TAR10,5)<50 AND TAR12,30,0);
开盘值:=TAR2,COLORGREEN,NODRAW;
收盘值:=TAR4,COLORRED,NODRAW;
最高值:=TAR6,COLORMAGENTA,NODRAW;
最低值:=TAR8,COLORCYAN,NODRAW;
T小值:=MIN(MIN(MIN(开盘值,收盘值),最高值),最低值),NODRAW;
T大值:=MAX(MAX(MAX(开盘值,收盘值),最高值),最低值),NODRAW;
DRAWICON((LLV(T小值,5)<=20 OR LLV(T大值,5)<=30) AND CROSS(MAHC,MAHO),H,9);
倍量攻击:=V>REF(V,1)*2 AND (C>=O OR C>REF(C,1)),COLORRED,NODRAW;
STICKLINE(倍量攻击,C,O,0.5,0),COLOR0088FF;
N:=14; M:=6;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
MACCI1:=MA(CCI,3);
MACCI2:=EMA(CCI,3);
MACCI3:=SMA(CCI,5,1);
平安线:=(((MACCI3-LLV(MACCI3,21))/(HHV(MACCI3,21)-LLV(MACCI3,21)))*100-50)+50,COLORCYAN,LINETHICK3;
DDI:=IF(CCI>100,120,IF(CCI<-100,-120,CCI))/2+50,COLORYELLOW,LINETHICK2;
角线:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);
角线MA:=MA(角线,5);
ANA:=PLOYLINE(CROSS(角线,角线MA),角线MA),COLORRED;
ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA),COLORFF00FF ;
角买点:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR CROSS(角线MA,-45)) AND (ANB<-60 OR LLV("KDJ.J",3)<=-49) AND ANB>0)),COLORGREEN;
角起涨:=COUNT(CROSS(角线,角线MA),ANA<REF(ANA,5) AND ANB>REF(ANB,5));
角卖点:=(CROSS(角线MA,角线) AND (ANB>REF(ANB,1) OR ANA<REF(ANA,1)) AND ANB>ANA{AND ANB>0} AND 角线MA>0)*1;
角始跌:=COUNT(CROSS(角线MA,角线),ANA<REF(ANA,5) AND ANB>REF(ANB,5));
DRAWTEXT(倍量攻击,L,'VOL');
DRAWTEXT(CROSS(MAHO,MAHC) AND C<O AND "DMI.PDI"<"DMI.MDI",H,'空仓'),COLORFFFF00;
DRAWTEXT(角买点,L,'角买'),COLORMAGENTA;
DRAWTEXT(角卖点 AND (平安线<50 OR DDI<50),H,'角卖'),COLORGREEN;
超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;
TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0);
大宗进:=(超B)+(大B),NODRAW;
大宗出:=(超S)+(大S),NODRAW;
非大宗进:=(中B)+(小B),NODRAW;
非大宗出:=(中S)+(小S),NODRAW;
大宗进限制:=IF((超B+大B)=0,0,大宗进);
大宗出限制:=IF((超S+大S)=0,0,大宗出);
非大宗进限制:=IF(中B+小B=0,0,非大宗进);
非大宗出限制:=IF(中S+小S=0,0,非大宗出);
主力净流入:=(超B+大B)-(超S+大S),COLORRED,NODRAW;
散户净流入:=(中B+小B)-(中S+小S),COLORRED,NODRAW;
净流入:=(超B+大B+中B+小B)-(超S+大S+中S+小S),COLORRED,NODRAW;
大单流入:=(超B+大B)/(超B+大B+超S+大S)*100,NODRAW;
大单流入限制:=IF((超B+大B+超S+大S)=0,0,大单流入);
大单流出比:=(超S+大S)/(超B+大B+超S+大S)*100,NODRAW;
大单流出限制:=IF((超B+大B+超S+大S)=0,0,大单流出比);
总流入比:=(超B+大B+中B+小B)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW;
总流出比:=(超S+大S+中S+小S)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW;
成交总量:=(超B+大B+中B+小B+超S+大S+中S+小S),NODRAW;
机构参与度:=(超B+超S+大B+大S)/成交总量*100,COLORYELLOW,NODRAW;
大单强度:=(超B+大B-超S-大S)/成交总量*100,COLORYELLOW,NODRAW;
大单强度限制:=IF(大单强度=0,-100,大单强度);
大单强度比:=IF(大单强度>=0,(大单强度限制+100)/2,100-ABS((大单强度限制-100)/2)),NODRAW;
超单强度:=(超B-超S)/(超B+超S)*100,COLORYELLOW,NODRAW;
超单强度限制:=IF(超单强度=0,-100,超单强度);
超单强度比:=IF(超单强度>0,(超单强度限制+100)/2,IF(超单强度<0,100-ABS((超单强度限制-100)/2),0)),NODRAW;
DAZHIV:=CONST(MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW;
DRAWRECTREL(0,CONST(950-(ABS(大宗进)*250/DAZHIV))-20,30,950,IF(CONST(大宗进>0),RGB(250,125,0),RGB(25,150,250)));
DRAWRECTREL(32,CONST(950-(ABS(大宗出)*250/DAZHIV))-20,62,950,IF(CONST(大宗出>0),RGB(25,150,250),RGB(250,125,0)));
DRAWRECTREL(102,CONST(950-(ABS(非大宗进)*250/DAZHIV))-20,132,950,IF(CONST(非大宗进>0),RGB(250,125,0),RGB(25,150,250)));
DRAWRECTREL(134,CONST(950-(ABS(非大宗出)*250/DAZHIV))-20,164,950,IF(CONST(非大宗出>0),RGB(25,150,250),RGB(250,125,0)));
DRAWRECTREL(204,CONST(950-(ABS(净流入)*250/DAZHIV))-20,234,950,IF(CONST(净流入>0),RGB(200,0,0),RGB(0,125,50)));
DRAWTEXT_FIX(1,0.00,0.95,0,STRCAT(STRCAT('主力 ',CON2STR(主力净流入,0)),'万')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.10,0.95,0,STRCAT(STRCAT('散户 ',CON2STR(散户净流入,0)),'万')),COLORCYAN;
DRAWTEXT_FIX(1,0.20,0.95,0,STRCAT(STRCAT('净流入 ',CON2STR(净流入,0)),'万')),COLORYELLOW;
主买A:=ACTINVOL,COLORRED,NODRAW;
主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;
主买:=主买A*100/(主买A+主卖A),NODRAW,COLORRED;
主卖:=主卖A*100/(主买A+主卖A),NODRAW,COLORGREEN;
大单买比:=LARGEINTRDVOL*100/(LARGEINTRDVOL+LARGEOUTTRDVOL);
大单卖比:=LARGEOUTTRDVOL*100/(LARGEINTRDVOL+LARGEOUTTRDVOL);
主力净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),COLORYELLOW,NODRAW;
主动买卖差:=(ACTINVOL-ACTOUTVOL),COLORMAGENTA,NODRAW;
主力资金差:=((L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1)))/10000,COLORCYAN,NODRAW;
主力买力度:=LARGEINTRDVOL*100/VOL;
主力卖力度:=LARGEOUTTRDVOL*100/VOL;
主买力度比:=主力买力度/(主力买力度+主力卖力度)*100,NODRAW;
主卖力度比:=主力卖力度/(主力买力度+主力卖力度)*100,NODRAW;
力度比限制:=IF((LARGEINTRDVOL+LARGEOUTTRDVOL)=0,0,大单买比);
JGV:=(L2_VOL(0,0) - L2_VOL(0,1))*VOL/100000000,COLORRED;
DHV:=(L2_VOL(1,0) - L2_VOL(1,1))*VOL/100000000,COLORFF00FF;
ZHV:=(L2_VOL(2,0) - L2_VOL(2,1))*VOL/100000000,COLOR00FFFF;
SHV:=(L2_VOL(3,0) - L2_VOL(3,1))*VOL/100000000,COLORFFFFFF;
NOTEXT大量动向:=MA((JGV+DHV),5),COLORYELLOW;
超级大量:=JGV,COLOR0000FF,NODRAW;
机构大量:=DHV,COLORMAGENTA,NODRAW;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DVOL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
填充背景(C>0,RGB(150,50,175),RGB(0,25,100),0,' ',0)
输出布林轨:(C的3日简单移动平均+C的6日简单移动平均+C的12日简单移动平均+C的24日简单移动平均)/4,COLORRED,LINETHICK2
MA3赋值:收盘价的20日简单移动平均,COLORMAGENTA,LINETHICK2
DRAWBAND(布林轨,RGB(250,125,50),MA3,RGB(0,150,250))
输出MA1:收盘价的5日简单移动平均,COLORWHITE
输出MA2:收盘价的10日简单移动平均,COLORYEL最低价
如果布林轨如果布林轨>MA3返回MA3否则返回DRAWNULL
如果布林轨<=MA3返回MA3否则返回DRAWNULL
输出MA4:收盘价的60日简单移动平均,COLORGREEN
HLCO赋值:(C+H+L+O)/4
MAHC赋值:MA((收盘价*2+H)/3,5),COLOR0000FF
MAHO赋值:MA((O*2+H)/3,5),COLOR00FF00
MALC赋值:MA((C+L*2)/3,5),COLORFFFFFF
MALO赋值:MA((O+L*2)/3,5),COLOR00FFFF
CO赋值:O+(C-O)/2
DRAWKLINE(H,O,L,C)
当满足条件"DMI.PDI">"DMI.MDI"时,在C和O之间画柱状线
当满足条件"DMI.PDI">"DMI.MDI"时,在C和O之间画柱状线
当满足条件"DMI.PDI">"DMI.MDI"时,在C和O之间画柱状线
当满足条件MAHC>=MAHO时,在C和O之间画柱状线
当满足条件MAHC>=MAHO时,在C和O之间画柱状线
当满足条件MAHC>=MAHO时,在C和O之间画柱状线
当满足条件MAHC当满足条件MAHC当满足条件MAHC
STICKLINE(MAHC>=MAHO AND C
{STICKLINE(LC>MAHC,CO,C和O较大值,2.8,0),COLORRED
STICKLINE(LC}
STICKLINE(MAHC上穿MAHO,C,O,2.8,0),COLORYEL最低价
STICKLINE(MAHC
STICKLINE(MAHO上穿MAHC AND C
{STICKLINE(1日前的C=LC AND CROSS(C,MAHC和MAHO较大值),CO,C和O的较小值,2.8,0),COLORYEL最低价
}
{STICKLINE(1日前的C=LC AND C上穿MAHC AND MAHC>MAHO,C,O,2.8,0),COLORYEL最低价
}
TAR1赋值:1日前的OPEN
TAR2赋值:SMA(OPEN-TAR1和0较大值,6,1)/SMA(OPEN-TAR1的绝对值,6,1)*100
TAR3赋值:1日前的收盘价
TAR4赋值:SMA(收盘价-TAR3和0较大值,6,1)/SMA(收盘价-TAR3的绝对值,6,1)*100
TAR5赋值:1日前的最高价
TAR6赋值:SMA(最高价-TAR5和0较大值,6,1)/SMA(最高价-TAR5的绝对值,6,1)*100
TAR7赋值:1日前的最低价
TAR8赋值:SMA(最低价-TAR7和0较大值,6,1)/SMA(最低价-TAR7的绝对值,6,1)*100
TAR9赋值:(OPEN和收盘价的较小值-最低价)/最低价*100>成交量/当前流通股本*0.001
TAR10赋值:(5日内最高价最高值-收盘价)/(21日内最高价最高值-13日内最低价最低值)*100
TAR11赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100
TAR12赋值:TAR11的8日指数移动平均*10<-26
TAR13赋值:IF(TAR9 AND TAR10的5日简单移动平均<50 AND TAR12,30,0)
开盘值赋值:TAR2,COLORGREEN,NODRAW
收盘值赋值:TAR4,COLORRED,NODRAW
最高值赋值:TAR6,COLORMAGENTA,NODRAW
最低值赋值:TAR8,COLORCYAN,NODRAW
T小值赋值:开盘值和收盘值的较小值,最高值),最低值),NODRAW
T大值赋值:开盘值和收盘值较大值,最高值),最低值),NODRAW
DRAWICON((5日内T小值最低值<=20 OR 5日内T大值最低值<=30) AND MAHC上穿MAHO,H,9)
倍量攻击赋值:V>1日前的V*2 AND (C>=O OR C>1日前的C),COLORRED,NODRAW
当满足条件倍量攻击时,在C和O之间画柱状线
N赋值:14
M赋值:6
TYP赋值:(最高价+最低价+收盘价)/3
CCI赋值:(TYP-TYP的N日简单移动平均)/(0.015*AVEDEV(TYP,N))
MACCI1:=CCI的3日简单移动平均
MACCI2:=CCI的3日指数移动平均
CCI的5日[1日权重]移动平均
平安线赋值:(((MACCI3-21日内MACCI3最低值)/(21日内MACCI3最高值-21日内MACCI3最低值))*100-50)+50,COLORCYAN,LINETHICK3
DDI赋值:IF(CCI>100,120,IF(CCI<-100,-120,CCI))/2+50,COLORYEL最低价,LINETHICK2
角线赋值:(ATAN((C的5日简单移动平均/REF(C的5日简单移动平均,1)-1)*100)*180/3.14115926)
角线MA:=角线的5日简单移动平均
ANA:=PLOYLINE(角线上穿角线MA,角线MA),COLORRED
ANB:=PLOYLINE(角线MA上穿角线,角线MA),COLORFF00FF
角买点赋值:角线上穿角线MA AND ((ANB>1日前的ANB AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR 角线MA上穿-45) AND (ANB<-60 OR 3日内"KDJ.J"最低值<=-49) AND ANB>0)),COLORGREEN
角起涨赋值:COUNT(角线上穿角线MA,ANA<5日前的ANA AND ANB>5日前的ANB)
角卖点赋值:(角线MA上穿角线 AND (ANB>1日前的ANB OR ANA<1日前的ANA) AND ANB>ANA{AND ANB>0} AND 角线MA>0)*1
角始跌赋值:COUNT(角线MA上穿角线,ANA<5日前的ANA AND ANB>5日前的ANB)
当满足条件倍量攻击时,在L和'成交量'位置书写文字
DRAWTEXT(MAHO上穿MAHC AND C当满足条件角买点时,在L和'角买'位置书写文字
DRAWTEXT(角卖点 AND (平安线<50 OR DDI<50),H,'角卖'),COLORGREEN
超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
TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0)
大宗进赋值:(超B)+(大B),NODRAW
大宗出赋值:(超S)+(大S),NODRAW
非大宗进赋值:(中B)+(小B),NODRAW
非大宗出赋值:(中S)+(小S),NODRAW
大宗进限制:=IF((超B+大B)=0,0,大宗进)
大宗出限制:=IF((超S+大S)=0,0,大宗出)
如果中B+小B=0返回0否则返回非大宗进
如果中S+小S=0返回0否则返回非大宗出
主力净流入赋值:(超B+大B)-(超S+大S),COLORRED,NODRAW
散户净流入赋值:(中B+小B)-(中S+小S),COLORRED,NODRAW
净流入赋值:(超B+大B+中B+小B)-(超S+大S+中S+小S),COLORRED,NODRAW
大单流入赋值:(超B+大B)/(超B+大B+超S+大S)*100,NODRAW
大单流入限制:=IF((超B+大B+超S+大S)=0,0,大单流入)
大单流出比赋值:(超S+大S)/(超B+大B+超S+大S)*100,NODRAW
大单流出限制赋值:IF((超B+大B+超S+大S)=0,0,大单流出比)
总流入比赋值:(超B+大B+中B+小B)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW
总流出比赋值:(超S+大S+中S+小S)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW
成交总量赋值:(超B+大B+中B+小B+超S+大S+中S+小S),NODRAW
机构参与度赋值:(超B+超S+大B+大S)/成交总量*100,COLORYEL最低价,NODRAW
大单强度赋值:(超B+大B-超S-大S)/成交总量*100,COLORYEL最低价,NODRAW
如果大单强度=0返回-100否则返回大单强度
大单强度比:=IF(大单强度>=0,(大单强度限制+100)/2,100-(大单强度限制-100的绝对值/2)),NODRAW
超单强度赋值:(超B-超S)/(超B+超S)*100,COLORYEL最低价,NODRAW
如果超单强度=0返回-100否则返回超单强度
超单强度比:=IF(超单强度>0,(超单强度限制+100)/2,IF(超单强度<0,100-(超单强度限制-100的绝对值/2),0)),NODRAW
DAZHIV赋值:CONST(MAX(大宗进的绝对值,MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW
DRAWRECTREL(0,CONST(950-(大宗进的绝对值*250/DAZHIV))-20,30,950,IF(CONST(大宗进>0),RGB(250,125,0),RGB(25,150,250)))
DRAWRECTREL(32,CONST(950-(大宗出的绝对值*250/DAZHIV))-20,62,950,IF(CONST(大宗出>0),RGB(25,150,250),RGB(250,125,0)))
DRAWRECTREL(102,CONST(950-(非大宗进的绝对值*250/DAZHIV))-20,132,950,IF(CONST(非大宗进>0),RGB(250,125,0),RGB(25,150,250)))
DRAWRECTREL(134,CONST(950-(非大宗出的绝对值*250/DAZHIV))-20,164,950,IF(CONST(非大宗出>0),RGB(25,150,250),RGB(250,125,0)))
DRAWRECTREL(204,CONST(950-(净流入的绝对值*250/DAZHIV))-20,234,950,IF(CONST(净流入>0),RGB(200,0,0),RGB(0,125,50)))
DRAWTEXT_FIX(1,0.00,0.95,0,STRCAT(STRCAT('主力 ',CON2STR(主力净流入,0)),'万')),COLORMAGENTA
DRAWTEXT_FIX(1,0.10,0.95,0,STRCAT(STRCAT('散户 ',CON2STR(散户净流入,0)),'万')),COLORCYAN
DRAWTEXT_FIX(1,0.20,0.95,0,STRCAT(STRCAT('净流入 ',CON2STR(净流入,0)),'万')),COLORYEL最低价
主买A赋值:ACTIN成交量,COLORRED,NODRAW
主卖A赋值:ACTOUT成交量,COLORGREEN,NODRAW
主买赋值:主买A*100/(主买A+主卖A),NODRAW,COLORRED
主卖赋值:主卖A*100/(主买A+主卖A),NODRAW,COLORGREEN
大单买比赋值:LARGEINTRD成交量*100/(LARGEINTRD成交量+LARGEOUTTRD成交量)
大单卖比赋值:LARGEOUTTRD成交量*100/(LARGEINTRD成交量+LARGEOUTTRD成交量)
主力净买量赋值:(LARGEINTRD成交量-LARGEOUTTRD成交量),COLORYEL最低价,NODRAW
主动买卖差赋值:(ACTIN成交量-ACTOUT成交量),COLORMAGENTA,NODRAW
主力资金差赋值:((L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1)))/10000,COLORCYAN,NODRAW
主力买力度赋值:LARGEINTRD成交量*100/成交量
主力卖力度赋值:LARGEOUTTRD成交量*100/成交量
主买力度比:=主力买力度/(主力买力度+主力卖力度)*100,NODRAW
主卖力度比:=主力卖力度/(主力买力度+主力卖力度)*100,NODRAW
力度比限制赋值:IF((LARGEINTRD成交量+LARGEOUTTRD成交量)=0,0,大单买比)
JGV赋值:(L2_成交量(0,0) - L2_成交量(0,1))*成交量/100000000,COLORRED
DHV赋值:(L2_成交量(1,0) - L2_成交量(1,1))*成交量/100000000,COLORFF00FF
ZHV赋值:(L2_成交量(2,0) - L2_成交量(2,1))*成交量/100000000,COLOR00FFFF
SHV赋值:(L2_成交量(3,0) - L2_成交量(3,1))*成交量/100000000,COLORFFFFFF
NOTEXT大量动向:=MA((JGV+DHV),5),COLORYEL最低价
超级大量赋值:JGV,COLOR0000FF,NODRAW
机构大量赋值:DHV,COLORMAGENTA,NODRAW