yhzdmb342 发表于 2023-4-22 00:29:07

通达信指标公式源码主力持仓透视副图指标




VAR2:=REF(LOW,1);

VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;

VAR4:=EMA(VAR3*10,3);

VAR5:=LLV(LOW,13);

VAR6:=HHV(VAR4,13);

VAR7:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618;

VAR8:=IF(VAR7>500,500,VAR7);

STICKLINE(VAR8>-120,0,VAR8,3,1),COLORLICYAN;

STICKLINE(VAR8>1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)
STICKLINE(VAR8>0.1 AND VAR8<1 AND "KDJ.J">REF("KDJ.J",1)AND REF("KDJ.J",1)
VAR1:=REF(LOW,1);

VAR2H:=(SMA(ABS(LOW-VAR1),13,1))/(SMA(MAX(LOW-VAR1,0),13,1))*4;

VAR3H:=EMA(VAR2H,13);

VAR4H:=LLV(LOW,34);

VAR5H:=EMA(IF(LOW<=VAR4H,VAR3H,0),3);

VAR6H:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR7H:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR8H:=VAR6HREF(VOL,1) AND CLOSE>REF(CLOSE,1);

STICKLINE(VAR8H AND COUNT(VAR8H,18)=1,0,18,8,0),COLORAA00BB;

STICKLINE(VAR8H AND COUNT(VAR8H,18)=1,0,18,8,0),COLORBB11BB;

STICKLINE(VAR8H AND COUNT(VAR8H,18)=1,0,18,5,0),COLORCC22BB;

STICKLINE(VAR8H AND COUNT(VAR8H,18)=1,0,18,3,0),COLORDD33BB;

STICKLINE(VAR8H AND COUNT(VAR8H,18)=1,0,18,1,0),COLOREE44BB;

DRAWTEXT(VAR8H AND COUNT(VAR8H,18)=1,18,'大资金进场'),COLOR0099FF;

DRAWTEXT(VAR8H AND COUNT(VAR8H,18)=1,12,'多数会涨'),COLOR0033FF;

AR1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1)*100;

出手必中:CROSS(AR1,REF(AR1+0.01,1)) AND LLV(AR1,2)=LLV(AR1,8) AND AR1<20;

MA5 :=EMA(CLOSE,5);

趋势:=MA5-EMA(MA5,2);

JCSJ1:=BARSLAST(CROSS(趋势,0))+1;

JCSJ2:=JCSJ1+REF(JCSJ1,JCSJ1);

双底:IF(JCSJ1=1 AND MA5>REF(MA5,JCSJ2) AND COUNT(趋势<0,4)>=2,1,0)*10,COLORRED;

DRAWTEXT (双底=10,10,'!出手必中'),COLORRED;

风险提示:本指标公式仅作为知识分享,不构成任何投资建议,不作投资依据。


神殇質陌路 发表于 2023-5-9 14:25:08

感谢!

佚独丶 发表于 2023-5-30 13:32:06

感谢!

岁不与我_ 发表于 2023-7-30 02:55:49

不知该说些什么。。。。。。就是谢谢

wyiime8983850 发表于 2023-8-12 09:56:33

我是为了获得花花!

淡淡的眼泪纳 发表于 2023-9-7 11:22:53

这个资源我有了,不过还是感谢楼主分享

再會 发表于 2023-11-17 17:37:06

感谢分享好资源

爷等累累w 发表于 2023-11-24 14:49:38

我是个凑数的。。。

小指微微凉何tz 发表于 2023-12-19 19:35:19

相当不错,感谢无私分享精神!

候离寻 发表于 2024-3-11 17:21:03

沙发!沙发!
页: [1] 2
查看完整版本: 通达信指标公式源码主力持仓透视副图指标