股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 一个能看底部割肉资金底部资金进入的指标


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 11:53:25

以下是一个能看底部割肉资金底部资金进入的指标

一个能看底部割肉资金底部资金进入的指标
指标用到不知那位老师的原码,在此表示感谢!自己编的一个能看底部割肉资金底部资金进入的指标,看能否帮助到小散。上图:


N1:=10;N2:=3;N3:=6;
LXG入:=sum((bigorder(1,2)-bigorder(2,2))*amount,5)/sum(amount,5)>0.05;
LXG出:=sum((bigorder(1,2)-bigorder(2,2))*amount,5)/sum(amount,5)<-0.05;
当日成交:amount*LXG入/10000-amount*LXG出/10000,colorred,linethick0;
HS:=vol/capital;
DD:=(LXG入-LXG出);
DT:=HS*DD*100;
当日增减度:DT,colorgreen,linethick0;
LXG入1:=sum((bigorder(1,2)-bigorder(2,2))*amount,5)/sum(amount,5)>0.03;
LXG出1:=sum((bigorder(1,2)-bigorder(2,2))*amount,5)/sum(amount,5)<-0.03;
当日成交1:amount*LXG入1/10000-amount*LXG出1/10000,coloryellow,linethick0;
stickline(当日成交1>0,0,当日成交1,4,0),coloryellow;
stickline(当日成交1<0,当日成交1,0,4,0),colorblue;
stickline(当日成交>0,0,当日成交,4,0),colorred; {红柱}
stickline(当日成交<0,当日成交,0,4,0),colorgreen; {绿柱}
DD1:=(LXG入1-LXG出1);
DT1:=HS*DD1*100;
当日增减度1:DT1,colorblue,linethick0;

当日成交1:=(DT1*capital)*DYNAINFO(11)/10000;
买入手数1:=(capital*DT1)/100;
if (当日成交1>=0)then
begin
Str11:='主力净买入:'+NUMTOSTRN(当日成交1,3)+'万元,';
Str22:= '净买入:'+ NUMTOSTRN(买入手数1,0)+'手,';
Str33:= '当日增减度1:' + NUMTOSTRN(DT1,3);
end;
if 当日成交1<0 then
begin
Str11:='主力净卖出:'+ NUMTOSTRN(当日成交1,3)+'万元,';
Str22:='净卖出:'+NUMTOSTRN(买入手数1,0)+'手,';
Str33:='当日增减度1:'+NUMTOSTRN(DT1,3);
end;
DRAWFLAGTEXT(DT1>=0,当日成交1,Str11+str22+str33),COLORyellow;
DRAWFLAGTEXT(DT1<0,当日成交1,Str11+str22+str33),COLORblue;

QJJ:=(VOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));
XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSE<OPEN),(QJJ*((HIGH-OPEN)+(CLOSE-LOW))),(VOL/2)))+IF((CLOSE>OPEN),(0-(QJJ*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE<OPEN),(0-(QJJ*(HIGH-LOW))),(0-(VOL/2)))));
HSL:=((XVL/40)/1.15);
主买:=SUM(HSL,N1);
主卖:=EMA(主买,N3);
量柱:主买-主卖,colorWhite,linethick1;
STICKLINE((主买>=主卖),主买,主卖,8,1),COLORFF00FF,LINETHICK2;
STICKLINE((主买<主卖),主买,主卖,8,1),COLORFFFF00,LINETHICK2;

MACD2:=(EMA(CLOSE,30)-REF(EMA(CLOSE,30),1))/REF(EMA(CLOSE,30),1)*100;
DIFF2:=EMA(SUM(MACD2,2),5);
DEA2:=MA(DIFF2,5);

MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN ;

DRAWICON(CROSS( 量柱,0) and COUNT(当日成交1=0,5)=5 and COUNT(C<REF(C,1),5)>=4,0+2,1),ALIGN1;
DRAWICON((CROSS( 量柱,0) OR (量柱>0 and 量柱>REF(量柱,1))) and REF(COUNT(当日成交1<0,7)=7,1) and 当日成交1=0,0+2,9),ALIGN1;
DRAWICON((REF(COUNT(当日成交1=0,5)=5,1) and 当日成交1<0 and ((REF(主买>=主卖,1))
OR (主买>=主卖))) OR (CROSS( 量柱,0) and REF(COUNT(当日成交1=0,10)=10,1)
and 当日成交1<0) OR (REF(量柱>0,1) and 量柱>0 and DIFF2<0 and REF(DIFF2,1)>REF(DIFF2,2) and DIFF2>REF(DIFF2,1) and 当日成交1<0 and REF(当日成交1=0,1)),0+2,5),ALIGN1;
DRAWICON(((REF(MACD2<0,1) and MACD2>0) OR (CROSS(DIFF2,DEA2)) OR (REF(CROSS(DIFF2,DEA2),1))) and 当日成交1>0,0+2,7),ALIGN1;
DRAWICON((当日成交1>0 and 一穿三) OR (CROSS( 量柱,0) and REF(COUNT(当日成交1=0,5)=5,1) and 一穿三),0+2,7),ALIGN1;
DRAWICON((CROSS( 量柱,0) OR (量柱>0 and 量柱>REF(量柱,1) and MACD2>0 and MACD2<0.33)) and 当日成交1>0 and MACD2>0 and MACD2<0.6,0+2,7),ALIGN1;
DRAWICON(CROSS( 量柱,0) and REF(当日成交1=0,1) and 当日成交1<0,0+2,11),ALIGN1;
DRAWICON((CROSS( 0,量柱) OR (量柱<REF(量柱,1) and C>=REF(C,1))) and ((COUNT(当日成交>0,3)>=1) OR (COUNT(当日成交1>0,3)>=1)),0+2,8),ALIGN1;
0,DOTLINE,COLORRED;




青色箭头标示处在相对底部出现绿、蓝柱消失后割肉资金流出完毕,转为上升,黄色箭头标示处在相对底部出现红或黄色柱底部资金进入,白色箭头标示处股价在高位顶部来临!
大志慧收费帐号或有新游客老师的小蓝笔都能看到有无既时资金进出。
以下随机上两张图:






回复

举报

QQ|

GMT+8, 2024-11-18 20:47

快速回复 返回顶部 返回列表