筹码研判顶底

DRAWGBK(C>0, RGB(0,0,00),RGB(0,0,0),0,'1',0);
锁定因子:MA(LFS,1),COLORWHITE;
换手:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;
主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORGREEN,LINETHICK1;
收盘价获利比例:WINNER(C)*100,LINETHICK0;
VARF:=TROUGHBARS(3,15,1)<4;
DRAWTEXT( FILTER(VARF=1,5),主流资金*0.90,'★底'),COLORYELLOW;
明天见底:FILTER(VARF=1,5) ,COLORFF00FF,LINETHICK0;
主力筹码估算:=EMA(WINNER(CLOSE)*70,3),NODRAW;
散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3),NODRAW;
散户套牢比率:散户筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
主力控盘比率:主力筹码估算/(主力筹码估算+散户筹码估算)*100,NODRAW;
市场总量:MA(主力筹码估算+散户筹码估算,13),COLORGREEN,LINETHICK2;
散户警戒:=EMA(散户套牢比率,89),NODRAW;
主力警戒:=EMA(主力控盘比率,89),NODRAW;
{散户坑}
STICKLINE(REF(散户套牢比率,1)>90 AND 散户套牢比率<90,30,0,1,0),COLOR0000FF;
{筹码总量}
筹码总量:IF(市场总量>REF(市场总量,1),市场总量,DRAWNULL),COLOR0066FF,LINETHICK2;
DRAWRECTREL(0,60,240,950,RGB(80,00,100));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.10,0,'■ 主力筹码估算:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.10,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.10,0,主力筹码估算),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.20,0,'■ 主力控盘比率:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.20,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.20,0,主力控盘比率),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.30,0,'■ 散户套牢比率:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.30,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.10,0.30,0,散户套牢比率),COLORRED;
DRAWTEXT_FIX(收盘价获利比例>=0,0.0,1-0.61,0,STRCAT(' ■ 收盘价获利比 : ',CON2STR(收盘价获利比例,2))),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.45,0,'■ 锁定因子: 锁定筹码和解锁筹码的相对速度'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.50,0,' 不直接监测锁定筹码多少,但可监测筹码。'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.55,0,'■主流资金:可监控筹码资金的背离,做决策'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,0.86,0,'■《股金道中》股道股灵子编辑'),COLORLIMAGENTA;
{换手}
F:=MOD(SUM(100*VOL/CAPITAL,0),100);
M:=(SUM(100*VOL/CAPITAL,0)-F)/100,LINETHICK0;
TJ:=F
FD:=REF(BARSLAST(TJ),1)+1,LINETHICK0;
DRAWTEXT(TJ,主流资金*0.96,'▲换!'),COLORYELLOW,LINETHICK3;
STICKLINE(TJ,主流资金,主流资金*0.98,0.08,0),COLOR0000FF,LINETHICK1;
HSL:100*VOL/CAPITAL,NODRAW,COLORLIGREEN;
TZHSLJL:=SUM(HSL,FD);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.68,0,'■上次到目前换手率:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.68,0,' %'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.11,0.68,0,TZHSLJL),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.01,0.75,0,'■一次换手率 天数:'),COLORFFCC99;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.14,0.75,0,' 天'),COLORFFCC99;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.11,0.75,0,FD),COLORYELLOW;
20,POINTDOT,COLORF00FF0;
50,POINTDOT,COLORGREEN;
80,POINTDOT,COLORWHITE;

-----------------------------------------------------------------------------------------------股市剑客1

强势:2,LINETHICK2,COLORFF00FF;

较强:1.3,LINETHICK1,COLOR00FF00;

V1:=LLV(LOW,10);

V2:=HHV(H,25);

警惕:3.1,LINETHICK3,COLOR00FFFF;

走人:3.5,LINETHICK2,COLOR0000FF;

走势线:EMA((C-V1)/(V2-V1)*4,4 );

较低:0.3,LINETHICK1,COLORWHITE;

底:0, LINETHICK2, COLORRED ;

