通达信如意金箍棒分时主图指标公式

[复制链接]
查看176 | 回复0 | 2021-8-20 20:27:57 | 显示全部楼层 |阅读模式

DI3:=DYNAINFO(3);
DI11:=DYNAINFO(11);
DI17:=DYNAINFO(17);
DI37:=DYNAINFO(37);
HQV1:=(COUNT(C>0,FROMOPEN)-1-MOD(COUNT(C>0,FROMOPEN)-1,10))/10+1;
HQV2:=LOG(SMA(SUM(DI37,FROMOPEN)*2400000/HQV1,3,1))-1;
LRV1:=IF(DI17>10,35,IF(DI17>5,25,IF(DI17>2.5,17,IF(DI17>1.5,11,IF(DI17>0.8,7,5)))));
LRV2:=IF(HQV2>4,36,IF(HQV2>3,245,IF(HQV2>2,15,IF(HQV2>1,9,6))));
LRV3:=(LRV1+LRV2)/2;
LRV4:=MAX(10*SQRT(ABS(DYNAINFO(17)))*SQRT(ABS(HQV2)),LRV3);
STICKLINE(CURRBARSCOUNT=5,MIN(ZTPRICE(REF(DI3,1),0.1),DI11*(1+LRV4/1000)),MAX(DTPRICE(REF(DI3,1),0.1),DI11*(1-LRV4/1000)),5,0),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=5,MIN(ZTPRICE(REF(DI3,1),0.1),DI11*(1+LRV3/1000)),MAX(DTPRICE(REF(DI3,1),0.1),DI11*(1-LRV3/1000)),5,0),COLORRED;

202108201306.jpg

202108201306.jpg

 

回复

使用道具 举报

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

本版积分规则