通达信指标中的操盘手——《股海捞鱼》( 副图 贴图 无未来)
P215:=SUM215>0 AND SUM215>REF(SUM215,1);
P216:=SUM216>0 AND SUM216>REF(SUM216,1);
P217:=SUM217>0 AND SUM217>REF(SUM217,1);
P218:=SUM218>0 AND SUM218>REF(SUM218,1);
P219:=SUM219>0 AND SUM219>REF(SUM219,1);
P220:=SUM220>0 AND SUM220>REF(SUM220,1);
MAZJ205:=MA(主力净买,5);
MAZJ210:=MA(主力净买,10);
MAZJ215:=MA(主力净买,15);
MAZJ220:=MA(主力净买,20);
MA201:=MAZJ205>MAZJ210;
MA202:=MAZJ205>MAZJ215;
MA203:=MAZJ205>MAZJ220;
MA204:=MAZJ210>MAZJ215;
MA205:=MAZJ210>MAZJ220;
MA206:=MAZJ215>MAZJ220;
基准线21:=EMA(EMA(EMA(EMA(IFF(主力净买>=0,主力净买,0),20),2),2),2);
基准线26:=基准线1*6;
ZJDL210:=IFF(主力净买>基准线26,10,IFF(主力净买<=基准线26 AND 主力净买>0,10*主力净买/基准线26,0));
短线资金:=SUM(主力净买,3);
短线资金10:=EMA(短线资金,10);
短线资金60:=EMA(短线资金,60);
短线资金20:=EMA(短线资金,20);
短线资金30:=EMA(短线资金,30);
CZD201:=短线资金>短线资金10;
CZD202:=短线资金20>短线资金30;
CZD203:=短线资金10>短线资金60;
总权2:=53;
资金:EMA(EMA(100*(P201*2+P202*2+P203*5+P204*2+P205*2+P211*1+P212*1+P213*1+P214*1+P215*1+P216*1+P217*1+P218*1+P219*1+P220*1+
MA01*2+MA02*2+MA03*1+MA04*1+MA05*1+MA06*1+ZJDL10+CZD01*5+CZD02*4+CZD03*3)/总权2,2),2),NODRAW,COLORFF008F;
STICKLINE(资金>=REF(资金,1),-20,-20+资金*0.18,3,0),COLOR000088;
STICKLINE(资金>=REF(资金,1),-20,-20+资金*0.18,2.5,0),COLOR000099;
STICKLINE(资金>=REF(资金,1),-20,-20+资金*0.18,2,0),COLOR0000AA;
STICKLINE(资金>=REF(资金,1),-20,-20+资金*0.18,1.5,0),COLOR0000BB;
STICKLINE(资金>=REF(资金,1),-20,-20+资金*0.18,1,0),COLOR0000DD;
STICKLINE(资金>=REF(资金,1),-20,-20+资金*0.18,0.5,0),COLOR0000FF;
STICKLINE(资金<REF(资金,1),-20,-20+资金*0.18,3,0),COLOR008800;
STICKLINE(资金<REF(资金,1),-20,-20+资金*0.18,2.5,0),COLOR00AA00;
STICKLINE(资金<REF(资金,1),-20,-20+资金*0.18,2,0),COLOR00BB00;
STICKLINE(资金<REF(资金,1),-20,-20+资金*0.18,1.5,0),COLOR00DD00;
STICKLINE(资金<REF(资金,1),-20,-20+资金*0.18,1,0),COLOR00FF00;
DRAWTEXT(ISLASTBAR=1,IF(资金>=0,-15,-15),STRCAT(' 金= ',STRCAT(CON2STR(资金,2),' '))),COLORFF008F;
{画五指标分隔线:}
NOTEXT480:60,COLORRED,LINETHICK1;
NOTEXT380:40,COLORYELLOW,LINETHICK1;
NOTEXT280:20,COLORGREEN,LINETHICK1;
NOTEXT180:0,COLORAAAAAA,LINETHICK1;
NOTEXT80:-20,COLORFF008F,LINETHICK1;
{标题栏显示KDJ参数:}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),NODRAW,COLORYELLOW,LINETHICK2;
D:SMA(K,3,1),NODRAW,COLORFF66CC,LINETHICK2;
J:3*K-2*D,NODRAW,COLORFFDDAA,LINETHICK2;
{第一条块线:}
吸:=XLPL.NOTEXT吸;
拉:=XLPL.NOTEXT拉;
派:=XLPL.NOTEXT派;
落:=XLPL.NOTEXT落;
STICKLINE(吸,106,114,3,0),COLORFF00AF;
STICKLINE(拉,106,114,3,0),COLORRED;
STICKLINE(派,106,114,3,0),COLORGREEN;
STICKLINE(落,106,114,3,0),COLORWHITE;
DRAWTEXT(ISLASTBAR=1,IF(XLPL>=0,109,109),STRCAT(' XLPL=',STRCAT(CON2STR(XLPL,2),' '))),COLORYELLOW;
{第二条块线:}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),NODRAW,COLORWHITE;
STICKLINE(CCI>100,94,102,3,0),COLORRED;
STICKLINE(CCI<100,94,102,3,0),COLORGREEN;
STICKLINE(CCI<-100,94,102,3,0),COLORWHITE;
DRAWTEXT(ISLASTBAR=1,IF(CCI>=0,97,97),STRCAT(' CCI=',STRCAT(CON2STR(CCI,2),' '))),COLORWHITE;
{第三条块线:}
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,NODRAW,COLORYELLOW;
STICKLINE(C>BBI,82,90,3,0),COLORRED;
STICKLINE(C<BBI,82,90,3,0),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,IF(BBI>=0,85,85),STRCAT(' BBI=',STRCAT(CON2STR(BBI,2),' '))),COLORYELLOW;
{KDJ图像显示最上层:}
RSVA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KA:SMA(RSVA,3,1),COLORYELLOW,LINETHICK2;
DA:SMA(KA,3,1),COLORFF66CC,LINETHICK2;
JA:3*KA-2*DA,COLORFFDDAA,LINETHICK2;
- 上一篇公式:通达信捡死魚捞币币源码通达信主图贴图
- 下一篇公式:抄底公式的思路改编成逃顶公式