如意金箍棒分时主图 源码 通达信 贴图
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;
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
DI3赋值:DYNAINFO(3)
DI11赋值:均价
DI17赋值:DYNAINFO(17)
DI37:=DYNAINFO(37)
HQV1赋值:(统计FROM开盘价日满足C>0的天数-1-MOD(统计FROM开盘价日满足C>0的天数-1,10))/10+1
HQV2赋值:LOG(SMA(FROM开盘价的DI37日累和*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(DYNAINFO(17的绝对值))*SQRT(ABS(HQV2)),LRV3)
STICKLINE( 到最后交易的周期=5,MIN(ZTPRICE(1日前的DI3,0.1),DI11*(1+LRV4/1000)),MAX(DTPRICE(1日前的DI3,0.1),DI11*(1-LRV4/1000)),5,0),画黄色
STICKLINE( 到最后交易的周期=5,MIN(ZTPRICE(1日前的DI3,0.1),DI11*(1+LRV3/1000)),MAX(DTPRICE(1日前的DI3,0.1),DI11*(1-LRV3/1000)),5,0),画红色