三线:C>REF(C,1) AND CROSS(C,MA(C,5)) AND CROSS(C,MA (C,10)) AND CROSS(C,MA(C,20)),COLORGREEN;

四线:C>REF(C,1) AND CROSS(C,MA(C,5)) AND CROSS(C,MA (C,10)) AND CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)),COLORYELLOW;

五线:C>REF(C,1) AND CROSS(C,MA(C,5)) AND CROSS(C,MA (C,10)) AND CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30)) AND CROSS(C,MA(C,40)),COLORRED;

六线:C>O AND CROSS(C,MA(C,5)) AND CROSS(C,MA(C,10)) AND CROSS(C,MA(C,20)) AND CROSS(C,MA(C,30))AND CROSS(C,MA(C,40)) AND CROSS(C,MA(C,60)) AND SLOPE(MA(C,60),2)>0,COLORFFFF00;-------------------------------------------------------

输出强势:2,线宽为2,COLORFF00FF

输出较强:1.3,线宽为1,COLOR00FF00

V1赋值:10日内最低价的最低值

V2赋值:25日内最高价的最高值

输出警惕:3.1,线宽为3,COLOR00FFFF

输出走人:3.5,线宽为2,COLOR0000FF

输出走势线:(收盘价-V1)/(V2-V1)*4的4日指数移动平均

输出较低:0.3,线宽为1,画白色

输出底:0, 线宽为2, 画红色

输出三线:收盘价>1日前的收盘价 AND 收盘价上穿收盘价的5日简单移动平均 AND 收盘价上穿收盘价的10日简单移动平均 AND 收盘价上穿收盘价的20日简单移动平均,画绿色

输出四线:收盘价>1日前的收盘价 AND 收盘价上穿收盘价的5日简单移动平均 AND 收盘价上穿收盘价的10日简单移动平均 AND 收盘价上穿收盘价的20日简单移动平均 AND 收盘价上穿收盘价的30日简单移动平均,画黄色

输出五线:收盘价>1日前的收盘价 AND 收盘价上穿收盘价的5日简单移动平均 AND 收盘价上穿收盘价的10日简单移动平均 AND 收盘价上穿收盘价的20日简单移动平均 AND 收盘价上穿收盘价的30日简单移动平均 AND 收盘价上穿收盘价的40日简单移动平均,画红色

输出六线:收阳线AND 收盘价上穿收盘价的5日简单移动平均 AND 收盘价上穿收盘价的10日简单移动平均 AND 收盘价上穿收盘价的20日简单移动平均 AND 收盘价上穿收盘价的30日简单移动平均AND 收盘价上穿收盘价的40日简单移动平均 AND 收盘价上穿收盘价的60日简单移动平均 AND 收盘价的60日简单移动平均的2日线性回归斜率>0,COLORFFFF00

----------------------------------------------------------------------------------------------九转序列

DRAWTEXT_FIX(1,0.01,0.01,0,'【★★仓位控制的量化标准★★】'),COLORMAGENTA;

DRAWTEXT_FIX(1,0.01,0.08,0,'【★★1、粉+红=满,2、粉+绿=6,3、蓝+红=4 ,4、蓝+绿=空★★】'),COLORYELLOW;

E1:=EXPMA(C,5);

E2:=EXPMA(C,10);

E3:=EXPMA(C,20);

E4:=EXPMA(C,30);

E5:=EXPMA(C,60);

VARE1:=(E1+E2+E3+E4)/4;

VARE2:=(E1+E2+E3+E5)/4;

N:=IF(CODELIKE('9999')OR CODELIKE('3990')OR CODELIKE('880')OR CODELIKE('0000'),1,0);

D1:=IF(N=1,0.013,0.03);

D2:=IF(N=1,0.018,0.03);

C1:=IF(N=1,0.015,0.03);

C2:=IF(N=1,0.015,0.03);

短线多:EXPMA(VARE1,5)+EXPMA(VARE1,5)*D1,COLORRED;

短线空:EXPMA(VARE1,5)-EXPMA(VARE1,5)*D2,COLORRED;

