通达信专捉主力挖坑股副图指标公式源码

[复制链接]
查看80 | 回复0 | 2021-8-26 21:35:07 | 显示全部楼层 |阅读模式

以下是通达信专捉主力挖坑股副图指标公式源码(无源码的请下载附件导入)

STICKLINE(C>0,90,95,10,0),COLOR8000FF;{风险控制}
STICKLINE(C>0,10,5,10,0),COLOR8000FF;
HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));
STICKLINE(C>0,90,10,10,0),COLOR000000;
风险值:HDY,COLORFFFFFF,LINETHICK1;
警示线:45,COLORMAGENTA,LINETHICK1,POINTDOT;{专捉“主力挖坑股”}
VAR1:=MA(HHV(HIGH,485),17);
VAR2:=MA(HHV(HIGH,222),17);
VAR3:=MA(HHV(HIGH,96),17);
VAR4:=MA(LLV(LOW,485),17);
VAR5:=MA(LLV(LOW,222),17);
VAR6:=MA(LLV(LOW,96),17);
VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)
/6,17); DRAWTEXT_FIX(C>O,0.01,0.01,0,'
VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17);
VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17);
VARA:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17);
VARB:=IF(DATE<=1341231,VARA,VARA*DAY);
VARC:=LOW;
VARD:=REF(LOW,1);
VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),3,1)*100;
VARF:=MA(IF(CLOSE*1.35<=VARB,VARE*10,VARE/10),3);
VAR10:=LLV(LOW,30);
VAR11:=HHV(VARF,30);
VAR12:=1341231;
TJ:=IF(DATE<=VAR12,MA(IF(LOW<=VAR10,(VARF+VAR11*2)/2,0),3),100000000);
挖坑:(REF(TJ,2)>REF(TJ,3)AND TJ<REF(TJ,1))*80;

1440366393.png

1440366393.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则