通达信主力资金进场关注副图指标 大笔出货提示 源码 附图

VA1:=100-3*SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VA2:=100-3*SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,65))/(HHV(HIGH,80)-LLV(LOW,65))*100,20,1),15,1);
VA3:=VA1<REF(VA2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VA3 AND COUNT(VA3,30)=1,15,'有大资金进 关注'),LINETHICK1,COLORFF00FF;
A:=WINNER(CLOSE+CLOSE*15/100)*100;
B:=WINNER(CLOSE+CLOSE*0/100)*100;
CC:=A-B;
D:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
E:=CC<3 AND D<0.5 AND OPEN!=LOW;
A1:=DYNAINFO(6);
A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));
A3:=VOL/WINNER(LOW);
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
A6:=100*(CLOSE-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
A11:=IF(FILTER(A8,3),5,0);
A12:=IF(FILTER(A10,3) OR E,10,0);
资金进场日:IF(A11>0,8,DRAWNULL),COLOR00FFFF,LINETHICK3,STICK;
资金加仓日:IF(A12>0,15,DRAWNULL),COLORFF00FF,LINETHICK4,STICK;
DRAWTEXT(A11,8,'资金进场');
DRAWTEXT(A12,17,'资金加仓');
VAR1:=(CLOSE*2+HIGH+LOW)/4*10;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=2*(VAR2-VAR3)*5.5;
主力:VAR4,COLORRED,LINETHICK2;
{0,COLORWHITE;}
VAR5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
VAR6:=EMA(3*VAR5-2*SMA(VAR5,18,1),5);
VAR7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
VAR8:=(INDEXC*2+INDEXH+INDEXL)/4;
VAR9:=EMA(VAR8,13)-EMA(VAR8,34);
VARA:=EMA(VAR9,3);
VARB:=(VAR9-VARA)/2;
{大盘资金:VARB,COLORGREEN,LINETHICK2;}
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VAR10:=(HIGH+LOW+CLOSE)/3;
VAR11:=(VAR10-MA(VAR10,14))/(0.015*AVEDEV(VAR10,14));
VAR12:=(VAR10-MA(VAR10,70))/(0.015*AVEDEV(VAR10,70));
VAR13:=IF(VAR11>=150 AND VAR11<200 AND VAR12>=150 AND VAR12<200,10,0);
VAR14:=IF(VAR11<=-150 AND VAR11>-200 AND VAR12<=-150 AND VAR12>-200,-10,VAR13);
VAR15:=(CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*100;
VAR16:=100-ABS(VAR15);
VAR17:=IF(VAR16<90,VAR16,100);
VAR1A:=IF(VARE>0,VARE,0);
VAR1B:=IF(VAR12>=200 AND VAR11>=150,15,IF(VAR12<=-200 AND VAR11<=-150,-15,VAR14))+60;
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR17<100;
DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,15,'大笔出货.缩量(低位)则洗.'),LINETHICK1,COLORFFCC66;
T1:(VA3 AND COUNT(VA3,30)=1)*28,COLORFFFFFF;
T:(COUNT(A8,30)>=3 AND COUNT(A10,30)>=3)*38,COLORBLUE;



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:DYNAINFO

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

VA1赋值:100-3*SMA((CLOSE-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1)+2*SMA(SMA((CLOSE-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1),15,1)
VA2赋值:100-3*SMA((OPEN-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1)+2*SMA(SMA((OPEN-65日内最低价最低值)/(80日内最高价最高值-65日内最低价最低值)*100,20,1),15,1)
VA3赋值:VA1<1日前的VA2 AND 成交量>1日前的成交量 AND CLOSE>1日前的CLOSE
DRAWTEXT(VA3 AND 统计30日满足VA3的天数=1,15,'有大资金进 关注'),LINETHICK1,COLORFF00FF
A赋值:CLOSE+CLOSE*15/100计算的获利盘比例*100
B赋值:CLOSE+CLOSE*0/100计算的获利盘比例*100
CC赋值:A-B
D赋值:(CLOSE-CLOSE*0.1/100计算的获利盘比例-WINNER(CLOSE-CLOSE*15/100))*100
E赋值:CC<3 AND D<0.5 AND OPEN!=最低价
A1:=DYNAINFO(6)
A2:=IF(最低价>A1,0,IF(最高价 A3:=成交量/最低价计算的获利盘比例
A4:=REF(120日内CLOSE最高值,1)
A5:=REF(120日内CLOSE最低值,1)
A6:=100*(CLOSE-A5)/(A4-A5)
A7:=A2>0 OR A2=1
A8:=A7 AND A3/3日前的A3>=3 AND A6<80
A9:=1日前的A8 OR 2日前的A8 OR 3日前的A8 OR 4日前的A8
A10:=A8 AND A9
A11:=IF(A8的3过滤,5,0)
A12:=IF(A10的3过滤 OR E,10,0)
如果A11>0返回8否则返回DRAWNULL
如果A12>0返回15否则返回DRAWNULL
当满足条件A11时,在8和'资金进场'位置书写文字
当满足条件A12时,在17和'资金加仓'位置书写文字
VAR1:=(CLOSE*2+最高价+最低价)/4*10
VAR2:=VAR1的13日指数移动平均-VAR1的34日指数移动平均
VAR3:=VAR2的5日指数移动平均
VAR4:=2*(VAR2-VAR3)*5.5
输出主力:VAR4,COLORRED,LINETHICK2
{0,COLORWHITE
} VAR5:=(8日内INDEXH最高值-INDEXC)/(8日内INDEXH最高值-8日内INDEXL最低值)*8
VAR5的18日[1日权重]移动平均
VAR7:=(INDEXC-8日内INDEXL最低值)/(8日内INDEXH最高值-8日内INDEXL最低值)*10
VAR8:=(INDEXC*2+INDEXH+INDEXL)/4
VAR9:=VAR8的13日指数移动平均-VAR8的34日指数移动平均
VARA赋值:VAR9的3日指数移动平均
VARB赋值:(VAR9-VARA)/2
输出{大盘资金:VARB,COLORGREEN,LINETHICK2
} VARE赋值:MA(100*(CLOSE-34日内CLOSE最低值)/(34日内最高价最高值-34日内最低价最低值),5)-20
VAR10:=(最高价+最低价+CLOSE)/3
VAR11:=(VAR10-VAR10的14日简单移动平均)/(0.015*AVEDEV(VAR10,14))
VAR12:=(VAR10-VAR10的70日简单移动平均)/(0.015*AVEDEV(VAR10,70))
如果VAR11>=150 AND VAR11<200 AND VAR12>=150 AND VAR12<200返回10否则返回0
如果VAR11<=-150 AND VAR11>-200 AND VAR12<=-150 AND VAR12>-200返回-10否则返回VAR13
VAR15:=(CLOSE-CLOSE的11日简单移动平均)/CLOSE的11日简单移动平均*100
VAR16:=100-VAR15的绝对值
如果VAR16<90返回VAR16否则返回100
如果VARE>0返回VARE否则返回0
VAR1B赋值:IF(VAR12>=200 AND VAR11>=150,15,IF(VAR12<=-200 AND VAR11<=-150,-15,VAR14))+60
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR17<100
DRAWTEXT(VAR1C AND 统计30日满足VAR1C的天数=1,15,'大笔出货.缩量(低位)则洗.'),LINETHICK1,COLORFFCC66
输出T1:(VA3 AND 统计30日满足VA3的天数=1)*28,COLORFFFFFF
输出T:(统计30日满足A8的天数>=3 AND 统计30日满足A10的天数>=3)*38,COLORBLUE

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

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