长线多:EXPMA(VARE2,70)+EXPMA(VARE2,70)*C1,COLORMAGENTA;

长线空:EXPMA(VARE2,70)-EXPMA(VARE2,70)*C2,COLORMAGENTA;

{DRAWKLINE(H,O,L,C);}

TJ1:=RANGE(C,短线空,短线多);

TJ2:=RANGE(C,长线空,长线多);

STICKLINE(短线多>REF(短线多,1) AND TJ1=0,短线多,短线空,0.1,1),COLORRED;

STICKLINE(短线多<REF(短线多,1) AND TJ1=0,短线多,短线空,0.1,1),COLORGREEN;

STICKLINE(长线多>REF(长线多,1) AND TJ2=0,长线多,长线空,0.1,1),COLORMAGENTA;

STICKLINE(长线多<REF(长线多,1) AND TJ2=0,长线多,长线空,0.1,1),COLORBLUE;

NOTEXT短线多:IF(短线多<REF(短线多,1),短线多,DRAWNULL),COLORGREEN;

NOTEXT短线空:IF(短线空<REF(短线空,1),短线空,DRAWNULL),COLORGREEN;

NOTEXT长线多:IF(长线多<REF(长线多,1),长线多,DRAWNULL),COLORBLUE;

NOTEXT长线空:IF(长线空<REF(长线空,1),长线空,DRAWNULL),COLORBLUE;

空:=REF(C,1)>REF(短线空,1) AND C<短线空 AND C<REF(C,1){ AND COUNT(C>短线多,5)>0};

多:=REF(C,1)<REF(短线多,1) AND C>短线多 AND C>REF(C,1){ AND COUNT(C<长线多,5)>0};

空1:=TFILTER(多,空,2);

多1:=TFILTER(多,空,1);

DRAWTEXT(空1,短线多*1.04,'空'),COLORGREEN;

DRAWTEXT(多1,短线空*0.96,'多'),COLORRED;

DRAWICON(空1,短线多*1.02,2);

DRAWICON(多1,短线空*0.98,1);

A1:=C>REF(C,4);

A2:=BARSLASTCOUNT(A1);

A3:=REF(A2,1)=8 AND A2>REF(A2,1);

A4:=REF(BETWEEN(A2,5,8),1) AND A2<REF(A2,1);

A5:=ISLASTBAR AND BETWEEN(A2,6,8);

A6:=(BACKSET(A3>0,9) OR BACKSET(A4>0,A2+1)*0 OR BACKSET(A5>0,A2))*A2;

DRAWTEXT(A6>0,H+H*0.02,VAR2STR(A6,0)),COLORFF00FF{COLOR00FFFF};

DRAWTEXT(A2=9,H+H*0.02,'9'),COLOR00FF00;

B1:=C<REF(C,4);

B2:=BARSLASTCOUNT(B1);

B3:=REF(B2,1)=8 AND B2>REF(B2,1);

B4:=REF(BETWEEN(B2,5,8),1) AND B2<REF(B2,1);

B5:=ISLASTBAR AND BETWEEN(B2,6,8);

B6:=(BACKSET(B3>0,9) OR BACKSET(B4>0,B2+1)*0 OR BACKSET(B5>0,B2))*B2;

DRAWTEXT(B6>0,L-L*0.02,VAR2STR(B6,0)),COLOR00FF00{COLORFFFFFF};

DRAWTEXT(B2=9,L-L*0.02,'9'),COLORFF00FF;

---------------------------------------------------------------------------------------------

当满足条件1时,在横轴0.01纵轴0.01位置书写文字,画洋红色

当满足条件1时,在横轴0.01纵轴0.08位置书写文字,画黄色

E1赋值:收盘价的5日指数移动平均

E2赋值:收盘价的10日指数移动平均

E3赋值:收盘价的20日指数移动平均

E4赋值:收盘价的30日指数移动平均

E5赋值:收盘价的60日指数移动平均

VARE1赋值:(E1+E2+E3+E4)/4

VARE2赋值:(E1+E2+E3+E5)/4

N赋值:如果模糊匹配品种代码ORCODELIKE('3990')ORCODELIKE('880')ORCODELIKE('0000'),返回1,否则返回0

D1赋值:如果N=1,返回0.013,否则返回0.03

D2赋值:如果N=1,返回0.018,否则返回0.03

C1赋值:如果N=1,返回0.015,否则返回0.03

C2赋值:如果N=1,返回0.015,否则返回0.03

输出短线多:VARE1的5日指数移动平均+VARE1的5日指数移动平均*D1,画红色

输出短线空:VARE1的5日指数移动平均-VARE1的5日指数移动平均*D2,画红色

输出长线多:VARE2的70日指数移动平均+VARE2的70日指数移动平均*C1,画洋红色

输出长线空:VARE2的70日指数移动平均-VARE2的70日指数移动平均*C2,画洋红色

TJ1赋值:收盘价位于短线空和短线多之间

TJ2赋值:收盘价位于长线空和长线多之间

当满足条件短线多>1日前的短线多ANDTJ1=0时,在短线多和短线空位置之间画柱状线,宽度为0.1,1不为0则画空心柱.,画红色

当满足条件短线多<1日前的短线多ANDTJ1=0时,在短线多和短线空位置之间画柱状线,宽度为0.1,1不为0则画空心柱.,画绿色

当满足条件长线多>1日前的长线多ANDTJ2=0时,在长线多和长线空位置之间画柱状线,宽度为0.1,1不为0则画空心柱.,画洋红色

当满足条件长线多<1日前的长线多ANDTJ2=0时,在长线多和长线空位置之间画柱状线,宽度为0.1,1不为0则画空心柱.,画蓝色

输出NOTEXT短线多:如果短线多<1日前的短线多,返回短线多,否则返回无效数,画绿色

输出NOTEXT短线空:如果短线空<1日前的短线空,返回短线空,否则返回无效数,画绿色

输出NOTEXT长线多:如果长线多<1日前的长线多,返回长线多,否则返回无效数,画蓝色

输出NOTEXT长线空:如果长线空<1日前的长线空,返回长线空,否则返回无效数,画蓝色

空赋值:1日前的收盘价>1日前的短线空 AND 收盘价<短线空 AND 收盘价<1日前的收盘价

多赋值:1日前的收盘价<1日前的短线多 AND 收盘价>短线多 AND 收盘价>1日前的收盘价

空1赋值:信号过滤(多头)

多1赋值:信号过滤(多头)

当满足条件空1时,在短线多*1.04位置书写文字,画绿色

当满足条件多1时,在短线空*0.96位置书写文字,画红色

当满足条件空1时,在短线多*1.02位置画2号图标

当满足条件多1时,在短线空*0.98位置画1号图标

A1赋值:收盘价>4日前的收盘价

A2赋值:条件连续成立次数

A3赋值:1日前的A2=8 AND A2>1日前的A2

A4赋值:1日前的A2位于5和8之间 AND A2<1日前的A2

A5赋值:是否最后一个周期 AND A2位于6和8之间

A6赋值:(若A3>0则将最近9周期置为1 OR 若A4>0则将最近A2+1周期置为1*0 OR 若A5>0则将最近A2周期置为1)*A2

当满足条件A6>0时,在最高价+最高价*0.02位置书写文字,COLORFF00FF

当满足条件A2=9时,在最高价+最高价*0.02位置书写文字,COLOR00FF00

B1赋值:收盘价<4日前的收盘价

B2赋值:条件连续成立次数

B3赋值:1日前的B2=8 AND B2>1日前的B2

B4赋值:1日前的B2位于5和8之间 AND B2<1日前的B2

B5赋值:是否最后一个周期 AND B2位于6和8之间

B6赋值:(若B3>0则将最近9周期置为1 OR 若B4>0则将最近B2+1周期置为1*0 OR 若B5>0则将最近B2周期置为1)*B2

当满足条件B6>0时,在最低价-最低价*0.02位置书写文字,COLOR00FF00

当满足条件B2=9时,在最低价-最低价*0.02位置书写文字,COLORFF00FF

(0)

相关推荐